mirror of
https://github.com/murdos/musicbrainz-userscripts
synced 2024-12-13 11:52:27 +00:00
Discogs: "Single Sided" != "Single"
Fix Discogs import does not properly understand "Single Sided" https://github.com/murdos/musicbrainz-userscripts/issues/66
This commit is contained in:
parent
347ec031cd
commit
3492ec595e
1 changed files with 1 additions and 1 deletions
|
@ -544,7 +544,7 @@ function parseDiscogsRelease(data) {
|
|||
// Release type
|
||||
if (desc.match(/Compilation/)) release.secondary_types.push("compilation");
|
||||
if (desc.match(/^Album/)) release.type = "album";
|
||||
if (desc.match(/Single/)) release.type = "single";
|
||||
if (desc.match(/Single(?! Sided)/)) release.type = "single";
|
||||
if (desc.match(/EP|Mini-Album/)) release.type = "ep";
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue