Music Player Daemon (MPD) is a free and open music player server. It plays audio files, organizes playlists and maintains a music database. In order to interact with it, a client program is needed. The MPD distribution includes mpc, a simple command line client.
MPDScribble is an official client used to write information about tracks being played to a remote service for information aggregation.
https://www.musicpd.org/clients/mpdscribble/
Run the image with two environment variables defining the remote MPD location.
Attach a volume mount with a configuration file with your selected Scrobble locations.
Tested and validated to be working with Maloja.
docker run --name mpdscribble \
-e "MPD_HOST=192.168.1.1" \
-e "MPD_PORT=6600" \
-v "./mpdscribble.conf:/etc/mpdscribble.conf"
-d ghcr.io/tomswartz07/mpdscribble-docker:latest