You must have a media button (BT005)
- Bluetooth must be enabled on your device
- The media button needs to be paired with the device.
Install the Mopidy-MediaButton extension by running:
pip install mopidy-mediabutton
Clone/download from git and install by using:
# python setup.py develop or python setup.py install
Restart Mopidy:
# systemctl restart mopidy
- View logs::
- $ nano /var/log/mopidy/mopidy.log
- Edit configuration
- # nano /etc/mopidy/mopidy.conf
If no music is paused/playing, pressing play on the media button will play the default_playlist defined in the configuraiton
[mediabutton] default_playlist = PressPlayOnMediaButton button_name = BT005
This may require additional permissions for the button event watcher.
run as sudo...
The extension is enabled by default if all dependencies are available.
- Original author: Stephen Harrison
- Current maintainer: Stephen Harrison
- Contributors
- Initial release