mpdscribble
mpdscribble - A Music Player Daemon (MPD) client which submits information about tracks being played to a scrobbler (e.g. last.fm).
Installing mpdscribble
Requirements
- a C++20 compliant compiler (e.g. gcc or clang)
- libmpdclient 2.2
- libcurl
- libgcrypt
- Meson 0.47 and Ninja
Compiling mpdscribble
Download and unpack the source code. In the mpdscribble directory, type:
meson build
The configure option --help
lists all available compile time
options.
Compile and install:
cd build ninja install
Now edit the config file at ~/.mpdscribble/mpdscribble.conf
(or /etc/mpdscribble.conf
), and enter your last.fm
account information.
Rating / Love
With MPD 0.17 or later, clients can submit track ratings over the client-to-client protocol. To do that, the client sends the following command to mpd:
sendmessage mpdscribble love
The song that is currently playing will be rated with the "love" attribute, as soon as it gets submitted to the scrobbler.