[mpris] MPRIS Ruby Gem

Nicholas J Humfrey njh at aelius.com
Sat Apr 26 22:40:37 CEST 2008


I have tried inserting a 'sleep 2' but get exactly the same behaviour :(

Setting volume to: 0, got back: 0.
Setting volume to: 1, got back: 0.
Setting volume to: 2, got back: 1.
Setting volume to: 3, got back: 2.
Setting volume to: 4, got back: 3.
Setting volume to: 5, got back: 4.
Setting volume to: 6, got back: 5.
Setting volume to: 7, got back: 6.
Setting volume to: 8, got back: 7.
Setting volume to: 9, got back: 8.
Setting volume to: 10, got back: 9.
Setting volume to: 11, got back: 10.


On 25 Apr 2008, at 10:32, Rafaël Carré wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Le Fri, 25 Apr 2008 01:11:08 +0100,
> Nicholas J Humfrey <njh at aelius.com> a écrit :
>
>> Hello,
>>
>> I have been working on a Ruby Gem to make it easy to control Media
>> Players using MPRIS. It uses ruby-dbus to do the hard work. It is  
>> very
>> much work in progress, but I have some documentation online here:
>>
>> http://mpris.rubyforge.org/
>>
>>
>> I have found a few bugs in VLC as a result, including pausing  
>> freezing
>> the interface subsystem and a rounding error in setting the volume:
>> https://trac.videolan.org/vlc/ticket/1559
>> https://trac.videolan.org/vlc/ticket/1561
>
> VLC is asynchronous, so the "rounding error" should disappear if put a
> sleep between the setting and the getting of the volume
>
> - --
> Rafaël Carré
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFIEaUvYWCeGMCv8Q8RAoEiAJ9qn69/coDnOPISIZhay7cJRBTVSwCfUtyb
> YpnbLtNJcJNCNM3C+ErgP2A=
> =4wqF
> -----END PGP SIGNATURE-----
> _______________________________________________
> mpris mailing list
> mpris at videolan.org
> http://mailman.videolan.org/listinfo/mpris




More information about the mpris mailing list