[mpris] Playlist extension observations
Conor Curran
conor.curran at canonical.com
Fri Dec 10 19:12:00 CET 2010
I just did some research on the vala dbus async api. It looks as if the
good vala people have taken care of the async behaviour. Therefore the
GetPlaylists can pretty much stay the same.
So the revised list of modifications needed are now :
* A new method GetCurrentPlaylist should be added. This would be
useful for clients that come up and down and hence need to query
the server (media player) when starting up to sync properly. If
there is no active playlist, it should return a PlaylistDetail
with each member set to null ?
* A new signal to inform that the current active playlist has
changed. This would allow for a proper MVC pattern.
o This could also cover the situation where the playlist has
ended and no other playlist has begun in which case the
returned playlist details struct should contain null members.
That should do it.
Good weekend all.
C
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/mpris/attachments/20101210/936526a2/attachment.html>
More information about the mpris
mailing list