Scrobbler for mpd.
Build with:
$ go build
Then create a config file somewhere, for example
~/.config/mpd-scrobbler/config.toml
, in the format:
[lastfm]
key = "...your lastfm api key..."
secret = "...your lastfm secret..."
username = "...your lastfm username..."
password = "...your lastfm password..."
[trobble]
key = "...your trobble api key..."
secret = "...your trobble secret..."
username = "...your trobble username..."
password = "...your trobble password..."
uri = "...your trobble uri..."
As shown multiple sections can be added for other services by also specifying the uri to the api endpoint. It can then be run with:
$ mpd-scrobbler --config ~/.config/mpd-scrobbler/config.toml
...