unity-dev team mailing list archive
-
unity-dev team
-
Mailing list archive
-
Message #00046
Re: [Ayatana-dev] Soundmenu integration
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
You need to implement this interface
http://www.mpris.org/2.0/spec/Player_Node.html. For putting those things
on the bus take a look at
http://dbus.freedesktop.org/doc/dbus-python/doc/tutorial.html#exporting-objects.
The dbus-python tutorial is pretty helpful overall,
http://dbus.freedesktop.org/doc/dbus-python/doc/tutorial.html. And for
some more sample code, there's a snippet in Acire, or on the web in
Launchpad,
http://bazaar.launchpad.net/~jonobacon/python-snippets/trunk/annotate/head:/dbus/singleinstance.py.
Good luck
- --
Alex Launi
Canonical Desktop Experience Team
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkz3tUEACgkQpL94dTyos27R4ACfVXCLzwt4K+WGmZMgXLEeedj8
g8QAoNyXZEMeL0YCSEW6uqNOwlNM0t2+
=yxB7
-----END PGP SIGNATURE-----
References