diff --git a/discogs_importer.user.js b/discogs_importer.user.js index da878e1..d3335dd 100644 --- a/discogs_importer.user.js +++ b/discogs_importer.user.js @@ -703,7 +703,7 @@ function parseDiscogsRelease(data) { // Create release if needed let discindex = releaseNumber - 1; - if (!release.discs[discindex]) { + while (!release.discs[discindex]) { let newdisc = { tracks: [], format: release_formats[discindex],