A simple script to search and delete ListenBrainz listens.
go install github.com/sav/brainz@latest
First define LISTENBRAINZ_TOKEN
environment with an API Token from ListenBrainz website:
export LISTENBRAINZ_TOKEN=<token>
./brainz -l -u <user> -s <regexp>
./brainz -d -u <user> -s <regexp>