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.

This interface is most commonly used to pass media key control through to a media player, such as play and pause and music playback.

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

Auto-Connect: no

  • 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 1 year, 1 month ago.