Add ASIN/ISBN fields to library and improve matching

Introduces `asin` and `isbn` fields to the PlexLibrary schema and database, with migration and indexing for fast lookups. Updates scan and recently-added processors to persist ASIN/ISBN from both Plex and Audiobookshelf backends. Enhances matching logic to prioritize exact ASIN matches using the new fields, improving match accuracy for Audiobookshelf users. Also includes minor improvements: fixes cover art handling for cached thumbnails, adds download URL validation in Prowlarr and qBittorrent integrations, and updates documentation to reflect these changes.
This commit is contained in:
kikootwo
2025-12-22 14:20:22 -05:00
parent a3381cba31
commit 1cefa437b7
12 changed files with 469 additions and 16 deletions
@@ -0,0 +1,9 @@
-- AlterTable
ALTER TABLE "plex_library" ADD COLUMN "asin" TEXT,
ADD COLUMN "isbn" TEXT;
-- CreateIndex
CREATE INDEX "plex_library_asin_idx" ON "plex_library"("asin");
-- CreateIndex
CREATE INDEX "plex_library_isbn_idx" ON "plex_library"("isbn");