playerctl
playerctl copied to clipboard
Hitting play in rhythmbox causes playerctld to crash.
The player I am using is Rhythmbox and Spotify.
I start Spotify, I play music in Spotify.
I run G_MESSAGES_DEBUG=playerctl playerctld
then I start Rhythmbox. As I do so, playerctld crashes:
(playerctld:1182714): playerctl-DEBUG: 17:22:24.111: got method call: sender=:1.89, object_path=/org/mpris/MediaPlayer2, interface_name=org.freedesktop.DBus.Properties, method_name=Get (playerctld:1182714): playerctl-DEBUG: 17:22:24.111: sending command 'org.freedesktop.DBus.Properties.Get' to player 'org.mpris.MediaPlayer2.rhythmbox' (playerctld:1182714): playerctl-DEBUG: 17:22:24.337: got player signal: sender=:1.5671, object_path=/org/mpris/MediaPlayer2, interface_name=org.freedesktop.DBus.Properties, signal_name=PropertiesChanged
(playerctld:1182714): playerctl-ERROR **: 17:22:24.338: cannot update properties for unknown interface: org.mpris.MediaPlayer2.Playlists
I start it again, and it keeps running.
I hit the play button, which tells playerctl to play, and playerctld crashes again.
I start it up again.
From this point on, it no longer crashes, but playerctl play-pause always goes to rhythmbox (even when it was crashing) and even though spotify is already playing (so I end up with both playing, unable to control spotify).
If I exit rhythmbox, then playerctl properly controls spotify again.