During discovery plasma logs the following, > kde.dataengine.mpris: "org.mpris.MediaPlayer2.spotifyd" does not implement org.freedesktop.DBus.Properties correctly Error message was "org.freedesktop.DBus.Error.NoReply" "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." Both qtbus-qt5 and dbus-send work with org.mpris.MediPlayer2.PlayPause. Further down I found error coming from https://cgit.kde.org/plasma-workspace.git/tree/dataengines/mpris2/mpris2engine.cpp#n136 Thanks for frinring for helping me narrow it down.
> Error message was "org.freedesktop.DBus.Error.NoReply" This means spotifyd simply didn't reply to our message. That's almost certainly spotifyd at fault. >Both qtbus-qt5 and dbus-send work with org.mpris.MediPlayer2.PlayPause. We know it was querying "org.freedesktop.DBus.Properties" at the time So the relevant question is does that call work with dbus-send?
Created attachment 113552 [details] journalctl log for plasmashell Can you please what call is that. FWIW I have seen more error messages and partial information on the plasmoid. I will upload a log. Looking at the relevant file, it looks the QML file is able to read some of the data but is not able to determine whether it can control the player or not.
> kde.dataengine.mpris: "org.mpris.MediaPlayer2.mpv" does not implement org.freedesktop.DBus.Properties correctly This is the only line that matters Can you run qdbus org.mpris.MediaPlayer2.mpv /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.GetAll org.mpris.MediaPlayer2 and qdbus org.mpris.MediaPlayer2.mpv /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.GetAll org.mpris.MediaPlayer2.Player
Both commands work: qdbus org.mpris.MediaPlayer2.spotifyd /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.GetAll org.mpris.MediaPlayer2 CanQuit: true CanRaise: false HasTrackList: false Identity: Spotifyd SupportedUriSchemes: Spotify qdbus org.mpris.MediaPlayer2.spotifyd /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.GetAll org.mpris.MediaPlayer2.Player CanControl: true CanPause: true CanPlay: true CanSeek: true LoopStatus: None MaximumRate: 1 Metadata: mpris:length: 232078 xesam:album: Easier to Fade xesam:artists: qdbus: I don't know how to display an argument of type '(ss)', run with --literal. xesam:title: Easier to Fade MinimumRate: 1 PlaybackStatus: Playing Position: 156035 Rate: 1
Didn't expect that. It definitely failed when plasma tried. Please can you get a log with dbus-monitor (or bustle) of plasma failing to interact wtih spotifyd.
Created attachment 113554 [details] dbus-monitor output I restarted the spotifyd.service to get this output.
In that log: We call GetAll method call time=1529931340.671868 sender=:1.20 -> destination=org.mpris.MediaPlayer2.spotifyd serial=468 path=/org/mpris/MediaPlayer2; interface=org.freedesktop.DBus.Properties; member=GetAll string "org.mpris.MediaPlayer2" method call time=1529931340.671957 sender=:1.20 -> destination=org.mpris.MediaPlayer2.spotifyd serial=469 path=/org/mpris/MediaPlayer2; interface=org.freedesktop.DBus.Properties; member=GetAll string "org.mpris.MediaPlayer2.Player" There is no reply. (search for reply_serial=469) I don't know why it gave you stuff from qdbus that one time, but it's clearly giving anything here. You'll need to take this up with spotifyd people.
*it's clearly not giving anything here
Thanks for debugging this :) I will report it again, my last report was closed since they thought it worked with playerctl and qdbus.
can you link it here
https://github.com/Spotifyd/spotifyd/issues/153