mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-03 06:29:42 +00:00
first iteration of parsing metadata and chapter names from ncc.html file
This commit is contained in:
parent
9defe67fe9
commit
f157e63fd7
10 changed files with 394 additions and 6 deletions
|
|
@ -173,6 +173,11 @@ class LibraryItemScanData {
|
|||
return this.libraryFiles.find(lf => lf.metadata.ext.toLowerCase() === '.nfo')
|
||||
}
|
||||
|
||||
/** @type {LibraryItem.LibraryFileObject} */
|
||||
get metadataDaisyNccLibraryFile() {
|
||||
return this.libraryFiles.find(lf => lf.metadata.filename?.toLowerCase() === 'ncc.html')
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {LibraryItem} existingLibraryItem
|
||||
|
|
@ -374,4 +379,4 @@ class LibraryItemScanData {
|
|||
}
|
||||
}
|
||||
}
|
||||
module.exports = LibraryItemScanData
|
||||
module.exports = LibraryItemScanData
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue