wingpanel-indicator-sound
wingpanel-indicator-sound copied to clipboard
Wingpanel indicator sometimes shows "Not Playing" even when playing a track
What Happened?
Played a track in Music. Opened wingpanel sound indicator. Noted the track appeared correctly named but marked "Not playing"
Steps to Reproduce
- Play a track in Music
- Open Wingpanel sound indicator
- Note "Not playing"
Expected Behavior
The sound indicator should correctly determine the playing status in Music. The indicator correctly shows the playing status in the other elementary media app Videos.
(Strangely, with RhythmBox the secondary label contains the Artist name not the playing status)
OS Version
7.x (Horus)
Software Version
Latest release (I have run all updates)
Log Output
No response
Hardware Info
No response
The "Not Playing" label is a fallback label for when the application doesn't set a xesam:artist tag in the org.mpris.MediaPlayer2.Player.Metadata property.
looking at the indicator code, it don't update the label when the play/pause state changes, so it keeps "Not Playing" until there's a metadata change.
@Marukesu Thanks for the analysis - sounds easy enough to fix. The simplest fix would be to change the fallback to something like "Unknown Artist" I guess.
There is still an issue (in Wingpanel indicator) in that Music displays the Artist name even when the Wingpanel shows "Not playing"?