[Gambas-user] Dbus mpris setting volume needs type d, but how? (Bruce Steers)

Benoit Minisini benoit.minisini at gambas-basic.org
Mon Jan 30 01:25:10 CET 2023


Le 30/01/2023 à 01:12, Bruce Steers a écrit :
> 
> Maybe i was missing something..
> 
> I got it working doing this...
> 
>      DBus["session://" & $hPlayer.Address]["/org/mpris/MediaPlayer2", 
> "org.freedesktop.DBus.Properties"].Set("org.mpris.MediaPlayer2.Player", 
> "Volume", Slider2.Value / 100)
> 
> Thanks anyway all :)
> BruceS
> 

Funny, as this is what setting a property actually does internally. Or 
should do...

-- 
Benoît Minisini.



More information about the User mailing list