From 43bbfbfee372d1133a9f267fb1ce8bc4a3c9086e Mon Sep 17 00:00:00 2001 From: advplyr Date: Sat, 19 Mar 2022 06:41:54 -0500 Subject: [PATCH] Fix library check path and set provider, update podcast model and UI --- .../modals/libraries/EditLibrary.vue | 2 - client/components/modals/podcast/NewModal.vue | 86 +++++++++++++++---- client/components/ui/TextInputWithLabel.vue | 3 +- server/controllers/LibraryController.js | 18 ++++ server/objects/Library.js | 1 + server/objects/entities/PodcastEpisode.js | 13 +++ server/objects/metadata/PodcastMetadata.js | 11 ++- server/utils/podcastUtils.js | 23 ++++- 8 files changed, 130 insertions(+), 27 deletions(-) diff --git a/client/components/modals/libraries/EditLibrary.vue b/client/components/modals/libraries/EditLibrary.vue index 00cbb1f9..97116c88 100644 --- a/client/components/modals/libraries/EditLibrary.vue +++ b/client/components/modals/libraries/EditLibrary.vue @@ -4,7 +4,6 @@ arrow_back

{{ title }}

-
@@ -202,7 +201,6 @@ export default { mediaType: this.mediaType, disableWatcher: this.disableWatcher } - this.$emit('update:processing', true) this.$axios .$post('/api/libraries', newLibraryPayload) diff --git a/client/components/modals/podcast/NewModal.vue b/client/components/modals/podcast/NewModal.vue index 4fd6a951..92cbc96e 100644 --- a/client/components/modals/podcast/NewModal.vue +++ b/client/components/modals/podcast/NewModal.vue @@ -10,26 +10,29 @@

Details

-
+
+ +
+
-
+
-
- +
+
-
+
-
- +
+
-
- +
+
-
- +
+
@@ -39,14 +42,15 @@

Episodes

-
+

#{{ episode.episode }}

-

{{ episode.title }}

-

Published {{ episode.pubDate || 'Unknown' }}

+

{{ episode.title }}

+

{{ episode.subtitle }}

+

Published {{ episode.publishedAt ? $dateDistanceFromNow(episode.publishedAt) : 'Unknown' }}

@@ -62,6 +66,8 @@