Fix bug for certain scan types

Needed to look in to scanOptions to access the properties I wanted.
It's..... unclear to me if this needs to be done for those other ones as
well. I think so?
This commit is contained in:
jmt-gh 2022-06-12 00:47:54 -07:00
parent 5a071babe9
commit 5643c846ee
2 changed files with 9 additions and 3 deletions

View file

@ -357,6 +357,7 @@ class Book {
return audioFile
})
Logger.debug(`[Book] WE ARE INSIDE UPDATE AUDIO TRACKS ========================`)
this.rebuildTracks()
}
@ -496,7 +497,6 @@ class Book {
return markers
}
setChapters(preferOverdriveMediaMarker = false) {
// If 1 audio file without chapters, then no chapters will be set
var includedAudioFiles = this.audioFiles.filter(af => !af.exclude)