Reply
Newbie
Posts: 1
Registered: ‎03-02-2008

HOWTO: Creating m3u Playlists using easyTAG on Linux

After some trial and error I finally got my Sansa Clip to recognize playlists (m3u). I did this using EasyTAG on a Debian box. The EasyTAG version used was the one which ships with Debian Unstable.

Thought I would document it here for someone who might need it.

Steps I've followed:
1. Connect the Clip to the PC in MSC mode(this is default in Linux).
2. Open EasyTAG and browse to the music folder of the Clip. In my case it was /media/SANSA M340/MUSIC. ( I had just one folder under MUSIC and it was named 'Running Assorted' and it contained all my music files). Your music collection should show up in the midle pane.
3. Select the Files you want to create into a playlist in the middle pane of EasyTAG. (You can also make ID3 tag changes to the music files if you want)
4. Once selected, Click on the 'Write Playlist' icon in the toolbar (third from right).
5. The 'Generate A Playlist' window should now pop-up. This is the important part , ensure the choices you make here are similar to mine.
5a. M3U Playlist Name : Choose "Use mask" and give it a name. Example: "test" ( no need for file extension)
5b. Playlist Options: Ensure "Include only the selected files" is selected.
5c. Ensure "Use relative path for files in playlist" is selected.
5d. Ensure "Create playlist in the parent directory" is selected.
5e. Ensure "Use DOS directory selector" is selected.
5e. Playlist Content: Select "Write info using filename".
6. Click on "Save" button.
7. You should now have a playlist file named test.m3u in the MUSIC folder.
8. Unmount the device and check if the playlist is showing up now.

NOTE: Sometimes the 'Refresh Database..' doesnt work and the playlist might not show-up. Ensure that a DB refresh happens when you disconnect from the PC.

EasyTAG is available as Free Software for Linux and Windows (http://easytag.sourceforge.net/) . I haven't tested on windows. If you have anything to add please do so..
Newbie
Posts: 1
Registered: ‎07-10-2008

Re: HOWTO: Creating m3u Playlists using easyTAG on Linux

Great!I was afraid I would be unable to add playlists since I am using ubuntu.
Newbie
Posts: 4
Registered: ‎01-06-2009

Re: HOWTO: Creating m3u Playlists using easyTAG on Linux

It's possible to re-edit a playlis without re-selecting all the file and doing a new playlis?
Newbie
Posts: 5
Registered: ‎02-22-2009

Re: HOWTO: Creating m3u Playlists using easyTAG on Linux

Found your post, attempted and the .m3u wrote just fine, relative paths used,  '\' was used, and emacs recognized the file as a DOS file (i.e. CRLFs).  However, when I disconnected and had the DB refreshed, the playlist file, yes, was found but when I entered the playlist and saw my list of files, they would not play.

 

 

Suggestions?

 

--GPenguin

Newbie
Posts: 5
Registered: ‎02-22-2009

Re: HOWTO: Creating m3u Playlists using easyTAG on Linux

Replying to my own post.  I still don't know why it won't work, but here is something that *does* work.  Put the .m3u file in the same directory as the files.  That way when the .m3u file is created using easyTag, there will be no path information.

 

For some reason my Sansa Clip 4G Firmware 01.01.18A does not like path information.  If anyone has ideas, I'd love to hear them.  For now, I'll have to organize my songs into folders and create the .m3u file per directory.

 

--GPenguin

Newbie
Posts: 5
Registered: ‎02-22-2009

Re: HOWTO: Creating m3u Playlists using easyTAG on Linux

**** SOLVED ****

 

I just upgraded my firmware from .18A to .30A and now playlists work just fine.  So upgrade and enjoy!

 

--GPenguin

 

Newbie
Posts: 1
Registered: ‎04-25-2009

Re: HOWTO: Creating m3u Playlists using easyTAG on Linux

 

thanks, i was looking for something with a GUI to make playlists... 

works great with intrepid & slitaz 

Newbie
Posts: 1
Registered: ‎11-10-2009

Re: HOWTO: Creating m3u Playlists using easyTAG on Linux

This worked for me! I would just like to add that I right-clicked the files after selecting them, and selected the ascending sort on the track numbers. This makes the songs play in the proper order.
Highlighted
Newbie
Posts: 19
Registered: ‎10-22-2008

A pictorial representation of OP's textual instructions.

[ Edited ]

For those who want a screenshot of topa's (OP) advice...

 

Message Edited by ginger on 12-09-2009 01:19 AM
SanDisk User
Posts: 26
Registered: ‎04-18-2011

Ordering the playlist

Indeed I was able to create a playlist using this method.  However, I couldn't figure out how to use EasyTag to reorder the playlist or to select tracks from different directories.  EasyTag seems to want to show the contents of exactly one directory in the middle pane.  I worked around this by creating a playlist that included everything I wanted and then stripped it down and rearranged it using a text editor, but that was laborious compared with a GUI that permits reordering and selection.

 

I didn't get the playlist right the first time, so I had to recreate it a couple of times.  Although the directory listing for the Clip showed just one playlist in the root, the device itself had several copies of that playlist including some empty ones.  Is there a way to get rid of the extraneous playlists?  The obvious method of removing them from the Clip's root directory under Linux doesn't seem to work, since for some reason they don't show up there.