GNOME Bugzilla – Bug 440628
Banshee should emit a signal on DBus whenever the song changes
Last modified: 2010-09-15 20:46:38 UTC
Currently, whenever a track changes, libnotify pops up and that's the end of that. What I'm requesting is for a DBus Signal to be emitted too (like Rhythmbox). The logic behind this is that it enables, for example, Xchat scripts to automatically broadcast the songs playing in Banshee, or would allow someone to write a plugin for Gaim to broadcast Banshee's music in the Status Message.
Please specify the latest version of banshee you have been able to test this against or let us know that this is no longer a problem. Thank you for helping us keep track of your bug.
I think this happens now?
I can confirm that Banshee 0.13.1 does not emit any signals on the dbus. Required would be: void TrackChange(); void StateChange(); clients would no longer need to poll the interface, resulting in better energy savings with paused playback and during play.
This should not be provided by the new MPRIS extension, which implements the new MPRIS v2 specification : http://www.mpris.org/2.0/spec/ It uses the standard PropertiesChanged signal, which is fired when the current track changes, amongst others cases. You can then determine that the Metadata property has changed, and what the new value is.