Rockbox General > Rockbox General Discussion

Why does playlist insert replace the current playlist when stopped?

<< < (3/16) > >>

cc:

--- Quote from: Llorean on October 01, 2007, 02:55:18 AM ---Play Next does NOT interrupt the current song, so to clear the playlist you'd have to stop, "Play Next", then resume, then hit next.

--- End quote ---

Ah, this is what I had missed. I understand now.

fml2:
The fact that after a STOP it's still possible to resume the playback means to me that the playlist still exists. That's why I'd also assume that Insert would work as cc suggested.

The difference between STOP ans PAUSE would be that after STOP you go to the file (or db) browser, while after PAUSE you're still in the WPS.

To clear the current playlist, you can either explicitly clear it (is there an option for this) or select a song thus implicitly creating a new playlist.

DefineByte:
I find the current behaviour strange too.

Llorean:
There is no option currently for explicitly clearing a playlist.

And "Selecting a song" won't work for inserting a single song into an empty playlist, meaning you HAVE to introduce a clear operation and make it more of a hassle for playing a single song than it is now.

Play can be thought of as "reloading" the previous playlist, if you need a term that is more semantically applicable. Does thinking of it this way solve your problems?

It's not that the playlist doesn't EXIST, it's that it ISN'T ACTIVE. If you Pause, the playlist is still active, but playback is not happening. If you Stop, then the playlist is no longer active at all, meaning that if you insert a song it's inserted into a blank playlist, and if you resume/reload, then it can attempt to start playing the previous playlist from where you were, necessitating a rebuffer. Stopping playback conceptually empties the audio buffer, necessary for certain things to happen. It really is STOP, and this is very different from PAUSE.

I think that if you actually think about what's going on, the behaviour will make more sense. Another solution would be to take away the Resume Stopped Playlist function? Would that solve the conceptual difficulty for you?

fml2:

--- Quote from: Llorean on October 01, 2007, 10:23:24 PM ---There is no option currently for explicitly clearing a playlist.

--- End quote ---

OK


--- Quote ---And "Selecting a song" won't work for inserting a single song into an empty playlist, meaning you HAVE to introduce a clear operation and make it more of a hassle for playing a single song than it is now.

--- End quote ---

You could do that by selecting "Play next". IIUC, "Play next" works as follows: if there is current song, it's retained (queued). The rest of the list is erased. The selected song is inserted into the list. If you're in PAUSE, there is current song, and it will play to the end. If you're in STOP, there is no current song, so the list will contain just the inserted song.


--- Quote ---Play can be thought of as "reloading" the previous playlist, if you need a term that is more semantically applicable. Does thinking of it this way solve your problems?
--- End quote ---

I'd rather think of it other way: a playlist never disappears, even after STOP or having reached its end. It can only be replaced by another list. Then we don't have to introduce the 'active' category at all.


--- Quote ---I think that if you actually think about what's going on, the behaviour will make more sense.
--- End quote ---

The main thing is you can predict the results of your next action. If you can do that, even the most unlogical behaviour is OK. But to learn that behaviour is harder if there are many special cases.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version