Documentation ¶
Overview ¶
Package podcast provides support for all podcast/rss media.
Index ¶
- Constants
- type Podcast
- func (p *Podcast) Close()
- func (p *Podcast) EpisodeImage(episode Episode) string
- 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) SeriesImage(series Series) string
- 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
Constants ¶
View Source
const ( FieldAuthor = "author" FieldDate = "date" FieldDescription = "desc" FieldSeries = "series" FieldTitle = "title" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Podcast ¶
type Podcast struct {
// contains filtered or unexported fields
}
func NewPodcast ¶
func (*Podcast) EpisodeImage ¶
func (*Podcast) EpisodeURL ¶
func (*Podcast) FindEpisode ¶
func (*Podcast) FindSeries ¶
func (*Podcast) HasPodcasts ¶
func (*Podcast) HasSubscriptions ¶ added in v0.11.8
func (*Podcast) LookupEpisode ¶
func (*Podcast) LookupSeries ¶
func (*Podcast) RecentEpisodes ¶
func (p *Podcast) RecentEpisodes() []Episode
func (*Podcast) RecentEpisodesFor ¶ added in v0.11.8
func (*Podcast) RecentSeries ¶
func (p *Podcast) RecentSeries() []Series
func (*Podcast) RecentSeriesFor ¶ added in v0.11.8
func (*Podcast) SeriesCount ¶
func (*Podcast) SeriesImage ¶
func (*Podcast) SubscriptionsFor ¶ added in v0.11.8
func (*Podcast) Unsubscribe ¶ added in v0.11.8
Click to show internal directories.
Click to hide internal directories.