MPRIS command-line controller and library for media players
https://github.com/acrisci/playerctl
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.
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.
- Developed at multimedia:apps
- Sources inherited from project openSUSE:Factory
-
2
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:seife:Factory/playerctl && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
playerctl-2.0.1.tar.gz | 0000043700 42.7 KB | |
playerctl.changes | 0000004560 4.45 KB | |
playerctl.spec | 0000003781 3.69 KB |
Revision 2 (latest revision is 4)
Stephan Kulow (coolo)
accepted
request 671244
from
Dakota Williams (RaineForest)
(revision 2)
- Update to version 2.0.1 CLI: * Add `--ignore-player` flag to ignore specific players (#2) * Add `--follow` flag to block and print updated values when they change (#37, #98, #101) * The `--player` command acts on the first player without `--all-players` (breaking) (#54) * Accept multiple keys for `metadata [key]` command (#68) * `metadata` command has tabular output. (breaking) (#72) * Add `--format [fmt]` for metadata formatting (#73) * Add `duration()` template formatter for formatting durations (#75) * Print player name and instance with format strings (#90) * Add command to get and set `shuffle` status (#92) * Add a command to get and set `loop` status (#99) * Add the `open` command to open a URI with the player (#79) * Fix some errors with utf8 printing (#80) * Skip players from selection when they don't support a command (determined by the `can-*` properties) * Select all player instances with the `--player` and `--ignore-player` command * Print help information to stdout (not stderr) when no arguments are passed Library: * add `playerctl_list_players()` to public api for listing players (#47) * Implement the "seeked" signal on the player (#94) * Add the "volume" signal on the player (#95) * Deprecate the "play", "pause", and "stopped" signal for a single "status" signal (#96) * Add the `PlayerctlPlayerManager()` class (#100) * Cache and compute the position property (#102) * Remove chaining abilities from the library (breaking) * Library query functions return `NULL` instead of empty string when properties aren't found (breaking) * Deprecate `status` property in favor of the `playback-status` property as an enum * Add library functions for `shuffle` and `loop` status (#92, #99) * Deprecate setting volume via the object properties interface * Fix the "exit" signal * Add properties "can-control", "can-play", "can-pause", "can-seek", "can-go-next", "can-go-previous" * Add the "source" property to determine the source of the player (session or system bus) * Change first keyword arg for `playerctl_player_new()` from `name` to `player_name` (breaking) * Add `playerctl_player_new_for_source()` to select players based on the source (session or system bus) * Add `playerctl_player_new_from_name()` to create a player from a PlayerManager name * `playerctl_player_new()` selects an instance of the `player_name` if found * Add documentation for the entire public library API Build: * Remove autotools and switch to the meson build system (breaking) (#57) * Fix various compiler warnings (#97) * Remove library version from pkg-config name and add it to the so in the standard way (new pkg-config name is just `playerctl`). version 0.6.1 * Bugfix: unref of a null player when no players are present * Playerctl now searches the system bus for players * Parse trackid as a string as a workaround for noncompliant players * Various meson fixes version 0.6.0 * control multiple players at once by putting commas between the names * add the --all-players option to control all players at once * lib: better cache invalidation strategy for getting properties * bugfix: Set position in fractional seconds * Fix various memory leaks and errors - Dropped playerctl-0.5.0-fix-parallel-build.patch (no longer compatible) - Switched build to meson - Added -doc subpackage
Comments 0