feat(subsonic): add getNewestPodcasts

This commit is contained in:
brian-doherty
2022-04-21 14:13:47 -05:00
committed by GitHub
parent dc4d9e4e96
commit f6687df3f3
6 changed files with 42 additions and 4 deletions

View File

@@ -371,6 +371,10 @@ func (pe *PodcastEpisode) SID() *specid.ID {
return &specid.ID{Type: specid.PodcastEpisode, Value: pe.ID}
}
func (pe *PodcastEpisode) PodcastSID() *specid.ID {
return &specid.ID{Type: specid.Podcast, Value: pe.PodcastID}
}
func (pe *PodcastEpisode) AudioFilename() string {
return pe.Filename
}