Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bugs
  • Category Playlists
  • Assigned To No-one
  • Operating System All players
  • Severity Medium
  • Priority Very Low
  • Reported Version Release 3.13
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Joseph Shraibman - 2014-08-25
Last edited by Willliam W - 2019-08-17

FS#12992 - Can't create playlist with all tracks on device (regression)

When I go into the Playlists menu and select Create Playlist instead of creating a playlist file with all tracks on the device like it used to it creates and empty Playlists.m3u8 file. The problem seems to be in tree.c:

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

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 audio files under the Playlists directory).

Closed by  Willliam W
2019-08-17 11:37
Reason for closing:  Fixed
Additional comments about closing:  

fixed in DEV version fd19a2c

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing