diff --git a/client/components/modals/podcast/NewModal.vue b/client/components/modals/podcast/NewModal.vue
index bdfa56e4..d9e3e461 100644
--- a/client/components/modals/podcast/NewModal.vue
+++ b/client/components/modals/podcast/NewModal.vue
@@ -29,10 +29,13 @@
-
+
+
+
+
-
@@ -92,7 +95,8 @@ export default {
itunesArtistId: '',
autoDownloadEpisodes: false,
language: '',
- explicit: false
+ explicit: false,
+ type: ''
}
}
},
@@ -150,6 +154,9 @@ export default {
selectedFolderPath() {
if (!this.selectedFolder) return ''
return this.selectedFolder.fullPath
+ },
+ podcastTypes() {
+ return this.$store.state.globals.podcastTypes || []
}
},
methods: {
@@ -181,7 +188,8 @@ export default {
itunesId: this.podcast.itunesId,
itunesArtistId: this.podcast.itunesArtistId,
language: this.podcast.language,
- explicit: this.podcast.explicit
+ explicit: this.podcast.explicit,
+ type: this.podcast.type
},
autoDownloadEpisodes: this.podcast.autoDownloadEpisodes
}
@@ -218,6 +226,7 @@ export default {
this.podcast.itunesArtistId = this._podcastData.artistId || ''
this.podcast.language = this._podcastData.language || this.feedMetadata.language || ''
this.podcast.autoDownloadEpisodes = false
+ this.podcast.type = this._podcastData.type || this.feedMetadata.type || 'episodic'
this.podcast.explicit = this._podcastData.explicit || this.feedMetadata.explicit === 'yes' || this.feedMetadata.explicit == 'true'
if (this.folderItems[0]) {
diff --git a/client/components/modals/podcast/tabs/EpisodeDetails.vue b/client/components/modals/podcast/tabs/EpisodeDetails.vue
index ffa95ec0..cdc08f2f 100644
--- a/client/components/modals/podcast/tabs/EpisodeDetails.vue
+++ b/client/components/modals/podcast/tabs/EpisodeDetails.vue
@@ -8,7 +8,7 @@
-
+
@@ -89,6 +89,9 @@ export default {
},
enclosureUrl() {
return this.enclosure.url
+ },
+ episodeTypes() {
+ return this.$store.state.globals.episodeTypes || []
}
},
methods: {
@@ -146,4 +149,4 @@ export default {
},
mounted() {}
}
-
\ No newline at end of file
+
diff --git a/client/components/widgets/PodcastDetailsEdit.vue b/client/components/widgets/PodcastDetailsEdit.vue
index 8030028d..4c2fd739 100644
--- a/client/components/widgets/PodcastDetailsEdit.vue
+++ b/client/components/widgets/PodcastDetailsEdit.vue
@@ -39,6 +39,11 @@
+