mpd-brainz is an MPD (Music Player Daemon) scrobbler designed to seamlessly integrate with ListenBrainz for accurate music listening tracking.
This project aims to simplify the process of scrobbling music played through MPD to ListenBrainz. By utilizing this scrobbler, users can effortlessly contribute their listening habits to the ListenBrainz platform.
To install mpd-brainz, run the following command:
go install github.com/sav/mpd-brainz@latest
Configuring mpd-brainz is straightforward:
-
Environment Variable: Set the environment variable
LISTENBRAINZ_TOKEN
with your ListenBrainz Authentication Token. -
Configuration File: Alternatively, create a file
~/.config/mpd-brainz/mpd-brainz.conf
with the line:
listenbrainz_token: "<token>"
Ensure you have a valid ListenBrainz Authentication Token to successfully scrobble your music.
Once running, mpd-brainz will automatically scrobble your MPD music playback to ListenBrainz. Simply start your MPD server, and mpd-brainz will handle the rest.
./mpd-brainz -v
To import your Shazam library exported as a CSV file into mpd-brainz
, follow these steps:
-
Prepare your Shazam Library CSV: Export your Shazam library as a CSV file. Ensure the exported file contains the necessary fields or data that
mpd-brainz
expects. -
Execute the Import Command: Use the following command syntax to import your Shazam library:
./mpd-brainz -i shazamlibrary.csv
Contributions to this project are welcome! Feel free to open issues for bug reports or suggest enhancements via pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.