mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-07 16:04:54 +02:00
Update chapters modal, search page, fix version check, ignore matching audio file paths on rescan
This commit is contained in:
parent
37c38e69df
commit
e1fd74caaf
12 changed files with 146 additions and 32 deletions
|
@ -100,7 +100,12 @@ class Scanner {
|
|||
hasUpdatedAudioFiles = true
|
||||
}
|
||||
} else {
|
||||
newAudioFiles.push(file)
|
||||
var audioFileWithMatchingPath = existingAudiobook.getAudioFileByPath(file.fullPath)
|
||||
if (audioFileWithMatchingPath) {
|
||||
Logger.warn(`[Scanner] Audio file with path already exists with different inode, New: "${file.filename}" (${file.ino}) | Existing: ${audioFileWithMatchingPath.filename} (${audioFileWithMatchingPath.ino})`)
|
||||
} else {
|
||||
newAudioFiles.push(file)
|
||||
}
|
||||
}
|
||||
})
|
||||
if (newAudioFiles.length) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue