Updated matching with latest changes, Added override toggle for quickmatch, added asin and isbn to quickmatch query, updated audible provider to use audnexus

This commit is contained in:
Kaldigo 2022-05-23 03:56:51 +01:00
parent f2e16017f6
commit d15264832d
8 changed files with 192 additions and 98 deletions

View file

@ -8,6 +8,7 @@ class ScanOptions {
this.storeCoverWithItem = false
this.preferAudioMetadata = false
this.preferOpfMetadata = false
this.preferMatchedMetadata = false
if (options) {
this.construct(options)
@ -32,7 +33,8 @@ class ScanOptions {
findCovers: this.findCovers,
storeCoverWithItem: this.storeCoverWithItem,
preferAudioMetadata: this.preferAudioMetadata,
preferOpfMetadata: this.preferOpfMetadata
preferOpfMetadata: this.preferOpfMetadata,
preferOpfMetadata: this.preferMatchedMetadata
}
}
@ -44,6 +46,7 @@ class ScanOptions {
this.storeCoverWithItem = serverSettings.storeCoverWithItem
this.preferAudioMetadata = serverSettings.scannerPreferAudioMetadata
this.preferOpfMetadata = serverSettings.scannerPreferOpfMetadata
this.preferOpfMetadata = serverSettings.scannerPreferMatchedMetadata
}
}
module.exports = ScanOptions