#mpris #dbus #playerctl

sys playerctl-sys

Unsafe bindings to libplayerctl

2 releases

2.4.5 Jul 12, 2022
0.1.6 Aug 15, 2022

#14 in #mpris

28 downloads per month

LGPL-3.0-or-later

305KB
6.5K SLoC

C 5K SLoC // 0.1% comments Python 1K SLoC // 0.0% comments Rust 158 SLoC // 0.1% comments Shell 63 SLoC // 0.0% comments Zsh 57 SLoC BASH 57 SLoC Bitbake 13 SLoC INI 2 SLoC

playerctl-sys

Version License

Unsafe Rust bindings to libplayerctl. This crate makes use of the Playerctl and GLib sources, which are licensed under LGPL-3.0. Some API members require types from glib-sys. Note that the glib crate re-exports glib-sys as glib::ffi.

Dependencies

You must have clang and glib-2.0 installed on your system to build this crate. In addition, you must either have playerctl or meson installed. If playerctl is not found, meson will be used to build it from source. It is strongly recommended to install playerctl as that will take care of both the glib-2.0 and the meson/playerctl requirement.

Relevant documentation

Dependencies

~0.4–2.5MB
~51K SLoC