From 3a7fd0bcc90bc61510d4d146740e7bc938037caf Mon Sep 17 00:00:00 2001 From: Spenser Bushey Date: Sat, 25 Feb 2023 09:00:26 -0800 Subject: [PATCH 1/3] Fix incorrect tags when blocking public feeds --- server/objects/FeedMeta.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/objects/FeedMeta.js b/server/objects/FeedMeta.js index ed027972..908d64fa 100644 --- a/server/objects/FeedMeta.js +++ b/server/objects/FeedMeta.js @@ -94,8 +94,8 @@ class FeedMeta { ] }, { 'itunes:explicit': !!this.explicit }, - { 'itunes:block': !!this.preventIndexing }, - { 'googleplay:block': !!this.preventIndexing } + { 'itunes:block': this.preventIndexing?"Yes":"No" }, + { 'googleplay:block': this.preventIndexing?"yes":"no" } ] } } From cfb5e909a9fbda72de2262b87bb76e7c485378fc Mon Sep 17 00:00:00 2001 From: mfcar Date: Mon, 27 Feb 2023 18:22:17 +0000 Subject: [PATCH 2/3] Improve podcast search --- .../components/widgets/AlreadyInLibraryIndicator.vue | 2 +- client/pages/library/_library/podcast/search.vue | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/client/components/widgets/AlreadyInLibraryIndicator.vue b/client/components/widgets/AlreadyInLibraryIndicator.vue index 53bc31b3..e765b4e2 100644 --- a/client/components/widgets/AlreadyInLibraryIndicator.vue +++ b/client/components/widgets/AlreadyInLibraryIndicator.vue @@ -1,6 +1,6 @@ diff --git a/client/pages/library/_library/podcast/search.vue b/client/pages/library/_library/podcast/search.vue index bef8280b..428441f9 100644 --- a/client/pages/library/_library/podcast/search.vue +++ b/client/pages/library/_library/podcast/search.vue @@ -155,6 +155,7 @@ export default { let podcast = this.existentPodcasts.find((p) => p.itunesId === result.id || p.title === result.title.toLowerCase()) if (podcast) { result.alreadyInLibrary = true + result.existentId = podcast.id } } this.results = results @@ -163,12 +164,16 @@ export default { }, async selectPodcast(podcast) { console.log('Selected podcast', podcast) + if(podcast.existentId){ + this.$router.push(`/item/${podcast.existentId}`) + return + } if (!podcast.feedUrl) { this.$toast.error('Invalid podcast - no feed') return } this.processing = true - var payload = await this.$axios.$post(`/api/podcasts/feed`, { rssFeed: podcast.feedUrl }).catch((error) => { + var payload = await this.$axios.$post(`/api/podcasts/feed`, {rssFeed: podcast.feedUrl}).catch((error) => { console.error('Failed to get feed', error) this.$toast.error('Failed to get podcast feed') return null @@ -191,7 +196,8 @@ export default { this.existentPodcasts = podcasts.results.map((p) => { return { title: p.media.metadata.title.toLowerCase(), - itunesId: p.media.metadata.itunesId + itunesId: p.media.metadata.itunesId, + id: p.id } }) this.processing = false From d95975cade16583bc16466da98ae9cd58a7b062d Mon Sep 17 00:00:00 2001 From: advplyr Date: Fri, 3 Mar 2023 17:35:14 -0600 Subject: [PATCH 3/3] Fix:Series page progress filter #1577 --- client/components/app/BookShelfToolbar.vue | 10 ++++++++++ server/utils/libraryHelpers.js | 17 ++++++++++------- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/client/components/app/BookShelfToolbar.vue b/client/components/app/BookShelfToolbar.vue index 124c332d..d512bc1b 100644 --- a/client/components/app/BookShelfToolbar.vue +++ b/client/components/app/BookShelfToolbar.vue @@ -64,12 +64,22 @@