Podcast home page shelves for currently listening episodes, newest episodes. Podcast episode card

This commit is contained in:
advplyr 2022-04-22 19:31:11 -05:00
parent 84fb7ce8b3
commit 5d12cc3f23
10 changed files with 164 additions and 100 deletions

View file

@ -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