Comment 9 for bug 588858

Revision history for this message
Ciaran Liedeman (ciaran-liedeman) wrote :

I've implemented displaying cover art and almost all of the other functions.
The sound menu works fine as it only uses a subset of the mpris2 interface, currently.

I've had a few problems mapping some of the interface properties to exaile though, volume is a property
in the Player interface but because volume is controlled via the settings object it currently does not emit an event
when it is changed. The seek event also needs to be triggered but currently seeking does not trigger events either.
Exaile also doesn't track if there is a next or previous track available but I think that could be done with some playlist object
workarounds.

According to the spec tracks require a unique id - unique inside playlists even with the same track added multiple times - to make it available on dbus, this is really a side issue as there is currently no track interface and this is only in the interface for future extensions, so the MetadataList object index method should work but I think it will break if them same track is added multiple times as the first index will be returned.

Also for some reason when I try to set the shuffle mode and repeat modes via dbus nothing seems to happen, I'll attach some code that prints the track metadata and tries to change the Shuffle and LoopStatus properties