From 3f8e685d64c4df5ec040cc207c3f7c8caaad6a46 Mon Sep 17 00:00:00 2001 From: advplyr Date: Sun, 27 Mar 2022 15:37:04 -0500 Subject: [PATCH] Podcasts add get episode feed and download, add edit podcast episode modal --- .../components/app/BookShelfCategorized.vue | 5 +- client/components/app/LazyBookshelf.vue | 5 +- .../components/modals/item/tabs/Episodes.vue | 4 +- .../components/modals/podcast/EditEpisode.vue | 129 ++++++++++++++++++ .../components/modals/podcast/EpisodeFeed.vue | 129 ++++++++++++++++++ client/components/modals/podcast/NewModal.vue | 14 +- .../tables/podcast/EpisodeTableRow.vue | 4 +- .../tables/podcast/EpisodesTable.vue | 16 ++- client/components/ui/IconBtn.vue | 14 +- client/pages/config/library-stats.vue | 2 +- client/pages/item/_id/index.vue | 34 ++++- client/plugins/init.client.js | 2 +- server/controllers/PodcastController.js | 41 ++++++ server/objects/entities/PodcastEpisode.js | 14 ++ server/objects/mediaTypes/Podcast.js | 6 + server/routers/ApiRouter.js | 2 + 16 files changed, 398 insertions(+), 23 deletions(-) create mode 100644 client/components/modals/podcast/EditEpisode.vue create mode 100644 client/components/modals/podcast/EpisodeFeed.vue diff --git a/client/components/app/BookShelfCategorized.vue b/client/components/app/BookShelfCategorized.vue index 23fd3d26..266f7798 100644 --- a/client/components/app/BookShelfCategorized.vue +++ b/client/components/app/BookShelfCategorized.vue @@ -8,7 +8,7 @@
-

Library is empty!

+

{{ libraryName }} Library is empty!

Configure Scanner Scan Library @@ -53,6 +53,9 @@ export default { currentLibraryId() { return this.$store.state.libraries.currentLibraryId }, + libraryName() { + return this.$store.getters['libraries/getCurrentLibraryName'] + }, bookCoverWidth() { var coverSize = this.$store.getters['user/getUserSetting']('bookshelfCoverSize') if (this.isCoverSquareAspectRatio) return coverSize * 1.6 diff --git a/client/components/app/LazyBookshelf.vue b/client/components/app/LazyBookshelf.vue index ed4e2b22..e9037bed 100644 --- a/client/components/app/LazyBookshelf.vue +++ b/client/components/app/LazyBookshelf.vue @@ -7,7 +7,7 @@
-

Library is empty!

+

{{ libraryName }} Library is empty!

Configure Scanner Scan Library @@ -143,6 +143,9 @@ export default { currentLibraryId() { return this.$store.state.libraries.currentLibraryId }, + libraryName() { + return this.$store.getters['libraries/getCurrentLibraryName'] + }, isEntityBook() { return this.entityName === 'series-books' || this.entityName === 'books' }, diff --git a/client/components/modals/item/tabs/Episodes.vue b/client/components/modals/item/tabs/Episodes.vue index 37a0a8aa..550ae6de 100644 --- a/client/components/modals/item/tabs/Episodes.vue +++ b/client/components/modals/item/tabs/Episodes.vue @@ -1,11 +1,11 @@