Open JOJ0 opened 1 year ago
Thanks @JOJ0 for filing this. I may have seen this error. If I recall correctly, strings with [
or ]
also cause this issue.
I did not touch the search part, but I am guessing we will have to pre-process the strings to remove the offending characters.
Hi, I had a quick look what the Discogs plugin actually does for preprocessing the query string. This is what I found: https://github.com/beetbox/beets/blob/472c3ab7975e5933f8111a2182f177a0fe5642d5/beetsplug/discogs.py#L243-L247
Not sure if it helps. You could also have a look at the Deezer plugin, I suppose it is a little more similar to the Spotify plugin than the Discogs plugin is.
HTH
While working on something else I realized that a string containing single quotes is not handled well (educated guess! no further testing if it really is the cause, sorry!) I thought I'll let you know @arsaboo
Problem
Setup
My configuration (output of
beet config -e
) is: