fixed language mapping

This commit is contained in:
madmouser1 2019-01-05 10:03:35 +00:00 committed by Aurélien Mino
parent 02aa3477a2
commit 1174f66b6f

View file

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