mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-05 23:15:03 +02:00
Add volume number parsing to scanner
This commit is contained in:
parent
80e2e35dcd
commit
07994d38d5
5 changed files with 32 additions and 8 deletions
|
@ -151,7 +151,7 @@ class Book {
|
|||
// If audiobook directory path was changed, check and update properties set from dirnames
|
||||
// May be worthwhile checking if these were manually updated and not override manual updates
|
||||
syncPathsUpdated(audiobookData) {
|
||||
var keysToSync = ['author', 'title', 'series', 'publishYear']
|
||||
var keysToSync = ['author', 'title', 'series', 'publishYear', 'volumeNumber']
|
||||
var syncPayload = {}
|
||||
keysToSync.forEach((key) => {
|
||||
if (audiobookData[key]) syncPayload[key] = audiobookData[key]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue