PromyLOPh/pianobar

Pausing a song for more than a few seconds breaks playback

nneul opened this issue · 2 comments

nneul commented

Subject of the issue

I've seen this ever since I started using pianobar - just now getting around to reporting.

Playback hangs/stops after a little while if you pause.

Your environment

  • 0f856e8 - head of master a week or so ago
  • Ubuntu 18
  • from repos - 3.4.8
password = xxxxxxxxxxxxxxx
user = xxxxxxxxxxxxxxxxx
audio_quality = high
autostart_station = 3563273528223108439
event_command = /users/nneul/bin/lastfm-scrobble

Steps to reproduce

Pause a song.
Wait 30-40 seconds (i.e. if you took a phone call/whatever)
Unpause
Song will continue to play, possibly up until buffer empty - and will then hang.
It may or may not recover after this if you continue to wait.

Expected behaviour

Should be able to pause and resume.

It'd be tolerable if it broke playback of the current song and skipped to next, but as it is now, it breaks and only way to really recover is to restart app.

Actual behaviour

After unpausing - gets about 20 seconds of playback, then just stops. No error message.
Sometimes it seems like if I let it sit there, it stutters after about another 10-15 seconds and then skips to next song.

nneul commented

Yes, both of those options significantly improve experience. Thank you!