feat(metadata): initial implementation of OpenLibrary source (#1764)

This commit is contained in:
James Ward
2026-09-14 08:49:38 +01:00
committed by GitHub
parent 7a9cd31074
commit 9b38a091e1
72 changed files with 1037 additions and 20 deletions
@@ -410,6 +410,7 @@ export class MagicShelfComponent implements OnInit {
{label: this.t.translate('magicShelf.metadataFields.applebooksReviewCount'), value: 'applebooksReviewCount'},
]},
{ label: this.t.translate('magicShelf.metadataFieldGroups.externalIds'), items: [
{label: this.t.translate('magicShelf.metadataFields.openlibraryId'), value: 'openlibraryId'},
{label: this.t.translate('magicShelf.metadataFields.goodreadsId'), value: 'goodreadsId'},
{label: this.t.translate('magicShelf.metadataFields.hardcoverId'), value: 'hardcoverId'},
{label: this.t.translate('magicShelf.metadataFields.googleId'), value: 'googleId'},
@@ -528,6 +528,7 @@ export class BookRuleEvaluatorService {
case 'seriesName': return book.metadata?.seriesName;
case 'isbn13': return book.metadata?.isbn13;
case 'isbn10': return book.metadata?.isbn10;
case 'openlibraryId': return book.metadata?.openlibraryId;
case 'asin': return book.metadata?.asin;
case 'authors': return book.metadata?.authors;
case 'categories': return book.metadata?.categories;