[MPRIS] [RFC] MPRIS 2.3

Alex Merry kde at randomguy3.me.uk
Thu Apr 4 09:04:22 PDT 2013


We've got some things proposed for a possible MPRIS v2.3 [1], and I'd
like to get some feedback about which, if any, we want in.

First up is a Mute property [2], as this is often orthogonal to volume;
this should be on the Player interface:
property b Mute
 - emits PropertiesChanged

Second is metadata editing [3], on both Player and TrackList:
method UpdateMetadata(in a{sv} updatedEntries, in as deletedEntries)
- what happens to entries appearing in both arguments is undefined
- wait for PropertiesChanged on Metadata to see if it worked
property as EditableMetadataEntries
 - emits PropertiesChanged

Third is HasPlaylists, which should make it easier for clients to see
whether there is a Playlists interface implemented (fewer round trips if
they use GetAll).  Not certain whether this is worth it, but we already
have HasTrackList.
property b HasPlaylists

Fourth is a variant of Raise with a timestamp, which helps avoid
focus-stealing prevention in window managers.
method RaiseWithTimestamp(in x timestamp)
- arg is unix timestamp of the input event that triggered the call
property b HasRaiseWithTimestamp
- introspection parsing sucks; use in combination with CanRaise

Alex



[1] https://bugs.freedesktop.org/show_bug.cgi?id=49380#field_label_dependson
[2] https://bugs.freedesktop.org/show_bug.cgi?id=49381
[3] https://bugs.freedesktop.org/show_bug.cgi?id=49382
[4] https://bugs.freedesktop.org/show_bug.cgi?id=49383
[5] https://bugs.freedesktop.org/show_bug.cgi?id=62917


More information about the MPRIS mailing list