mirror of
https://github.com/murdos/musicbrainz-userscripts
synced 2024-12-13 11:52:27 +00:00
Map Discogs "Unofficial Release" to MusicBrainz "Bootleg"
This commit is contained in:
parent
39149d1cae
commit
36de6b612e
1 changed files with 1 additions and 0 deletions
|
@ -314,6 +314,7 @@ function parseDiscogsRelease(data) {
|
|||
if (discogsRelease.formats[i].name == "Vinyl" && desc == "LP") release_formats[release_formats.length-1] = '12" Vinyl';
|
||||
// Release status
|
||||
if (desc.match(/Promo|Smplr/)) release.status = "promotion";
|
||||
if (desc.match(/Unofficial Release/)) release.status = "bootleg";
|
||||
// Release type
|
||||
if (desc.match(/Compilation/)) release.type = "compilation";
|
||||
if (desc.match(/Single/)) release.type = "single";
|
||||
|
|
Loading…
Reference in a new issue