Enhance metadata options to allow skipping fields during fetch and support extended field options (#1263)

This commit is contained in:
Aditya Chandel
2025-10-05 00:15:11 -06:00
committed by GitHub
parent 41f68a6075
commit ff230f34fc
9 changed files with 689 additions and 424 deletions
@@ -184,10 +184,6 @@ export class LibraryMetadataSettingsComponent implements OnInit {
private getDefaultMetadataOptions(): MetadataRefreshOptions {
return {
libraryId: null,
allP1: null,
allP2: null,
allP3: null,
allP4: null,
refreshCovers: false,
mergeCategories: false,
reviewBeforeApply: false,
@@ -205,9 +201,22 @@ export class LibraryMetadataSettingsComponent implements OnInit {
isbn10: {p1: null, p2: null, p3: null, p4: null},
language: {p1: null, p2: null, p3: null, p4: null},
categories: {p1: null, p2: null, p3: null, p4: null},
cover: {p1: null, p2: null, p3: null, p4: null}
cover: {p1: null, p2: null, p3: null, p4: null},
pageCount: {p1: null, p2: null, p3: null, p4: null},
asin: {p1: null, p2: null, p3: null, p4: null},
goodreadsId: {p1: null, p2: null, p3: null, p4: null},
comicvineId: {p1: null, p2: null, p3: null, p4: null},
hardcoverId: {p1: null, p2: null, p3: null, p4: null},
googleId: {p1: null, p2: null, p3: null, p4: null},
amazonRating: {p1: null, p2: null, p3: null, p4: null},
amazonReviewCount: {p1: null, p2: null, p3: null, p4: null},
goodreadsRating: {p1: null, p2: null, p3: null, p4: null},
goodreadsReviewCount: {p1: null, p2: null, p3: null, p4: null},
hardcoverRating: {p1: null, p2: null, p3: null, p4: null},
hardcoverReviewCount: {p1: null, p2: null, p3: null, p4: null},
moods: {p1: null, p2: null, p3: null, p4: null},
tags: {p1: null, p2: null, p3: null, p4: null}
}
};
}
}