Rockbox General > Rockbox General Discussion
Why does playlist insert replace the current playlist when stopped?
Llorean:
STOP allows you to open large image files, gameboy games, or use other plugins that require use of the audio buffer. PAUSE returns an error message when you attempt this.
And for those already in the know, PAUSE means that 'Insert' adds to the current playlist, STOP means that 'Insert' starts a new one. There are are lot of people used to this behaviour, partially based on the number of times I've had people ask how to clear the playlist just to reveal to them it already is as long as you've pressed stop.
bascule:
Personally, I think the current behaviour is fine and quite understandable. The difference in the context menu also serves as a reminder (for me, at least) of which state the player is in and allows me to correct a potentially erroneous insert.
Llorean:
What could be done is to have "Play" be at the top of the context menu, which plays JUST the highlighted song now. "Insert" inserts without starting playback.
Insert when music is stopped inserts into a blank playlist.
To "fill" a playlist before manipulating it (such as if I want to edit bob.m3u) I Insert bob.m3u, thus loading it, then manipulate it without playback starting.
Pressing stop again, while already stopped, once more "clears" the playlist making the next insert able to wipe it.
During all of this, "Play/Pause" will either resume the last playlist (if the current one is "empty" because of a press of stop) or begin playing the playlist that is being constructed.
cc:
--- Quote from: Llorean on October 03, 2007, 08:42:29 AM --- functionally speaking, I think there's no reason not to always preserve the audio buffer, but if Paused, allow a plugin to empty it if necessary.
--- End quote ---
This seems like the perfect solution to me - that way pause and stop can be merged, playlist editing will always be the same and the UI doesn't have any wrinkles caused by plugins sharing the audio buffer.
DefineByte:
Rather then needing to use the context menu could you move some functionality onto single and double presses of the select button (or are double presses problematic on some players?)?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version