Control all of your media players with a single command
OmniPause is a python program to control media players via DBus.
Have you ever wished you could control the playback of all your running media players with a single command or hotkey? Until now, there was no real good way to do this without spending all of your free time scripting playerctl. Now, with OmniPause, you can use a single, universal command to control all of your media players, with absolutely zero scripting required!
Setup is very simple. Simply run sudo make install
in the project directory.
Using the program is equally simple.
omnipause pause
omnipause play
omnipause stop
omnipause next
omnipause previous
omnipause toggle
omnipause toggle
works by pausing all of the players if any of them are playing.
If none of them are currently playing, it resumes playback any players paused by omnipause.This project was written over the course of 4-5 sleep-deprived hours. Additionally, I am not super familiar with Python or DBus. If you find a bug or find my code quality appalling, please submit a pull request.
This project is released under GPL 3.0.