Support and General Use > Audio Playback, Database and Playlists

creating a simple dynamic playlist

<< < (5/5)

jks:

--- Quote from: jks on August 24, 2014, 12:30:50 AM ---

This isn't working for me.  I just installed Rockbox on a Clip Zip (with the installer).  When I get to the Create Playlist option instead of creating the playlist in root.m3u8 like it used to I'm taken to the virtual keyboard.  When I hold down the center button to accept the filename I'm returned to the menu.  An empty playlist file has been created in the filesystem, I assume because Rockbox is trying to save the current playlist.  What I want is the old behaviour that lets me create a playlist of all files on the device.

--- End quote ---

I figured out why this isn't working for me anymore.  In tree.c:

 
--- Code: ---  if (tc.currdir[1])
        snprintf(filename, sizeof filename, "%s.m3u8", tc.currdir);
    else
        snprintf(filename, sizeof filename, "%s/all.m3u8",
                catalog_get_directory());
--- End code ---

I'm guessing that it used to be that the Create Playlist would be accessed from the main menu and tc.currdir wasn't set to anything, but now the Playlists menu item sets c.currdir to the Playlists directory because that is where playlists are stored now.  So now instead of putting all tracks into all.m3u8 it creates an empty file (since there aren't any files under the Playlists directory).

I'd post this in the bug tracker but it isn't working right now.

Navigation

[0] Message Index

[*] Previous page

Go to full version