| Summary: | MPRIS dataengine fails to add spotifyd as a MediaPlayer | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Jagannathan Tiruvallur Eachambadi <jagannathante> |
| Component: | Media Player widget | Assignee: | Kai Uwe Broulik <kde> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | normal | CC: | hsantanna, kde, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 5.13.0 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
journalctl log for plasmashell
dbus-monitor output |
||
|
Description
Jagannathan Tiruvallur Eachambadi
2018-06-22 11:27:10 UTC
> 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 |