diff --git a/lib/import_functions.js b/lib/import_functions.js index 0b4b68e..5c24170 100644 --- a/lib/import_functions.js +++ b/lib/import_functions.js @@ -122,6 +122,9 @@ var MBReleaseImportHelper = (function() { appendParameter(parameters, 'script', release.script); appendParameter(parameters, 'packaging', release.packaging); + // ReleaseGroup + appendParameter(parameters, 'release_group', release.release_group_mbid); + // Date + country appendParameter(parameters, 'country', release.country); if (!isNaN(release.year) && release.year != 0) { appendParameter(parameters, 'date.year', release.year); }; @@ -190,7 +193,7 @@ var MBReleaseImportHelper = (function() { var ac = artist_credit[i]; appendParameter(parameters, paramPrefix+'artist_credit.names.'+i+'.name', ac.credited_name); appendParameter(parameters, paramPrefix+'artist_credit.names.'+i+'.artist.name', ac.artist_name); - appendParameter(parameters, paramPrefix+'artist_credit.names.'+i+'.artist.mbid', ac.artist_mbid); + appendParameter(parameters, paramPrefix+'artist_credit.names.'+i+'.mbid', ac.mbid); if (typeof ac.joinphrase != 'undefined' && ac.joinphrase != "") { appendParameter(parameters, paramPrefix+'artist_credit.names.'+i+'.join_phrase', ac.joinphrase); }