Re: [Muine] DBus Interface: song.duration
- From: Jorn Baayen <jbaayen gnome org>
- To: "d. Taylor Singletary" <taylor conquent com>
- Cc: muine-list gnome org
- Subject: Re: [Muine] DBus Interface: song.duration
- Date: Tue, 11 Jan 2005 22:02:42 +0100
Hey,
When it returns a song, it for now just returns a string which says
"$key: $value\n" for all properties that are available. This is because
the current DBus# release doesn't support DBus dictionaries yet.
HTH,
Jorn
On Tue, 2005-01-11 at 12:44 -0800, d. Taylor Singletary wrote:
>
> Hi all,
>
> I'm hacking a python mpdscrobbler script to work with muine, but I
> can't seem to access the duration field for a track through DBUS. I
> can use dbus-monitor and "see" that there is a duration field it knows
> about, but when accessing that field I get this error:
>
> trackLen = song.duration
> AttributeError: 'str' object has no attribute 'duration'
>
> All other fields I've queried with dbus show up fine.
>
> Is this expected behavior?
>
> Thanks!
>
> d. Taylor Singletary,
> reality technician
> http://techra.elephantus.com
> _______________________________________________
> muine-list mailing list
> muine-list gnome org
> http://mail.gnome.org/mailman/listinfo/muine-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]