mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-06-05 18:22:44 +02:00
Podcast home page shelves for currently listening episodes, newest episodes. Podcast episode card
This commit is contained in:
@@ -257,5 +257,9 @@ class Podcast {
|
||||
if (!episode) return 0
|
||||
return episode.duration
|
||||
}
|
||||
|
||||
getEpisode(episodeId) {
|
||||
return this.episodes.find(ep => ep.id == episodeId)
|
||||
}
|
||||
}
|
||||
module.exports = Podcast
|
||||
Reference in New Issue
Block a user