PlayerPiano icon indicating copy to clipboard operation
PlayerPiano copied to clipboard

Clicking "Next" button while paused doesn't unpause UI

Open stevestreza opened this issue 15 years ago • 1 comments

  1. Play a station
  2. Click pause button, notice the icon turn to the Play symbol
  3. Click the next song button

Expected: Either a) the next song starts, and the play button turns back into the pause button, or b) the next song begins, the UI updates, but is immediately paused again.

Actual: The next song starts, and the button keeps the play icon.

stevestreza avatar Feb 15 '10 18:02 stevestreza

I've been seeing this when just pausing and unpausing: On pause, the icon turns into the play symbol. Upon clicking it again, the icon stays as is.

From what I've been able to deduce this late at night, it seems to be a problem in PPPianobarController's -isPlaying method: It uses -isInPlaybackMode to determine whether it is playing, but -isInPlaybackMode seems to have a several second delay (likely due to it needing to "startup" again), causing -isPlaying to return NO when the player is unpaused.

mattball avatar May 22 '10 09:05 mattball