From 8fa8360e992d10fc85d1780d79e2328c8ead6c26 Mon Sep 17 00:00:00 2001 From: advplyr Date: Sat, 7 Jan 2023 16:22:59 -0600 Subject: [PATCH] Update:Manual match tab prefer using ASIN with audible providers #1352 --- client/components/modals/item/tabs/Match.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/client/components/modals/item/tabs/Match.vue b/client/components/modals/item/tabs/Match.vue index e9cdb4f2..6749c730 100644 --- a/client/components/modals/item/tabs/Match.vue +++ b/client/components/modals/item/tabs/Match.vue @@ -396,6 +396,12 @@ export default { if (this.isPodcast) this.provider = 'itunes' else this.provider = localStorage.getItem('book-provider') || 'google' + // Prefer using ASIN if set and using audible provider + if (this.provider.startsWith('audible') && this.libraryItem.media.metadata.asin) { + this.searchTitle = this.libraryItem.media.metadata.asin + this.searchAuthor = '' + } + if (this.searchTitle) { this.submitSearch() }