mpv-mpris is a plugin for mpv which adds an MPRIS D-Bus interface to the media player. This allows mpv to integrate with standard desktop media controls and respond to media keys in the same way as other MPRIS-aware applications.
It can be controlled by utilities such as playerctl as well as desktop environments including KDE Plasma and GNOME. The plugin runs inside mpv and communicates playback state, metadata, artwork, and available controls over D-Bus.
This is free and open source software.
Key Features
- Control mpv with standard play, pause, stop, next, and previous actions.
- Integrates mpv with desktop media controls and hardware media keys.
- Implements the MPRIS MediaPlayer2 and Player interfaces.
- Reports playback status and media metadata over D-Bus.
- Exposes track position and seeking controls.
- Handles volume, shuffle, and loop state.
- Provides album and cover artwork where suitable metadata is available.
- Supports artwork embedded in media files.
- Handles multiple running mpv instances.
- Reports whether next and previous actions are available according to the current playlist state.
- Can be controlled with playerctl and other MPRIS-compatible utilities.
- Loads automatically from mpv’s standard scripts directories once installed.
- Includes a test suite for validating its D-Bus and mpv integration.
Website: github.com/hoyon/mpv-mpris
Support:
Developer: Ho-Yon Mak
License: MIT License
mpv-mpris is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| MPRIS Tools | |
|---|---|
| playerctl | MPRIS media player command-line controller |
| mpris-ctl | Minimalistic command-line interface tool for controlling audio players |
| mpv-mpris | mpv plugin to control the player using standard media keys |
| mpd-mpris | MPRIS protocol for MPD |
| mprisence | Bridges MPRIS-compatible media players |
| empress | MPRIS media controls made simple |
| mpris-scrobbler | Minimalistic user daemon |
| MPRIS MiniPlayer | Displays whatever media in a MPRIS compatible player is playing. |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.