Skip to content

Rust implementation of the MPRIS v2 DBus interface for the mpv media player.

License

Notifications You must be signed in to change notification settings

eNV25/mpv-mpris2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f48e783 · Apr 12, 2025
Apr 12, 2025
Sep 21, 2023
Aug 23, 2023
Apr 8, 2025
Aug 23, 2023
Mar 17, 2025
Dec 9, 2024
Aug 23, 2023
Nov 2, 2023
May 15, 2024
May 15, 2024
Nov 2, 2023
Aug 23, 2023

Repository files navigation

mpris.so

This mpv plugin implements the MPRIS v2 DBus interface. The MPRIS API is used by Linux desktop environments and tools like playerctl to control media player and provide metadata.

This implementation has been tested with KDE Plasma and playerctl.

There is no relation @hoyon's mpv-mpris.

Installation

The plugin must be installed to the scripts/ subdirectory of the mpv configuration directory. See the mpv manual to find the configuration directory. The filename mpris.so is recommended. Pre-build binary is available in GitHub.

Any other implementations of the MPRIS API (like hoyon/mpv-mpris) must be uninstalled.

Building from source

$ git clone https://github.com/eNV25/mpv-mpris2
$ cargo build --release
$ install -v target/release/libmpv_mpris.so ~/.config/mpv/scripts/mpris.so