Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Rockbox 3.8 and Sansa Clip+: Playlists problem
« previous next »
  • Print
Pages: [1]

Author Topic: Rockbox 3.8 and Sansa Clip+: Playlists problem  (Read 5260 times)

Offline Nick Charles

  • Member
  • *
  • Posts: 4
Rockbox 3.8 and Sansa Clip+: Playlists problem
« on: February 28, 2011, 05:17:19 AM »
Hi,

I'm a Rockbox user on a Sandisk Sansa Clip+ 8GB + Transcend microSDHC Card class 2 16GB.

I have installed Rockbox 3.8 that fix some bugs of the earlier version, particularly with regard to the microSD card 16gb which was not recognized.

I would like to inform you that remains some bugs about playlists:

1) the playlists on the player's internal memory are recognized only if I browse the files of the memory (and the included songs plays regularly), but not in the Rockbox playlist directory;

2) the same happens with the playlists on the microSD card, but the included songs don't play.

Excuse me for my bad english and thanks for your excellent firmware.


Nick Charles
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Rockbox 3.8 and Sansa Clip+: Playlists problem
« Reply #1 on: February 28, 2011, 01:00:02 PM »
Quote from: Nick Charles on February 28, 2011, 05:17:19 AM
1) the playlists on the player's internal memory are recognized only if I browse the files of the memory (and the included songs plays regularly), but not in the Rockbox playlist directory;

I think this is by design.  Check out the manual entry:

http://download.rockbox.org/daily/manual/rockbox-sansafuzev2/rockbox-buildch4.html#x7-660004.4.2

Quote from: Nick Charles on February 28, 2011, 05:17:19 AM
2) the same happens with the playlists on the microSD card, but the included songs don't play.

Are the paths correct in the playlist files?
Logged

Offline Nick Charles

  • Member
  • *
  • Posts: 4
Re: Rockbox 3.8 and Sansa Clip+: Playlists problem
« Reply #2 on: February 28, 2011, 01:11:33 PM »
Quote
Quote from: Nick Charles on February 28, 2011, 05:17:19 AM
2) the same happens with the playlists on the microSD card, but the included songs don't play.

Are the paths correct in the playlist files?

Yes, the playlists are generated by MediaMonkey in m3u and placed in the "Playlists" directory of the microSD card while the player is plugged to PC in MSC mode.

I have tried to placed playlists too in "Music" and in root directory of the microSD card, but without  results.
« Last Edit: February 28, 2011, 01:14:52 PM by Nick Charles »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Rockbox 3.8 and Sansa Clip+: Playlists problem
« Reply #3 on: February 28, 2011, 01:16:15 PM »
Quote from: Nick Charles on February 28, 2011, 01:11:33 PM
Yes, the playlists are generated by MediaMonkey in m3u and placed in the "Playlists" directory of the microSD card while the player is plugged to PC in MSC mode.

So you made a playlist directory on the SD card, and then copied the playlist files there.  Did you check that the paths are correct for the new directory?  Can you post the path to an example file here?
Logged

Offline Nick Charles

  • Member
  • *
  • Posts: 4
Re: Rockbox 3.8 and Sansa Clip+: Playlists problem
« Reply #4 on: February 28, 2011, 01:34:37 PM »
Quote
So you made a playlist directory on the SD card, and then copied the playlist files there.  Did you check that the paths are correct for the new directory?  Can you post the path to an example file here?

For example, if I create with MediaMonkey the playlist "AIR" with 2 songs, when the software synchronize it, the songs are stored in the "MUSIC" directory and the playlist is stored in the "PLAYLISTS" directory, both in the microSD card; the paths in the playlist - open with Notepad - are:

\Music\AIR\Moon Safari\La femme d'argent.m4a
\Music\AIR\Moon Safari\Kelly Watch the Stars.m4a
 
With the same system, playlists and songs are correctly store in the player's internal memory and are recognized browsing the files of this memory, but on the microSD card the playlist appears only for a moment and then disappears and doesn't work.
« Last Edit: February 28, 2011, 01:43:38 PM by Nick Charles »
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Rockbox 3.8 and Sansa Clip+: Playlists problem
« Reply #5 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.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline Nick Charles

  • Member
  • *
  • Posts: 4
Re: Rockbox 3.8 and Sansa Clip+: Playlists problem
« Reply #6 on: February 28, 2011, 02:34:13 PM »
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.

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.
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Rockbox 3.8 and Sansa Clip+: Playlists problem
« Reply #7 on: February 28, 2011, 06:39:33 PM »
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
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Rockbox 3.8 and Sansa Clip+: Playlists problem
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.39 seconds with 15 queries.