eNV25 / mpv-mpris2

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

Home Page:https://github.com/eNV25/mpv-mpris2

Repository from Github https://github.comeNV25/mpv-mpris2Repository from Github https://github.comeNV25/mpv-mpris2

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

About

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

https://github.com/eNV25/mpv-mpris2

License:MIT No Attribution


Languages

Language:Rust 96.6%Language:Just 3.4%