Discogs Import Script Syntax Error

I am very new to Picard, still learning, and thought I’d learn first on compilations. One compilation I have is on vinyl, and nothing about it exists already in MusicBrainz, but Discogs has what looks like high-quality data. I found the script below. But when I paste it into the script editor window, it says “Unexpected character ’ ’ at position 8, line 45”. I see some discussion of it from 2016, but this version was evidently worked on this past June (2019).

It seems a little early in my career with Picard to try to figure it out on my own…

Can anyone point me in the right direction?

I installed it this way: Picard Linux Install - MusicBrainz

Ubuntu 18.04 (32-bit)
Picard 1.4.2
PyQt 4.12.1
Qt 4.8.7
Mutagen 1.38

// [at-sign]name Import Discogs releases to MusicBrainz|
// [at-sign]description Add a button to import Discogs releases to MusicBrainz and add links to matching MusicBrainz entities for various Discogs entities (artist,release,master,label)|
// [at-sign]version 2019.6.12.1|

Userscripts are not Picard plugins, but (usually) small extensions for your browser; see https://wiki.musicbrainz.org/Guides/Userscripts

4 Likes

Thank you so much. I’d have spent a long time looking. First results are here and here.