mirror of
https://github.com/murdos/musicbrainz-userscripts
synced 2024-11-10 13:14:16 +00:00
qobuz_importer.user.js: Fix release country error on import.
The GB is valid instead of UK when importing. Set the default to world wide. Does qobuz have any georestrictions on downloadable sales even.
This commit is contained in:
parent
338f9dea52
commit
42e0e68d94
1 changed files with 2 additions and 3 deletions
|
@ -43,10 +43,9 @@ function parseRelease(data) {
|
|||
// Release information global to all Beatport releases
|
||||
release.packaging = 'None';
|
||||
release.barcode = data.upc;
|
||||
release.country = "";
|
||||
release.country = "XW";
|
||||
if (i18n_global && i18n_global.zone) {
|
||||
if (i18n_global.zone == 'GB') release.country = 'UK';
|
||||
else release.country = i18n_global.zone;
|
||||
release.country = i18n_global.zone;
|
||||
}
|
||||
release.status = 'official';
|
||||
release.urls = [];
|
||||
|
|
Loading…
Reference in a new issue