Rockbox General > Rockbox General Discussion

Why does playlist insert replace the current playlist when stopped?

(1/16) > >>

cc:

I was doing a patch for something else and I got to wondering why the current playlist gets replaced if you insert while stopped? What's the reasoning behind it?

I understand why you might want the option to do this (like you can while playing with "Play Next") but why make it the only choice?

Llorean:
Why not, honestly? If you want to insert into an existing playlist, pause instead of stopping.

nls:
The reasoning behind it is that you do not have a current playlist when stopped. If you start playing without creating a new playlist rockbox will resume the old one.

cc:

--- Quote from: Llorean on September 30, 2007, 09:37:42 AM ---Why not, honestly? If you want to insert into an existing playlist, pause instead of stopping.

--- End quote ---

Sure, I understand you can do that. But there is extra code in there specifically to remove the menu options that would give you the other choices, so I thought someone had a reason for not wanting to offer the other choices.

cc:

--- Quote from: nls on September 30, 2007, 09:56:01 AM ---The reasoning behind it is that you do not have a current playlist when stopped. If you start playing without creating a new playlist rockbox will resume the old one.

--- End quote ---

The 'old one' isn't really old though, it is just the current_playlist that either does or doesn't get replaced when you do an insert. Unless I'm missing something, stopping playback doesn't do anything to the current_playlist.

Navigation

[0] Message Index

[#] Next page

Go to full version