🎧 mpris media player command-line controller for vlc, mpv, RhythmBox, web browsers, cmus, mpd, spotify and others.
Version 2.4.1 contains bugfixes and new features.
trunc()
template function (#224)Version 2.3.1 contains bugfixes and new features.
-s
, quiet flag to supress some messages from stderr (#108, #193)daemon
activation command (1266063)unshift
command (#204)Version 2.2.1 contains some bugfixes and new features.
emoji()
template function is used (#167)shift
command to playerctld
to shift the active player (#173)Version 2.1.1 contains some bugfixes and new features.
Playerctl now has a test suite that covers most features of the CLI.
playerctld
playerctld
: an activatable DBus service for selecting the most recently active player (#161, #164, #128)CLI
markup_escape()
formatter function (#133)emoji()
formatter function as no longer experimentaldefault()
formatter function (#142, fd0b4ab)%any
player token for prioritizing player selection (#143)mdoc(7)
(#130)playerctld
if it is present in playersBuild
0.50.0
.Version 2.0.2 contains some minor bugfixes for the CLI and build system.
The author would like to inform you as part of my effort to improve media player integration on the Linux Desktop, I have fixed many bugs in Electron based media players that should be available soon (see #40, #81, #35 which were closed recently).
CLI
--player
command (#112)open
command (#122)Build
--follow
flag (#117)Version 2.0.1 includes new major features and breaking changes to the library and CLI.
CLI
--ignore-player
flag to ignore specific players (#2)--follow
flag to block and print updated values when they change (#37, #98, #101)--player
command acts on the first player without --all-players
(breaking) (#54)metadata [key]
command (#68)metadata
command has tabular output. (breaking) (#72)--format [fmt]
for metadata formatting (#73)duration()
template formatter for formatting durations (#75)shuffle
status (#92)loop
status (#99)open
command to open a URI with the player (#79)can-*
properties)--player
and --ignore-player
commandLibrary
playerctl_list_players()
to public api for listing players (#47)PlayerctlPlayerManager()
class (#100)NULL
instead of empty string when properties aren't found (breaking)status
property in favor of the playback-status
property as an enumshuffle
and loop
status (#92, #99)playerctl_player_new()
from name
to player_name
(breaking)playerctl_player_new_for_source()
to select players based on the source (session or system bus)playerctl_player_new_from_name()
to create a player from a PlayerManager nameplayerctl_player_new()
selects an instance of the player_name
if foundBuild
playerctl
).This is a prerelease of the 2.0 version of Playerctl for testing purposes. For information about what has changed, see this blog post.
Version 0.6.0 includes bug fixes and new features.
NOTE: This will be the last minor release that uses autotools. Playerctl will switch to the meson build system as of the next minor release.
Github releases will have a debian package and an rpm, but these will soon be deprecated as package maintainers create official packages for distros.
Version 0.5.0 includes some new features.
New features:
position
cli command to query and set positionposition
property to Player and method to set position to
library