FS#7413 - Can only reshuffle, save, a playlist if playback is playing or paused. Rebuffering slows save down.

Attached to Project: Rockbox
Opened by Dave Hooper (stripwax) - Saturday, 07 July 2007, 13:15 GMT
Last edited by Jonathan Gordon (jdgordon) - Wednesday, 30 April 2008, 14:42 GMT
Task Type Bugs
Category Playlists
Status Closed
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


Suppose I want to load a playlist, reshuffle it, save it, and play it. Saving a playlist seems to take longer if rockbox is rebuffering (makes sense), so perhaps I'd like to stop playback to save the playlist. But it seems I can only reshuffle and save the current playlist if it's playing or paused (because I think the only way to do it is via the context menu from the wps). Am I right that the only way to do what I want is to load the playlist, pause it (rockbox rebuffers in the background), reshuffle, save (which will take a while while it rebuffers but will save faster when it's finished rebuffering), and then unpause?

Apologies if there's a way to reshuffle/resave a playlist without having to load it + pause it first (couldn't find one).

Oh, maybe, there could be a way to temporarily halt rebuffering if playback is paused and rockbox is trying to do some other disk-intensive operation. I think that would make most sense.
This task depends upon

Closed by  Jonathan Gordon (jdgordon)
Wednesday, 30 April 2008, 14:42 GMT
Reason for closing:  Out of Date
Additional comments about closing:  it was changed a while ago so you could save the most recent playlist if it is stopped... shuffling you cant do but thats not a big deal imo.
Comment by Paul Louden (Llorean) - Saturday, 07 July 2007, 19:39 GMT
I don't understand. What's the "bug" here?

Also, on an unrelated note, I don't understand why you're saving shuffled playlists.

Where's the problem if saving is a little slow, does it cause your music to skip or otherwise interfere with your ability to play music?
Comment by Dave Hooper (stripwax) - Sunday, 08 July 2007, 09:16 GMT
Two bugs really.
1. saving a playlist takes a very long time, even when playback is paused, because rockbox is rebuffering
2. you can only save a shuffled playlist if playback is paused (or playing), so 'stopping playback' is not a viable workaround

I don't understand why you don't understand why I want to save a shuffled playlist. I have a playlist, I shuffle it, and I want to save it. Is that not supported? The use case I want a playlist of shuffled tracks that I can potentially add to in the future without losing the shuffled order of tracks. So I shuffle it once, after creating it, and save it.
Comment by Dave Hooper (stripwax) - Sunday, 08 July 2007, 09:19 GMT
There is no 'problem' by the way if saving is a little slow. But it seems v inefficient for the disk to thrash between saving a playlist and rebuffering the audio, when playback is paused. There's no way to unpause it while saving the playlist, it might as well not bother rebuffering at all right?
Comment by Paul Louden (Llorean) - Thursday, 12 July 2007, 10:33 GMT
My question was more "why don't you shuffle the playlist when you intend to listen to it" which includes "if you're listening to it, why are you listening to it for such a short time that the playlist save time presents a problem?"

Is there a reason to shuffle it far in advance rather than at the time of first play? It sounds to me kinda like a request to overcomplicate how code handles things because the user is adding additional steps of their own to a process.