mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-20 19:06:06 +01:00
Sync tracks always
This commit is contained in:
parent
1dc01615dd
commit
3141e74513
@ -360,11 +360,9 @@ class Audiobook {
|
||||
|
||||
syncAudioFile(audioFile, fileScanData) {
|
||||
var hasUpdates = audioFile.syncFile(fileScanData)
|
||||
if (hasUpdates) {
|
||||
var track = this.tracks.find(t => t.ino === audioFile.ino)
|
||||
if (track) {
|
||||
track.syncFile(fileScanData)
|
||||
}
|
||||
var track = this.tracks.find(t => t.ino === audioFile.ino)
|
||||
if (track && track.syncFile(fileScanData)) {
|
||||
hasUpdates = true
|
||||
}
|
||||
return hasUpdates
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user