Playerctl is a command-line utility and library for controlling media players that implement the MPRIS D-Bus Interface Specification. Playerctl makes it easy to bind player actions, such as play and pause, to media keys. You can also get metadata about the playing track such as the artist and title for integration into statusline generators or other command-line tools.
For more advanced users, Playerctl provides an introspectable library available in your favorite scripting language that allows more detailed control like the ability to subscribe to media player events or get metadata such as artist and title for the playing track.
Soon to be packaged for Fedora 28 and later. This COPR is used for testing the official package updates before submitting a new package update via Bodhi. For the typical person, I recommend to wait for the final package to make it into Fedora.
Use the provided repository file from this COPR for your distribution.
Add the repository file with other RPM repositories on your system.
The package name is
sudo $(echo "your-package-manager-here") install playerctl
The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).
|Fedora 37||aarch64 (0)*, i386 (27)*, ppc64le (0)*, x86_64 (0)*||Fedora 37 (33 downloads)|
|Fedora 38||aarch64 (0)*, i386 (18)*, ppc64le (0)*, x86_64 (0)*||Fedora 38 (24 downloads)|
|Fedora 39||aarch64 (0)*, i386 (18)*, ppc64le (0)*, x86_64 (0)*||Fedora 39 (10 downloads)|
|Fedora rawhide||aarch64 (0)*, i386 (11)*, ppc64le (11)*, x86_64 (11)*||Fedora rawhide (141 downloads)|
|Mageia 8||aarch64 (9)*||Mageia 8 (67 downloads)|
|Mageia cauldron||aarch64 (0)*, i586 (9)*, x86_64 (13)*||Mageia cauldron (115 downloads)|
|openSUSE Tumbleweed||i586 (6)*, ppc64le (6)*, x86_64 (6)*||openSUSE Tumbleweed (134 downloads)|
* Total number of packages downloaded in the last seven days.