This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#10403 - Random Folder Advance playlist generation
Attached to Project:
Rockbox
Opened by Frank Gevaerts (fg) - Wednesday, 01 July 2009, 00:02 GMT+2
Last edited by Frank Gevaerts (fg) - Wednesday, 01 July 2009, 19:00 GMT+2
Opened by Frank Gevaerts (fg) - Wednesday, 01 July 2009, 00:02 GMT+2
Last edited by Frank Gevaerts (fg) - Wednesday, 01 July 2009, 19:00 GMT+2
|
DetailsThis patch adds a "Play Shuffled" menu item to random_folder_advance_config, which adds all configured configured directories to the current playlist in random order (tracks within a directory remain in "normal" order)
It somewhat works: - Sometimes a proper playlist control file is generated, and "resume playback" will start this big random-folder playlist - Sometimes the player freezes after exiting the plugin - Sometimes "resume playback" complains about a corrupt playlist control file - In the cases where it works, the previous playlist isn't always cleared, and playback doesn't start at the beginning. Further help is welcome :) |
This task depends upon
Closed by Frank Gevaerts (fg)
Wednesday, 01 July 2009, 19:00 GMT+2
Reason for closing: Accepted
Additional comments about closing: committed as r21594
Wednesday, 01 July 2009, 19:00 GMT+2
Reason for closing: Accepted
Additional comments about closing: committed as r21594
(going by memory here...)
shouldnt you do playlist_new() or_create() or whatever its called instead of remove_all_tracks()? also you arn't stopping playback.. and thikning baout all that, all those "someetimes" make sense. depends on what playlist_remove_all_tracks(NULL) does it might very well leave you with a busted control file and/or resume info in global_status.
The new menu item is now also documented in the manual.