An ActivityWatch watcher for MPD.
|
3 jaren geleden | |
---|---|---|
aw_watcher_mpd | 3 jaren geleden | |
.gitignore | 3 jaren geleden | |
Makefile | 3 jaren geleden | |
README.md | 3 jaren geleden | |
aw-watcher-mpd.spec | 3 jaren geleden | |
requirements.txt | 3 jaren geleden |
An ActivityWatch watcher for MPD.
Based of off aw-watcher-spotify
cd aw_watcher_mpd
python main.py --testing
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
/usr/bin/aw-watcher-mpd
/opt/aw-watcher-mpd/aw-watcher-mpd "$@"
3. chmod +x `/usr/bin/aw-watcher-mpd`
4. Edit `~/.config/activitywatch/aw-qt/aw-qt.toml`
Uncomment the first two lines and add `aw-watcher-mpd` to autostart.
Example:
```toml
[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 ~/.config/activitywatch/aw-watcher-mpd/aw-watcher-mpd.toml
.