Versions in this module Expand all Collapse all v0 v0.25.0 Mar 4, 2025 Changes in this version + const FieldAuthor + const FieldDate + const FieldDescription + const FieldSeries + const FieldTitle + var ErrEpisodeNotFound = errors.New("episode not found") + var ErrSeriesNotFound = errors.New("series not found") + func EpisodeImage(episode Episode) string + func SeriesImage(series Series) string + type Podcast struct + func NewPodcast(config *config.Config) *Podcast + func (p *Podcast) Close() + func (p *Podcast) EpisodeURL(e Episode) *url.URL + func (p *Podcast) Episodes(series Series) []Episode + func (p *Podcast) FindEpisode(identifier string) (Episode, error) + func (p *Podcast) FindSeries(identifier string) (Series, error) + func (p *Podcast) HasPodcasts() bool + func (p *Podcast) HasSubscriptions(userid string) bool + func (p *Podcast) LookupEID(eid string) (Episode, error) + func (p *Podcast) LookupEpisode(id int) (Episode, error) + func (p *Podcast) LookupSID(sid string) (Series, error) + func (p *Podcast) LookupSeries(id int) (Series, error) + func (p *Podcast) Open() (err error) + func (p *Podcast) RecentEpisodes() []Episode + func (p *Podcast) RecentEpisodesFor(userid string) []Episode + func (p *Podcast) RecentSeries() []Series + func (p *Podcast) RecentSeriesFor(userid string) []Series + func (p *Podcast) Search(q string, limit ...int) (series []Series, episodes []Episode) + func (p *Podcast) Series() []Series + func (p *Podcast) SeriesCount() int64 + func (p *Podcast) SeriesFor(userid string) []Series + func (p *Podcast) Subscribe(sid, userid string) error + func (p *Podcast) SubscriptionsFor(userid string) []Subscription + func (p *Podcast) Sync() error + func (p *Podcast) SyncSince(lastSync time.Time) error + func (p *Podcast) Unsubscribe(sid, userid string) error