feat: support Douban as a metadata provider (#1000)
* feat: support Douban as metadata provider. Douban.com is a platform of sharing films, music and books in China. * format code * support douban reviews --------- Co-authored-by: Aditya Chandel <8075870+adityachandelgit@users.noreply.github.com>
This commit is contained in:
co-authored by
Aditya Chandel
parent
3e64d35957
commit
342039ea4b
@@ -21,6 +21,8 @@ export interface MetadataMatchWeights {
|
||||
goodreadsReviewCount: number;
|
||||
hardcoverRating: number;
|
||||
hardcoverReviewCount: number;
|
||||
doubanRating: number;
|
||||
doubanReviewCount: number;
|
||||
coverImage: number;
|
||||
}
|
||||
|
||||
@@ -47,6 +49,7 @@ export interface MetadataProviderSettings {
|
||||
goodReads: Goodreads;
|
||||
hardcover: Hardcover;
|
||||
comicvine: Comicvine;
|
||||
douban: Douban;
|
||||
}
|
||||
|
||||
export interface Amazon {
|
||||
@@ -73,6 +76,10 @@ export interface Comicvine {
|
||||
apiKey: string;
|
||||
}
|
||||
|
||||
export interface Douban {
|
||||
enabled: boolean;
|
||||
}
|
||||
|
||||
export interface MetadataPersistenceSettings {
|
||||
saveToOriginalFile: boolean;
|
||||
backupMetadata: boolean;
|
||||
|
||||
Reference in New Issue
Block a user