Re: [Banshee-List] Getting song metadata from Banshee 1.0 RC 1 via D-Bus



2008/6/3 Paul Kuliniewicz <paul kuliniewicz gmail com>:
> I'm working on adding support for Banshee 1.0 to Music Applet [0], but
> so far I haven't found a way to get the metadata for the current song
> from the D-Bus interface.  I can get its URI by calling GetCurrentUri on
> the PlayerEngine object, but I don't see any methods that take a URI and
> return the associated metadata, or to just get the metadata for the
> current song directly (like there was in 0.13.x).  Am I missing
> something, or will this be added in a later version?

You should use dbus-explorer or d-feet to see what Banshee exposes
over dbus.  You need to get CurrentTrack, not CurrentUri.  Good luck!

Gabriel


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]