Rockbox Technical Forums

Rockbox General => Rockbox General Discussion => Topic started by: slybevel on June 08, 2008, 01:31:10 AM

Title: Playlists for files on MicroSD don't play Sansae280
Post by: slybevel on June 08, 2008, 01:31:10 AM
So yeah. I've got a 2GB card that the device sees fine when I boot to OF. I can load files from there, and the card is nearly full of them.

I used TDT (from my iRiver 140 days) to create playlists of the folders with the mp3s in them, and put the playlists in the Playlists folder.

But when I go to my Playlist catalog and select lists that refer to files on the card, they don't work. Am I creating them wrong?

Creating them with WinAmp isn't working either.

I did RTFM, but I only found references to creating playlists from within RB there. I want to create them on my PC.
Title: Re: Playlists for files on MicroSD don't play Sansae280
Post by: bascule on June 08, 2008, 03:27:47 AM
Can you create playlists using TDT for folders in the main memory that work?
Does your application create standard .m3u playlist files?

I would guess, unless playlists created by TDT work everywhere else, that it's the application that is the problem, not the playlist location.

To test, you could create a playlist using Rockbox itself, move it to the SD card and see if it works OK from there.
Title: Re: Playlists for files on MicroSD don't play Sansae280
Post by: slybevel on June 08, 2008, 09:25:52 AM
Can you create playlists using TDT for folders in the main memory that work?
Does your application create standard .m3u playlist files?


Yes, and Yes.

Playlists that I create in TDT and WinAmp that reference files on the Sansa's main memory work fine. Playlists that reference files on the MicroSD don't work.
Title: Re: Playlists for files on MicroSD don't play Sansae280
Post by: Febs on June 08, 2008, 10:13:52 AM
The issue is most likely that the path the computer sees to the MicroSD card in your Sansa is f:\yourfiles (or whatever drive letter Windows assigns to your player), while the path that Rockbox sees is \<microsd1>\yourfiles.  I'm not sure if there is any workaround at this time other than to open your playlists in a text editor and do a global search and replace to include \<microsd1> in the path for files on the MicroSD card.
Title: Re: Playlists for files on MicroSD don't play Sansae280
Post by: robin0800 on June 08, 2008, 01:10:22 PM
The only workaround I know of is to let rockbox create the Playlist using the context menu you can then rename and save.

I've raised a feature request for third party playlist support on microsd cards

http://www.rockbox.org/tracker/task/8883?pagenum=2
Title: Re: Playlists for files on MicroSD don't play Sansae280
Post by: slybevel on June 08, 2008, 03:53:04 PM
open your playlists in a text editor and do a global search and replace to include \<microsd1> in the path for files on the MicroSD card.

Yes. That almost works. For those searching this in the future, the string is case sensitive, and it must read: \<microSD1>

Open it in Word, F5 for a Find and Replace, type in whatever string you need to, and make the lines look like this:

\<microSD1>\ContainingFolderOnYourCard\AlbumNameFolder\TuneName.mp3

  ^DriveID^           ^Folder^                     ^Folder^              ^File^   

Not so bad once you get the right stuff in the right places, and in the right format.

Thanks for your help guys, and I really hope that they make this easier.

**Any chance we could get this dropped into the Sansa FAQ? Like I said, I RTFM'd, and it would really have been nice if this had been there when I looked.**
Title: Re: Playlists for files on MicroSD don't play Sansae280
Post by: MarcGuay on June 08, 2008, 05:13:12 PM
**Any chance we could get this dropped into the Sansa FAQ? Like I said, I RTFM'd, and it would really have been nice if this had been there when I looked.**

It's a wiki, go ahead and change it.