Rockbox

Tasklist

FS#9456 - Remove Repeat:Shuffle option and always reshuffle when Shuffle:Yes and Repeat:All

Attached to Project: Rockbox
Opened by William Poetra Yoga Hadisoeseno (wpyh) - Sunday, 05 October 2008, 04:28 GMT
Task Type Patches
Category Playlists
Status Unconfirmed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

This patch removes the Repeat:Shuffle setting, and always reshuffles the playlist when Shuffle is set to yes and Repeat is set to All.

The rationale behind this is that a user would rarely want to shuffle the playlist the first time only and always repeat the same sequence afterwards. Rather, one would either play the playlist in order and repeat in the same order, or shuffle the playlist first and always reshuffle.

Setting combinations affected:
- Shuffle:Yes && Repeat:All
before: shuffle the playlist but repeats the same sequence
after: shuffle the playlist and reshuffles when the end is reached
- Shuffle:Yes && Repeat:Shuffle
before: shuffle the playlist and reshuffles when the end is reached
after: this combination is replaced by Shuffle:Yes && Repeat:All
- Shuffle:No && Repeat:Shuffle
before: reshuffle when the end is reached
after: rarely used combination, not available anymore
All other combinations are not affected.

The patch contains some comment fixes and some code simplification as well. We also have to handle a special case in the patch.
This task depends upon

Comment by William Poetra Yoga Hadisoeseno (wpyh) - Friday, 10 October 2008, 18:16 GMT
Sorry, the previous patch doesn't apply cleany. Please try this new patch.
Comment by Jonathan Gordon (jdgordon) - Friday, 31 October 2008, 06:21 GMT
patch applies but doesnt compile
Comment by William Poetra Yoga Hadisoeseno (wpyh) - Thursday, 25 December 2008, 14:25 GMT
This is a new patch sync'ed to the latest svn, and I removed a code change that tests for CONFIG_CODEC.

jdgordon: Sorry for not updating the status. The patch compiles cleanly on my side. Could you please try the new patch? If it still fails to compile, please post the target you are building for and the error message here.
Comment by William Poetra Yoga Hadisoeseno (wpyh) - Sunday, 10 May 2009, 03:10 GMT
Sync'ed patch to latest SVN.
Comment by William Poetra Yoga Hadisoeseno (wpyh) - Sunday, 17 May 2009, 15:38 GMT
Per discussion on IRC, now I would like to submit a smaller patch instead: Make Shuffle:Yes and Repeat:All behave the same as Repeat:Shuffle. This means that if Shuffle:Yes and Repeat:All, then at the end of the playlist, the playlist will be reshuffled.

Loading...