Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 786 Bytes

README.md

File metadata and controls

35 lines (27 loc) · 786 Bytes

mpd-scrobbler

Scrobbler for mpd.

Install with:

$ go get hawx.me/code/mpd-scrobbler

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
...