mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-22 11:49:37 +00:00
fix using OMMs with regular scan option
This commit is contained in:
parent
8754f0c25f
commit
6064e8af87
2 changed files with 2 additions and 3 deletions
|
|
@ -358,12 +358,11 @@ class Book {
|
|||
return audioFile
|
||||
})
|
||||
|
||||
Logger.debug(`[Book] WE ARE INSIDE UPDATE AUDIO TRACKS ========================`)
|
||||
this.rebuildTracks()
|
||||
}
|
||||
|
||||
rebuildTracks(preferOverdriveMediaMarker) {
|
||||
Logger.debug(`[Book] we are rebuilding the tracks!`)
|
||||
Logger.debug(`[Book] Tracks being rebuilt...!`)
|
||||
Logger.debug(`[Book] preferOverdriveMediaMarker: ${JSON.stringify(preferOverdriveMediaMarker)}`)
|
||||
this.audioFiles.sort((a, b) => a.index - b.index)
|
||||
this.missingParts = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue