Merge pull request #486 from selfhost-alt/quickmatch-updates-media-descriptions

Set description when quick matching media
This commit is contained in:
advplyr 2022-04-23 06:00:59 -05:00 committed by GitHub
commit 399e0ea0bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -642,7 +642,7 @@ class Scanner {
} }
// Update media metadata if not set OR overrideDetails flag // Update media metadata if not set OR overrideDetails flag
const detailKeysToUpdate = ['title', 'subtitle', 'narrator', 'publisher', 'publishedYear', 'asin', 'isbn'] const detailKeysToUpdate = ['title', 'subtitle', 'description', 'narrator', 'publisher', 'publishedYear', 'asin', 'isbn']
const updatePayload = {} const updatePayload = {}
for (const key in matchData) { for (const key in matchData) {
if (matchData[key] && detailKeysToUpdate.includes(key)) { if (matchData[key] && detailKeysToUpdate.includes(key)) {