MusicBrainz AR disambiguation

By Jugdish Last update Jun 14, 2007 — Installed 348 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 5 posts, 4 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Chiark Scriptwright

Seems a small change to the track page has broken this; I fixed mine by changing the following lines:

var artist = data.match(/^\s*<span class="linkartist">.*?(<a href=.*? title="Artist.*?">.*?<\/a>)<\/span>/m);

to

var artist = data.match(/^\s*<span class="linkartist-icon">.*?(<a href=.*? title="Artist.*?">.*?<\/a>)<\/span>/m);

and

var release = data.match(/^\s*<span class="linkrelease">.*?(<a href=.*? title="Release">.*?<\/a>)<\/span>/m);

to

var release = data.match(/^\s*<span class="linkrelease-icon">.*?(<a href=.*? title="Release">.*?<\/a>)<\/span>/m);

 
Jugdish Script's Author

Updated script to add the release date (first one listed among release events) for releases.

 
Jugdish Script's Author

Thanks for the heads up, this bug has been fixed in the latest version.

 
Brian Schwei... Scriptwright

It works really well - just AR'd up 31 "cover of" Beatles ARs tonight, and this saved a lot of headaches. I noticed it's pulling wierd artists on the target side (at least for Beatles tracks) - I kept getting Clapton, Hendrix, etc, as artist instead of the Beatles - and I'm sure that it was the Beatles. Album title was always right, though, so I could tell from that.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel