pianobar icon indicating copy to clipboard operation
pianobar copied to clipboard

Playback periodically stops until terminal window gains focus

Open scoaste opened this issue 1 year ago • 3 comments

Subject of the issue

Playback periodically stops until terminal window gains focus

Your environment

  • version of pianobar 2022.04.01

  • your Linux distribution and release version Xubuntu Noble Numbat (development branch) 24.04

  • ffmpeg/libav version and the flags it was compiled with (if you compiled yourself) n/a

Steps to reproduce

  • Launch pianobar in a terminal window
  • Wait while engaged in some activity in another app (i.e. browser)
  • Pianobar playback will occasionally stop between songs
  • Switching focus to the terminal window in which pianobar was launched resumes playback

Expected behaviour

Continuous playback w/out intervention

Actual behaviour

Intervention necessary to continue playback

scoaste avatar Feb 22 '24 17:02 scoaste

Which terminal application and version are you using? Does it work correctly in other terminals like xterm? What does your pianobar configuration look like?

PromyLOPh avatar Feb 22 '24 19:02 PromyLOPh

I only have the standard Xubuntu terminal installed. It's launched with "exo-open --launch TerminalEmulator" Nothing fancy in config:

user = xxxx password = xxxx autostart_station = xxxx audio_quality = high buffer_seconds = 10 ca_bundle = /etc/ssl/certs/ca-certificates.crt

Pianobar version hasn't changed lately. I assume it must be something updated from development branch of Noble Numbat, though I have no idea what.

scoaste avatar Feb 22 '24 20:02 scoaste

Could be a terminal emulator regression, if it’s from the development branch. You could try strace or gdb and see if/where pianobar gets stuck.

PromyLOPh avatar Feb 25 '24 10:02 PromyLOPh