phosphor-service-mpris
MPRIS2 media-player discovery, status, and transport control.
Watches the session bus for MPRIS2 players, surfaces their identity, track metadata, and playback state, and forwards transport controls. Player discovery follows NameOwnerChanged, property updates ride PropertiesChanged, and every fetch goes through a pending-call watcher so the GUI thread never blocks on a slow player. A shell binds the MprisPlayerModel to render a now-playing card or media pop-out and calls the per-player transport invokables.
Key types
MprisHostorg.mpris.MediaPlayer2.*, owns the live player set, emits add/remove.MprisPlayerMprisPlayerModelQAbstractListModel over the host with identity / state / title / artist / art roles.Dependencies
QtCoreQtQmlQtDBus
See also
References
- Full API reference → Doxygen-generated page for
PhosphorServiceMpris. - Namespace index Every symbol under
PhosphorServiceMpris::.