Podcasts add get episode feed and download, add edit podcast episode modal

This commit is contained in:
advplyr 2022-03-27 15:37:04 -05:00
parent 08e1782253
commit 3f8e685d64
16 changed files with 398 additions and 23 deletions

View file

@ -115,6 +115,12 @@ class Podcast {
return hasUpdates
}
updateEpisode(id, payload) {
var episode = this.episodes.find(ep => ep.id == id)
if (!episode) return false
return episode.update(payload)
}
updateCover(coverPath) {
coverPath = coverPath.replace(/\\/g, '/')
if (this.coverPath === coverPath) return false