From 6b98baafdf97d9343b84735b8435870dacbc6137 Mon Sep 17 00:00:00 2001 From: jflattery <6561797+jflattery@users.noreply.github.com> Date: Thu, 5 May 2022 13:38:00 +0000 Subject: [PATCH] Resolve @advplyr's feedback Add 'itunes' tag to 'season' and fix display formating --- client/components/modals/podcast/EditEpisode.vue | 8 ++++---- server/utils/podcastUtils.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/components/modals/podcast/EditEpisode.vue b/client/components/modals/podcast/EditEpisode.vue index 57b946b4..dbf76bf7 100644 --- a/client/components/modals/podcast/EditEpisode.vue +++ b/client/components/modals/podcast/EditEpisode.vue @@ -7,16 +7,16 @@
-
+
-
+
-
+
-
+
diff --git a/server/utils/podcastUtils.js b/server/utils/podcastUtils.js index 839aeadb..28c874cc 100644 --- a/server/utils/podcastUtils.js +++ b/server/utils/podcastUtils.js @@ -85,7 +85,7 @@ function extractEpisodeData(item) { episode.descriptionPlain = stripHtml(episode.description || '').result } - var arrayFields = ['title', 'pubDate', 'itunes:episodeType', 'season', 'itunes:episode', 'itunes:author', 'itunes:duration', 'itunes:explicit', 'itunes:subtitle'] + var arrayFields = ['title', 'pubDate', 'itunes:episodeType', 'itunes:season', 'itunes:episode', 'itunes:author', 'itunes:duration', 'itunes:explicit', 'itunes:subtitle'] arrayFields.forEach((key) => { var cleanKey = key.split(':').pop() episode[cleanKey] = extractFirstArrayItem(item, key)