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
- YouTube Music
- Google Play Music
- Spotify Web Player
- Soundcloud
- More coming soon!
Supported Browsers:
- Brave
- Chrome
- Chromium
- Microsoft Edge
- Vivaldi
- 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