mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-05-13 10:52:19 -04:00
Podcasts add get episode feed and download, add edit podcast episode modal
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user