mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-02 09:14:40 +02:00
Add:Batch add/remove books from collection
This commit is contained in:
parent
b76e3e4c54
commit
448514af9e
7 changed files with 166 additions and 42 deletions
|
@ -149,15 +149,14 @@ class AudioFileScanner {
|
|||
}
|
||||
}
|
||||
|
||||
if (hasUpdated) {
|
||||
audiobook.rebuildTracks()
|
||||
}
|
||||
|
||||
// Set book details from audio file ID3 tags, optional prefer
|
||||
if (audiobook.setDetailsFromFileMetadata(preferAudioMetadata)) {
|
||||
hasUpdated = true
|
||||
}
|
||||
|
||||
if (hasUpdated) {
|
||||
audiobook.rebuildTracks()
|
||||
}
|
||||
}
|
||||
return hasUpdated
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue