Update podcast search page to support manually entering podcast RSS feed

This commit is contained in:
advplyr committed 2022-04-13 16:55:48 -05:00
1 parent 2c6e1cc2b5
commit 4edba20e9e
6 files changed
+87 -37

No files matched your search

+3 -3
View File
@@ -190,11 +190,11 @@ class PodcastManager {
Logger.error('Invalid podcast feed request response')
return false
}
var podcast = await parsePodcastRssFeedXml(data.data)
if (!podcast) {
var payload = await parsePodcastRssFeedXml(data.data)
if (!payload) {
return false
}
return podcast
return payload.podcast
}).catch((error) => {
console.error('Failed', error)
return false