mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-03 01:35:08 +02:00
Update podcast search page to support manually entering podcast RSS feed
This commit is contained in:
parent
2c6e1cc2b5
commit
4edba20e9e
6 changed files with 87 additions and 37 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue