[SailfishDevel] MPRIS2 Control QML Extension

Andrey Kozhevnikov coderusinbox at gmail.com
Sun Dec 21 12:47:40 UTC 2014


I just made simple MPRIS2 D-Bus control QML extension. Contributions and 
pull requests are welcome. Licence is WTFPL as usual for me.

Simple usage:
import org.coderus.mpris 2.0 as Mpris2

Mpris2.Control {
     id: mprisControl
     service: "org.mpris.MediaPlayer2.jolla-mediaplayer"
     onPlaybackStateChanged: console.log(playbackState)

Sorry, no docs, no comments in code. It's just a wrapper class for D-Bus 
properties and methods. Read header file and MPRIS2 documentation if you 
don't know what MPRIS2 is.

Best regards,

More information about the Devel mailing list