mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-02 14:09:43 +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
|
|
@ -23,6 +23,7 @@ const CoverManager = require('../managers/CoverManager')
|
|||
const LibraryScan = require('./LibraryScan')
|
||||
const OpfFileScanner = require('./OpfFileScanner')
|
||||
const NfoFileScanner = require('./NfoFileScanner')
|
||||
const DaisyFileScanner = require('./DaisyFileScanner')
|
||||
const AbsMetadataFileScanner = require('./AbsMetadataFileScanner')
|
||||
|
||||
/**
|
||||
|
|
@ -792,6 +793,14 @@ class BookScanner {
|
|||
await OpfFileScanner.scanBookOpfFile(this.libraryItemData.metadataOpfLibraryFile, this.bookMetadata)
|
||||
}
|
||||
|
||||
/**
|
||||
* Metadata from DAISY ncc.html file
|
||||
*/
|
||||
async daisyFile() {
|
||||
if (!this.libraryItemData.metadataDaisyNccLibraryFile) return
|
||||
await DaisyFileScanner.scanBookDaisyFile(this.libraryItemData.metadataDaisyNccLibraryFile, this.bookMetadata, this.audioFiles)
|
||||
}
|
||||
|
||||
/**
|
||||
* Metadata from metadata.json
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue