android
Prev Previous Post   Next Post Next
  #22  
Old 07-06-2010, 03:20 AM
J3espada J3espada is offline
Junior Member
 
Join Date: Jul 2010
Posts: 1
Default Simplistic approach to Playlists fromLinux

I've tried using both windows media player and most of the linux varieties as well, to try and create playlists on my Sansa Fuze. Finally got so irritated with the problem that I looked into how to do playlists with your every day text editor. I use "vi" and the "unix2dos" utility. Simplistic but it works. On my SD card I found a directory labeled "MUSIC" and under it a second tier of directories including "Music" and "Playlists". In the "Playlists" directory for each playlist I wanted I had to put two files: playlist_name.pla and playlist_name.pla.refs

The first is an empty file. On linux make it using the standard utility "touch", i.e. cd to the Playlists subdir and "touch playlist_name.pla".

for example "touch eurythmics.pla" to make a playlist of eurythmics songs. Then on my host computer I made the file "eurythmics.pla.refs", ran the utility "unix2dos" on it and then copied it to the "Playlists" directory.



My current "eurythmics.pla.refs" file is:

/mmc:1:/MUSIC/Music/Eurythmics/Eurythmics-babys_coming_back.mp3
/mmc:1:/MUSIC/Music/Eurythmics/eurythmics-here_comes_the_rain_again.mp3
/mmc:1:/MUSIC/Music/Eurythmics/eurythmics-love_is_a_stranger.mp3
/mmc:1:/MUSIC/Music/Eurythmics/eurythmics-the_king_and_queen_of_america.mp3
/mmc:1:/MUSIC/Music/Eurythmics/eurythmics-who_s_that_girl.mp3
/mmc:1:/MUSIC/Music/Eurythmics/eurythmics-dreams_are_made_of_this.mp3
/mmc:1:/MUSIC/Music/Eurythmics/eurythmics-i_need_a_man.mp3
/mmc:1:/MUSIC/Music/Eurythmics/eurythmics-missionary_man.mp3
/mmc:1:/MUSIC/Music/Eurythmics/eurythmics-when_tomorrow_comes.mp3
/mmc:1:/MUSIC/Music/Eurythmics/eurythmics-would_i_lie_to_you.mp3

Each of these lines is a hard coded path to the mp3 file that I would want played. In this forum's display they may have been broken in order to fit.
NOTE that "mmc:1" refers to the sd card. "/mmc:0:" would refer to the fuze's main memory.
And that was pretty much it. Very simple. I believe but haven't tested the theory that the path names can handle embedded blanks. Don't much like blanks in general because they screw up a lot of file search and sorting. YMMV.



best regards
Reply With Quote

 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 08:34 AM.