[SailfishDevel] Using org.nemomobile.dbus with MPRIS2

Tomasz Sterna tomek at xiaoka.com
Sat Dec 20 20:18:35 UTC 2014


Dnia 2014-12-20, sob o godzinie 21:11 +0500, Andrey Kozhevnikov pisze:
> I just tried to make MPRIS2 controls for MediaPlayer and QuasarMX with
> QML only, but failed. Both players have no PropertiesChanged in 
> introspection of /org/mpris/MediaPlayer2, and it seems to be a reason
> of my fail.

Works for me just fine.
https://github.com/smokku/pebble/blob/master/daemon/manager.cpp#L51

The only difference is that I left the service empty, cause I am
interested in signals from all MPRIS2 players, not just a specific one.


-- 
smoku @ http://abadcafe.pl/ @ http://xiaoka.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20141220/9bb96084/attachment.pgp>


More information about the Devel mailing list