diff --git a/client/pages/audiobook/_id/chapters.vue b/client/pages/audiobook/_id/chapters.vue index 7b56f5c95..da33eba0b 100644 --- a/client/pages/audiobook/_id/chapters.vue +++ b/client/pages/audiobook/_id/chapters.vue @@ -141,10 +141,21 @@
-
- - - {{ $strings.ButtonSearch }} +
+
+
+ + + {{ $strings.ButtonSearch }} +
+ +
+

{{ asinError }}

+

{{ $strings.MessageAsinCheck }}

+
+ + +
@@ -249,6 +260,7 @@ export default { findingChapters: false, showFindChaptersModal: false, chapterData: null, + asinError: null, showSecondInputs: false, audibleRegions: ['US', 'CA', 'UK', 'AU', 'FR', 'DE', 'JP', 'IT', 'IN', 'ES'], hasChanges: false @@ -546,14 +558,14 @@ export default { this.findingChapters = true this.chapterData = null + this.asinError = null // used to show warning about audible vs amazon ASIN this.$axios .$get(`/api/search/chapters?asin=${this.asinInput}®ion=${this.regionInput}`) .then((data) => { this.findingChapters = false if (data.error) { - this.$toast.error(data.error) - this.showFindChaptersModal = false + this.asinError = data.error } else { console.log('Chapter data', data) this.chapterData = data diff --git a/client/strings/en-us.json b/client/strings/en-us.json index ef43d4f5f..94bb9f551 100644 --- a/client/strings/en-us.json +++ b/client/strings/en-us.json @@ -705,6 +705,7 @@ "LabelYourProgress": "Your Progress", "MessageAddToPlayerQueue": "Add to player queue", "MessageAppriseDescription": "To use this feature you will need to have an instance of Apprise API running or an api that will handle those same requests.
The Apprise API Url should be the full URL path to send the notification, e.g., if your API instance is served at http://192.168.1.1:8337 then you would put http://192.168.1.1:8337/notify.", + "MessageAsinCheck": "Ensure you are using the ASIN from the correct Audible region, not Amazon.", "MessageBackupsDescription": "Backups include users, user progress, library item details, server settings, and images stored in /metadata/items & /metadata/authors. Backups do not include any files stored in your library folders.", "MessageBackupsLocationEditNote": "Note: Updating the backup location will not move or modify existing backups", "MessageBackupsLocationNoEditNote": "Note: The backup location is set through an environment variable and cannot be changed here.",