Control various media players from a single command line interface.
Project description
So you use several media players, sometimes at the same time (like ‘shell-fm’ running in a terminal, and something else with a GUI), and sometimes you like to try out new media players for a while. And you want the the media buttons on your keyboard to Do The Right Thing without having to reprogram keyboard shortcuts. This package is a solution to that problem.
You can set up keyboard shortcuts to map the play/pause button to ‘player_do playpause’ etc, and player_do generally does the Right Thing.
There is a command ‘install_gnome’ to help set up keyboard shortcuts on GNOME.
The currently supported programs can be seen by running ‘player_do help’. Those that have been tested include the following:
Audacious
Amarok
Banshee
Clementine
cmus
Exaile
Guayadeque
moc
Quodlibet
Rhythmbox
shell-fm
VLC (2.0 and later)
Many other players will be supported due to support for the MPRIS DBUS protocol, without a specific backend. If you only need support for those players, consider using MPRIS-remote.
To add more supported programs, see the existing code in the ‘backends’ directory. Patches gratefully received!
Source code: http://bitbucket.org/spookylukey/playerdo/src
Bug tracking: http://bitbucket.org/spookylukey/playerdo/issues
Change log
Version 0.6
Added support for cmus
Version 0.5.2
Fixed incorrect use of MPRIS2 protocol that caused VLC 2.0 to crash. Thanks to Anonymous for the bug report and patch (tell me your name if you want it here!).
Version 0.5.1
Fixed some Python 3 incompatibilities
Fixed crash if DBus library is not installed
Fixed support for newer version of Banshee
Version 0.5
Added support for quodlibet
Fixed support for Guayadeque
Version 0.4
Added support for MPRIS2 players
Added install_gnome command to help set up keyboard shortcuts on GNOME
Eliminated dependency on shc.hs for the shell-fm backend
Various bug fixes/optimisations
Version 0.3
Fixed fatal packaging bug!
Improved help text for MPRIS players (lists currently running players).
Made dbus dependency optional
Support for Python 3 via 2to3.
Version 0.2
Added support for Banshee.
Implemented ‘test’ command where needed.
Small bug fixes.
Version 0.1
Initial release.
Support for any MPRIS player, shell-fm, mocp and rhythmbox.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.