You are not logged in.

#1 2014-06-16 07:20:40

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

[Spotify] dbus media keys control broken [solved]

Hi there,

According to the Wiki page, the following command can be issued to control Spotify via Dbus:

$ dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause

This used to work perfectly. However, since a couple of days, it fails with the following error of not finding the respective service file:

Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.mpris.MediaPlayer2.spotify was not provided by any .service files

Can someone confirm this?

Thanks ahead!

Last edited by orschiro (2014-06-16 12:52:49)

Offline

#2 2014-06-16 12:53:35

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [Spotify] dbus media keys control broken [solved]

Very strange. I just had to reboot to make the command working again and finding the service file.

Maybe a temporary conflict with a recent systemd update?

I don't know...

Offline

Board footer

Powered by FluxBB