|
@@ -4,13 +4,20 @@ An ActivityWatch watcher for MPD.
|
|
Based of off [aw-watcher-spotify](https://github.com/ActivityWatch/aw-watcher-spotify)
|
|
Based of off [aw-watcher-spotify](https://github.com/ActivityWatch/aw-watcher-spotify)
|
|
|
|
|
|
## Development
|
|
## Development
|
|
-1. Install pip packages from the requirements.txt.
|
|
|
|
-2. `cd aw_watcher_mpd`
|
|
|
|
-3. `python main.py --testing`
|
|
|
|
|
|
+1. Install pip packages from the requirements.txt.
|
|
|
|
+`pip install -r requirements.txt`
|
|
|
|
+2. Start ActivityWatch in testing mode.
|
|
|
|
+`aw-qt --testing`
|
|
|
|
+3. `cd aw_watcher_mpd`
|
|
|
|
+4. `python main.py --testing`
|
|
|
|
|
|
## Building
|
|
## Building
|
|
|
|
+Make sure you have pyinstaller installed before you start.
|
|
|
|
+`pip install -U pyinstaller`
|
|
1. make clean
|
|
1. make clean
|
|
-2. make package
|
|
|
|
|
|
+2. make package
|
|
|
|
+
|
|
|
|
+`dist/aw-watcher-mpd` is your outputted folder
|
|
|
|
|
|
## Installing (Linux)
|
|
## Installing (Linux)
|
|
To install aw-watcher-mpd, first build it, then follow the below steps to install and automatically start the watcher when ActivityWatch starts.
|
|
To install aw-watcher-mpd, first build it, then follow the below steps to install and automatically start the watcher when ActivityWatch starts.
|