An ActivityWatch watcher for MPD.
Based of off aw-watcher-spotify
pip install -r requirements.txt
python main.py --testing
Make sure you have pyinstaller installed before you start.
pip install -U pyinstaller
dist/aw-watcher-mpd is your outputted folder
To install aw-watcher-mpd, first build it, then follow the below steps to install and automatically start the watcher when ActivityWatch starts.
cp -R dist/aw-watcher-mpd /opt
#!/bin/bash /opt/aw-watcher-mpd/aw-watcher-mpd "$@"
[aw-qt] autostart_modules = ["aw-server", "aw-watcher-afk", "aw-watcher-window", "aw-watcher-mpd"]
To configure settings for aw-watcher mpd such as the MPD connection details and ActivityWatch poll time, first run the application once, and then edit