1. Download our Official Android App: Forums for Android!

Tips Sync'ing Music and Playlists on Galaxy S3

Discussion in 'Android Devices' started by rafian, Jul 16, 2012.

  1. rafian

    rafian Member
    Thread Starter
    Jul 9, 2012

    Jul 9, 2012

    I was frustrated sync'ing music and playlists on Galaxy S3. Basically I wanted to simply copy all my music folders and playlists to Galaxy S3. And then do the same incrementally thru some kinda automation tools. It's usually one-way sync since I don't make any changes on the Phone (like creating playlists). Occasionally though, I have my friends push music to my phone. I make it a point to copy that to my PC the next time I connect my phone to my PC.

    After couple of days of reading and actually trying to setup my phone with music and playlists, I figured that the fastest way to sync music and playlists reliably is to do the creation, setup and sync manually. Since I am a hard core geeky coder I find it easy to by-pass the Kies software.

    - If you're not familiar with using the command prompt, MP3Tag tool, editing text files using macros, etc., you might find this process extremely cumbersome. Better stop reading!
    - The steps listed in this post are intented for a user to create playlists, copy music and playlists to the phone, evolve a process (with the help of tools/code/scripts) that works for him/her from scratch. If you have your music and stuff already on your phone do not follow these steps unless you really want to start fresh - read: setup music all over again.
    - Read the whole post before executing any of the steps
    - I am not responsible for any damages caused to you or your phone by following some or all of the steps below
    - I have tried this only with my phone - Galaxy S3 International version with stock OS and Apps.

    Knowing well that Kies doesn't allow you to sync playlists to the Galaxy S3, it is best to copy the playlists to the phone manually. The rest of this post will guide you in doing that and much more.

    Step-by-step process:

    1. Ready your music folder:
    It is best to have one music folder consisting of your complete music repository. It could have folders based on Albums, Artists, etc., It is best to keep just music files (mp3 for example) in these folders.

    2. Create sample list of files that you would like to be your playlist:
    Galaxy S3 stock music player supports playlists in m3u format. It is a simple plain-text file format. Assuming you've a bunch of music files that must go into a playlist:
    - Open a Command prompt window (Start -> Run -> Cmd.exe)
    - Navigate to the folder where your music files are
    - Run the dir command: dir /OD /B > <my_music_folder>\playlist-1.m3u
    - In the above dir command stick in the path of your main music (top-level) folder in place of <my_music_folder>
    - Open playlist-1.m3u. You will see the list of mp3 files that you intend to have in your playlist
    - You could also create listing based on wild-cards like: dir MJ*.mp3 /OD /B > <my_music_folder>\playlist-1.m3u
    - The above command will write the list of files starting with MJ to playlist-1.m3u
    - Alternatively you could use MP3Tag tool (it's free and it works great) that let's you sort the files by tags of your choice and export the list of files on customized templates. I used MP3Tag to create the list of files that eventually transform into playlists - read on to see how.

    3. Create playlist file:
    - Open playlist-1.m3u
    - Ensure that the files are listed in the following format:
    /mnt/sdcard/media/<music-sub-folder>/Track 1.mp3
    /mnt/sdcard/media/<music-sub-folder>/Track 2.mp3
    /mnt/sdcard/media/<music-sub-folder>/Track 3.mp3
    - You will have to insert #EXTM3U in the first line of the file. Elsewhere on the net I read that this is optional. But on my Galaxy S3 (intl. version) the stock music player ignores the first line if I have a track listed on the first line instead of #EXTM3U. That causes it to skip the first listed track.
    - <music-sub-folder> = this is the path to the music folder under which you have your music files. For example: If on my PC the path looks like: D:\All-My-Music\Albums\Album-1\Track 1.mp3
    I'll have /mnt/sdcard/media/Albums/Album-1/Track 1.mp3 in the playlist file.
    - Once you're done creating the file consisting of the list of files in the format specified above, save the file in UTF-8 format. This is *****very very***** important. The stock music player is unable to read playlist files saved in other formats. UTF-8 allows the system to support all languages (all characters and not just the basic ASCII characters). All standard editors allow you to save files in UTF-8 format.
    - I suggest that you save your playlist file under the top-level music folder. Under D:\All-My-Music for example.

    4. Copy music and playlists to the phone:
    - This is the easy part with just one quirk. First delete all existing playlists from your phone. This is not mandatory but if you plan to follow just one method to sync your music and playlists, it is best to delete the playlists that were probably created in a different way. If you don't follow this step you might notice the quirks - creation of strange duplicate playlists.
    - You will have to delete the existing playlists in the phone. Run the stock music player on the phone. Click on Playlists -> Press and hold each playlist for a second -> From the pop-up menu select Delete.
    - Connect your phone to the PC (if it's not connected already)
    - Open windows explorer
    - Open the Phone folder (device)
    - When I connect my phone to my PC I am able to navigate to Computer\GT-I9300\Phone\media. I don't have an external SD card. I am using the stock 16 GB internal memory. Note: If you've external SD card installed you might have to navigate to a different folder.
    - In the first point above I told you to delete your existing playlists in the phone - the reason being - for some strange reason a) I was not able to see some of the playlist files thru Windows explorer b) Even when I was able to see the playlist files in windows explorer, deleting them via my PC really didn't work. I believe there's some caching going on (perhaps a copy of the playlists are stored elsewhere in the phone that is not visible in Windows explorer)
    - Final step: Copy your entire music folder to the phone via Windows explorer. Based on the examples provided above, this would mean copying D:\All-My-Music\*.* to Computer\GT-I9300\Phone\media

    Safely disconnect your phone from the PC. You should see all your music and playlists on your phone.

    - I understand that this is not the most elegant way to sync your music with your Galaxy S3. But if you're a developer or a person really good at doing things thru the backdoor, it could help you find the right tools to implement the steps listed in this post. I've automated most of it except deleting playlists manually on the phone. I am currently researching to find out how the phone is storing the playlists internally - that is preventing me to delete/edit playlists via my PC. If you happen to have technical information in this area please share pronto.
    - While you're browsing your music files using Windows Explorer, check if you have xxxx.mp3.dup0 files. These are duplicate mp3 files that the music player/android creates in some situations. I found all my music files duplicated (the very first time I browsed the music folder). You know what that means? I'd 5GB of music and guess what? It was consuming 10GB of storage space. Crazy! Who's that developer who merrily wrote the code to create duplicate copies of music files? Hope they didn't do that for video/picture files. You might wanna delete the duplicate music files (if any) to recover lost storage space.
    - The advantages of doing the music sync in your own customized way thru Windows explorer / tools / code / scripts are as follows:
    - Complete control of music repository and playlists
    - Copying file to the phone is super fast (Windows explorer treats the phone as a USB pen drive)
    - No need to run Kies
    - Migrating playlists from other players possible thru scripting (hey you know what's under the hood)
    - Have fun doing it your way
    - Some learning...
    - It's a long post, if you find any errors, please don't beat me up but do point out.


  2. gweff

    gweff Newbie
    Dec 6, 2010

    Dec 6, 2010
    Just use Mediamonkey to organize your media. It is the best for large collections. I use it to find duplicates, tag and put album art on every file. Create your playlists and then use "autosync playlist" to transfer to your GS3. Your stock player will find the playlists and you are done. You don't have to make it this complicated.

Share This Page