After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 588430 - how can I get current playing song info through dbus
how can I get current playing song info through dbus
Status: VERIFIED INVALID
Product: banshee
Classification: Other
Component: general
1.4.3
Other Linux
: Normal normal
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-07-13 08:57 UTC by bones7456
Modified: 2009-07-16 01:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description bones7456 2009-07-13 08:57:17 UTC
This may be not a bug... :)
I using banshee 1.4.3
dbus name = org.bansheeproject.Banshee , path = /org/bansheeproject/Banshee/PlayerEngine has some properties named 'CurrentUri','Length' etc. but has no org.freedesktop.DBus.Properties ?
then how can I get this information through dbus-send command?
thanks!
Comment 1 Bertrand Lorentz 2009-07-15 19:25:05 UTC
The PlayerEngine interface has a property named CurrentTrack that gives all the information about the current track in a dictionary of {String, Variant}.

For example, the following command (on one line) prints out all the info about the current track :

dbus-send --print-reply --type=method_call --dest=org.bansheeproject.Banshee /org/bansheeproject/Banshee/PlayerEngine org.bansheeproject.Banshee.PlayerEngine.GetCurrentTrack

Comment 2 Bertrand Lorentz 2009-07-15 19:30:44 UTC
If you have further questions about this, please ask on the mailing list :
http://mail.gnome.org/mailman/listinfo/banshee-list
Comment 3 bones7456 2009-07-16 01:27:51 UTC
It works~
very thanks!