Add:forceRescan rescans existing audio files,Fix:False positives for if an audio file was updated

This commit is contained in:
advplyr 2021-12-05 11:29:42 -06:00
parent 040548c6db
commit 975984e8d1
5 changed files with 50 additions and 24 deletions

View file

@ -139,12 +139,10 @@ class AudioFileScanner {
}
if (existingAF) {
if (audiobook.updateAudioFile(newAF)) {
// console.log('update dauido file')
hasUpdated = true
}
} else {
audiobook.addAudioFile(newAF)
// console.log('added auido file')
hasUpdated = true
}
}