Implements MPRIS interface for chrome, which allows you to control things like play/pause, next/previous, shuffle, etc from command line, allowing you to map keyword shortcuts. You can also fetch information of currently playing video/song and display in status bar for example.
Supported Sites:
- YouTube
- Google Play Music
- More comming soon!
Supported Browsers:
- Chrome
- Chromium
- Install chrome extension
git clone https://github.com/beingmohit/browser-playerctl.git
cd browser-playerctl
./install.py
After following above installation instructions, you can use any MPRIS2 controller/tool/library, some examples:
- Command line: playerctl
- Command line: mpris-ctl
- i3wm status bar: py3status mpris module