I'm looking into DBUS now, but it seems VLC is not MPRIS-compliant. PlayPause works, Seek works, but Rate (and related) don't and neither does Volume. I understand Rate not being top of the agenda because it isn't high-demand, but Volume!? WTH!? Everyone uses that feature. It is needed.
See below details:
RATE:
Code: Select all
dbus-send --print-reply --session --dest=org.mpris.MediaPlayer2.vlc /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Rate double:"0.5"
Error org.freedesktop.DBus.Error.UnknownMethod: Method "Rate" with signature "d" on interface "org.mpris.MediaPlayer2.Player" doesn't exist
Code: Select all
dbus-send --print-reply --session --dest=org.mpris.MediaPlayer2.vlc /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Volume double:"0.5"
Error org.freedesktop.DBus.Error.UnknownMethod: Method "Volume" with signature "d" on interface "org.mpris.MediaPlayer2.Player" doesn't exist
Code: Select all
dbus-send --print-reply --session --dest=org.mpris.MediaPlayer2.vlc /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Seek int64:"-10000000"
method return sender=:1.290 -> dest=:1.306 reply_serial=2
Please can somebody bother to get back to me on this one, even is it's outside the forum (my Twitter handle is @nonzyro)