mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-29 01:08:56 +01:00
Merge branch 'master' of https://github.com/advplyr/audiobookshelf
This commit is contained in:
commit
d440a9fd6a
@ -819,7 +819,7 @@ class Scanner {
|
|||||||
if ((!libraryItem.media.tags.length || options.overrideDetails)) {
|
if ((!libraryItem.media.tags.length || options.overrideDetails)) {
|
||||||
var tagsArray = []
|
var tagsArray = []
|
||||||
if (Array.isArray(matchData[key])) tagsArray = [...matchData[key]]
|
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
|
updatePayload[key] = tagsArray
|
||||||
}
|
}
|
||||||
} else if ((!libraryItem.media.metadata[key] || options.overrideDetails)) {
|
} else if ((!libraryItem.media.metadata[key] || options.overrideDetails)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user