Map Discogs "Unofficial Release" to MusicBrainz "Bootleg"

This commit is contained in:
nikki 2014-08-15 00:51:44 +02:00
parent 39149d1cae
commit 36de6b612e

View file

@ -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";