1

Seems like this should be pretty simple.

I can see the volume this way:

#> qdbus org.mpris.MediaPlayer2.vlc /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Volume

0.600006103515625

I can try to set it in any of these ways, but the volume goes to zero:

#> qdbus org.mpris.MediaPlayer2.vlc /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Volume 0.5

#> qdbus org.mpris.MediaPlayer2.vlc /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Volume double:0.5

#> qdbus org.mpris.MediaPlayer2.vlc /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Set org.mpris.MediaPlayer2.Player Volume double:0.5

#> qdbus org.mpris.MediaPlayer2.vlc /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Set org.mpris.MediaPlayer2.Player Volume variant:double:0.5

I don't know what else to try.

1 Answer 1

0

Better late than never: After a little bit too much googling I stumbled over this thread, where some clever guy posted the not so obvious solution:

dbus-send --print-reply --session --dest=org.mpris.MediaPlayer2.vlc /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Set string:org.mpris.MediaPlayer2.Player string:Volume variant:double:1.0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .