[Muine] DBus Interface: song.duration




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

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