Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Why does playlist insert replace the current playlist when stopped?
« previous next »
  • Print
Pages: 1 2 3 [4] 5 6

Author Topic: Why does playlist insert replace the current playlist when stopped?  (Read 25286 times)

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Why does playlist insert replace the current playlist when stopped?
« Reply #45 on: October 03, 2007, 10:40:33 AM »
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.
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Why does playlist insert replace the current playlist when stopped?
« Reply #46 on: October 03, 2007, 11:16:27 AM »
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.

Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Why does playlist insert replace the current playlist when stopped?
« Reply #47 on: October 03, 2007, 11:23:26 AM »
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.
Logged

Offline cc

  • Member
  • *
  • Posts: 51
Re: Why does playlist insert replace the current playlist when stopped?
« Reply #48 on: October 03, 2007, 11:36:05 AM »
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.

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.

Logged

Offline DefineByte

  • Member
  • *
  • Posts: 104
Re: Why does playlist insert replace the current playlist when stopped?
« Reply #49 on: October 03, 2007, 03:22:05 PM »
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?)?
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Why does playlist insert replace the current playlist when stopped?
« Reply #50 on: October 03, 2007, 03:25:16 PM »
Quote from: DefineByte on October 03, 2007, 03:22:05 PM
(or are double presses problematic on some players?)?
...most players, I would say (being the owner of four different ones).

The buttons are mostly just not made for it and it would be very unergonomic (IMHO)
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Why does playlist insert replace the current playlist when stopped?
« Reply #51 on: October 03, 2007, 03:26:39 PM »
There are people who already have a problem with short and long presses, because they press the button too slowly to register as a short press.

Adding a third option into the mix, double press, will (in my opinion) be a step away from making things more usable, not toward.
Logged

Offline DefineByte

  • Member
  • *
  • Posts: 104
Re: Why does playlist insert replace the current playlist when stopped?
« Reply #52 on: October 03, 2007, 06:22:43 PM »
You wouldn't be making anything less useable (unless you think accidental double presses are likely. Possible I guess) because you'd only be adding a feature, not taking anything away. It's up to the user whether they use it or not.

Fair enough if most players wouldn't work well with it though.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Why does playlist insert replace the current playlist when stopped?
« Reply #53 on: October 03, 2007, 06:26:36 PM »
You suggested "moving" the functionality, as an alternative to having it in the context menu. Your phrasing suggested that it would only be accessible via double click.

But yes, accidental double clicks are also a real possibility as well. So in both cases, I'm still against it.
Logged

Offline DefineByte

  • Member
  • *
  • Posts: 104
Re: Why does playlist insert replace the current playlist when stopped?
« Reply #54 on: October 04, 2007, 07:43:36 AM »
I can see why you'd read it as such but it wasn't what I intended. :)
Logged

Offline cc

  • Member
  • *
  • Posts: 51
Re: Why does playlist insert replace the current playlist when stopped?
« Reply #55 on: October 04, 2007, 04:24:07 PM »
Quote from: Llorean on October 03, 2007, 08:42:29 AM
Not starting playback on the first insert is fine, but Play and Pause will become the same button, functionally. The only difference will be whether the audio buffer is preserved or not, and 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.

I looked at the code. Am I correct in thinking that the "plugin empties the buffer if necessary" functionality is already there? plugin_get_audio_buffer calls audio_stop before it returns the buffer.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Why does playlist insert replace the current playlist when stopped?
« Reply #56 on: October 04, 2007, 04:26:01 PM »
There are plugins that refuse to start if audio is playing, rather than forcing a stop though.
Logged

Offline fml2

  • Member
  • *
  • Posts: 157
Re: Why does playlist insert replace the current playlist when stopped?
« Reply #57 on: October 05, 2007, 03:22:54 AM »
Hmm... while browsing through the forums, I've found the following quotes about the consistency:

Quote from: Llorean on January 22, 2007, 05:02:52 AM
I guess I just don't understand why people see "convenience" being so much more important than consistency.

And this:

Quote from: Llorean on October 02, 2007, 07:53:19 AM
so I still really don't see any benefit to your method other than what can be interpreted as "Consistency."

Is that the consistency? :-)
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Why does playlist insert replace the current playlist when stopped?
« Reply #58 on: October 05, 2007, 06:44:34 AM »
Notice I said "What CAN be interpreted as consistency" making it somewhat clear that to me it's rather dubious whether this is consistency or not.

Read my words carefully, and you'll notice that often the choices I make are important. ;)

I think it'd be consistent that the playlist isn't there when stopped, rather than it being consistent that Pause and Stop are actually the same state, just with different names (as the words do not actually mean the same thing).
Logged

Offline cc

  • Member
  • *
  • Posts: 51
Re: Why does playlist insert replace the current playlist when stopped?
« Reply #59 on: October 07, 2007, 03:02:26 AM »
Quote from: Llorean on October 04, 2007, 04:26:01 PM
There are plugins that refuse to start if audio is playing, rather than forcing a stop though.

Could someone point me in the direction of a plugin that does this? I want to see what it does and I can't find one - the nearest is the jpeg viewer which gives you a choice before stopping the audio.

Also, is it platform specific?

(PS Llorean, any chance of unlocking that thread on the insert order? Or should I start another one?)
Logged

  • Print
Pages: 1 2 3 [4] 5 6
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Why does playlist insert replace the current playlist when stopped?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.114 seconds with 22 queries.