diff --git a/server/scanner/Scanner.js b/server/scanner/Scanner.js index 2caf9e0e..f9d6273c 100644 --- a/server/scanner/Scanner.js +++ b/server/scanner/Scanner.js @@ -819,7 +819,7 @@ class Scanner { if ((!libraryItem.media.tags.length || options.overrideDetails)) { var tagsArray = [] if (Array.isArray(matchData[key])) tagsArray = [...matchData[key]] - else tagsArray = tagsArray[key].split(',').map(v => v.trim()).filter(v => !!v) + else tagsArray = matchData[key].split(',').map(v => v.trim()).filter(v => !!v) updatePayload[key] = tagsArray } } else if ((!libraryItem.media.metadata[key] || options.overrideDetails)) {