Rockbox General > Rockbox General Discussion

Rockbox 3.8 and Sansa Clip+: Playlists problem

<< < (2/2)

Chronon:
Yes, but the microSD card gets mounted to /<microSD1>/ in Rockbox.  If the path in the playlist does not contain this Rockbox will not look in the microSD card for the files.

It occurs to me that simply searching both / and /<microSD1>/ for paths in playlists could help avoid this.

Nick Charles:

--- Quote from: Chronon on February 28, 2011, 01:41:50 PM ---Yes, but the microSD card gets mounted to /<microSD1>/ in Rockbox.  If the path in the playlist does not contain this Rockbox will not look in the microSD card for the files.

It occurs to me that simply searching both / and /<microSD1>/ for paths in playlists could help avoid this.

--- End quote ---

In this way it works.

The problem is that MediaMonkey doesn't allows to enter automatically /<microSD1>/ in the writing of the playlists so I have to enter it manually in each line after the playlist is generated and this is very difficult.

Thanks for your support.

Chronon:
Look for a program that will allow you to insert text at the beginning of each line.  Find/replace in a text editor should get you close, but will require some cleaning afterward (I'm imagining finding the newline character and replacing with newline + mountpoint).

Sed could do what you want.  See this page for an example that you can tweak to your intended use (line 96): http://sed.sourceforge.net/sed1line.txt

I think you can install a windows port of sed here: http://gnuwin32.sourceforge.net/packages/sed.htm

Navigation

[0] Message Index

[*] Previous page

Go to full version