The mpris interface

mpris enables access to the Media Player Remote Interfacing Specification (mpris) via DBus, allowing a snap to control music and video players.

Consuming snaps can access media players implementing mpris via the providing snap’s well-known DBus name.

Auto-Connect: no
Attributes:

  • name (slot): optional, media player name to use for DBus well-known name
    (ie, org.mpris.MediaPlayer2.$name). If omitted, use the snap’s name.

This is a snap interface. See Interface management and Supported interfaces for further details on how interfaces are used.

Last updated 2 months ago. Help improve this document in the forum.