[mpris] TrackList interface

mirsal mirsal at mirsal.fr
Fri Nov 18 02:59:31 CET 2011


On Tue, 2011-11-15 at 16:10 +0000, Alex Merry wrote:
> I've realised an issue with the tracklist interface: AfterTrack (type 
> 'o') appears in a couple of places (a method and a signal), indicating 
> the track to place something after.  The spec says that "before any 
> track" should be indicated with an empty path.
> 
> However, this is _not_ a valid path value, and libdbus will throw a 
> hissy fit and abort the application if you try to marshall such a value.
> 
> So, we need some other value to represent "no track".  Maybe "/", the 
> root path?

Indeed, I'd say either that,
or /org/mpris/MediaPlayer2/TrackList/prepend which would allow adding
its 'append' counterpart in a later version.

VLC currently uses '/' in its single instance mode (which is a minimal
mpris client implementation)

-- 
mirsal 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://mailman.videolan.org/pipermail/mpris/attachments/20111118/0c06ae69/attachment.pgp>


More information about the mpris mailing list