mirror of
https://github.com/murdos/musicbrainz-userscripts
synced 2024-11-10 05:04:13 +00:00
fixed language mapping
This commit is contained in:
parent
02aa3477a2
commit
1174f66b6f
1 changed files with 2 additions and 1 deletions
|
@ -597,7 +597,7 @@ function Parsefmarelease(albumobject, trackobject) {
|
|||
|
||||
// Language
|
||||
if (hasProp(albumobject, 'meta.Languages')) {
|
||||
fmarelease.language = albumobject.meta.Languages;
|
||||
fmarelease.language = Languages[albumobject.meta.Languages];
|
||||
}
|
||||
|
||||
let alltracklist = [];
|
||||
|
@ -784,6 +784,7 @@ DiscFormats['Audio CD'] = 'CD';
|
|||
|
||||
var Languages = [];
|
||||
Languages['Afrikaans'] = 'afr';
|
||||
Languages['afrikaans'] = 'afr';
|
||||
|
||||
var Countries = [];
|
||||
Countries['South Africa'] = 'ZA';
|
||||
|
|
Loading…
Reference in a new issue