Rythmbox pause button disabled with radio streams
After upgrading from Ubuntu 22.04 (Gnome 42.9) to Ubuntu 24.04 (Gnome 46), the pause button stopped working for radio streams in Rythmbox. The pause button is disabled (greyed out) in the bar and in the window popping out when I click. I tried to check if the problem could be in Rythmbox itself (upgraded from 3.4.4 to 3.4.7), but I see that in its interface for radio streams there's always a stop button (no pause button). So I guess that in the previous version (v20) the pause button was acting like a stop, while currently (v2.0.1) this is not true anymore. This is very unfortunate, because is forcing me to open Rythmbox each time to stop the stream, defeating the purpose of having controls in the menu bar.
I tested it and VLC and rythmbox both add the STOP button when Play/Pause is disabled in MPRIS. This is not a bug that the Pause button is disabled IMHO. The feature of having a STOP button when Play/Pause is disabled could be an option. I never noticed it as I rarely to never listen to live webstreams / webradio.
Just to add some context, the default Gnome menu (the one popping up when you click on the clock) shows the proper Pause button for the same case (Rythmbox playing a stream radio)
They do not use the MPRIS interface to show this notification I assume. In MPRIS pause is disabled for streams.
Streams do not support the pause method, but can be stopped via the stop method, which is what the default media notification uses. We have two options:
- Add a stop button
- Make the pause button call the "stop" method if pausing is not available.