-
Notifications
You must be signed in to change notification settings - Fork 488
Description
> 7\. Calling `rs.spotifyd.Controls.TransferPlayback` causes the MPRIS service to become available as well.
Unfortunately, I am able to reliably reproduce every step except for this one.
When the connection to the server is genuinely closed, I can successfully transfer playback using: busctl call --user rs.spotifyd.instance$(pidof -s spotifyd) /rs/spotifyd/Controls rs.spotifyd.Controls TransferPlayback every time. However, on some occasions, when I try to invoke Play or PlayPause, I receive the following error afterward: Call failed: The name org.mpris.MediaPlayer2.spotifyd.instance<PID> was not provided by any .service files. The same happens when I try: busctl introspect --user org.mpris.MediaPlayer2.spotifyd.instance<PID> /org/mpris/MediaPlayer2. This confirms that the D-Bus interface is not always exposed reliably. Notably, when I manually restart the systemd service, I haven’t observed this issue.
Originally posted by @soulseller in #1317 (comment)