so i made this python script that reads the song playing on clementine and scrobbles it to my custom scrobbling software hosted at `antisocial.moe`. it might be overkill, but it works for me.
## requirements
- linux (because dbus and clementine and stuff)
- python 3.x
- clementine music player
-`dbus-python`
-`Pillow` (for image processing)
-`requests` (for http requests)
## installation
install the required python packages:
```bash
pip install dbus-python Pillow requests
```
make sure you have clementine installed and running.
## environment variables
set the following environment variables:
-`IMAGE_SERVER`: the url of your image server (for album covers)
-`IMAGE_SERVER_AUTH`: your bearer token for the image server
export them in your shell or add to your `.bashrc`: