Put together a pretty cool live @ListenBrainz widget on my website! Auto-updates every 10 seconds, and shows as much metadata as I can cram into the widget space. All that metadata is the bonus of ListenBrainz being so closely tied to MusicBrainz

(and don't worry, I have some pretty aggressive caching so I won't hammer the ListenBrainz or MusicBrainz APIs)

https://www.piperswe.me/#playing-now

#htmx #listenbrainz #indieweb

@tommi @ListenBrainz The source code is here: https://gitlab.com/piperswe/pmctools

If you don't want to go through the hassle of deploying that code, you can embed my instance with an iframe like this:

<iframe src="https://www.piperswe.me/cgi-bin/tools/now-playing/<listenbrainz username>?iframe" width="800" height="125" style="border: 0;"></iframe>

and you can tweak the width/height as you wish