[mpris] TrackList interface

Alex Merry kde at randomguy3.me.uk
Fri Nov 25 10:59:45 CET 2011


On 24/11/11 19:27, mirsal wrote:
> On Wed, 2011-11-23 at 16:58 +0000, Alex Merry wrote:
>> We also need a way of specifying "none" for the current track.  Perhaps
>> /org/mpris/MediaPlayer2/TrackList/NoTrack
>> (or NoCurrentTrack).
>
> I'm not sure about this as empty strings are used throughout the spec for
> that purpose, which sounds fine, and changing that kind of behavior would
> certainly raise a few issues.
>
> Am I missing something here ?

I'm referring specifically to the TrackList.TrackListReplaced signal, 
which includes an 'o' argument for the current track.  Like all the 
other 'o' arguments, this can't be an empty string.

The current track is what is referred to in the Metadata property of the 
Player interface.

Alex


More information about the mpris mailing list