Documentation ¶
Index ¶
- Variables
- type Podcasts
- func (p *Podcasts) AddNewPodcast(rssURL string, feed *gofeed.Feed) (*db.Podcast, error)
- func (p *Podcasts) DeletePodcast(podcastID int) error
- func (p *Podcasts) DeletePodcastEpisode(podcastEpisodeID int) error
- func (p *Podcasts) DownloadEpisode(episodeID int) error
- func (p *Podcasts) DownloadPodcastAll(podcastID int) error
- func (p *Podcasts) DownloadTick() error
- func (p *Podcasts) GetNewestPodcastEpisodes(count int) ([]*db.PodcastEpisode, error)
- func (p *Podcasts) GetPodcastOrAll(id int, includeEpisodes bool) ([]*db.Podcast, error)
- func (p *Podcasts) PurgeOldPodcasts(maxAge time.Duration) error
- func (p *Podcasts) RefreshPodcast(podcast *db.Podcast, items []*gofeed.Item) error
- func (p *Podcasts) RefreshPodcasts() error
- func (p *Podcasts) SetAutoDownload(podcastID int, setting db.PodcastAutoDownload) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoAudioInFeedItem = errors.New("no audio in feed item")
Functions ¶
This section is empty.
Types ¶
type Podcasts ¶
type Podcasts struct {
// contains filtered or unexported fields
}
func (*Podcasts) AddNewPodcast ¶
func (*Podcasts) DeletePodcast ¶
func (*Podcasts) DeletePodcastEpisode ¶
func (*Podcasts) DownloadEpisode ¶
func (*Podcasts) DownloadPodcastAll ¶
func (*Podcasts) DownloadTick ¶ added in v0.16.3
func (*Podcasts) GetNewestPodcastEpisodes ¶
func (p *Podcasts) GetNewestPodcastEpisodes(count int) ([]*db.PodcastEpisode, error)
func (*Podcasts) GetPodcastOrAll ¶
func (*Podcasts) RefreshPodcast ¶ added in v0.16.3
func (*Podcasts) RefreshPodcasts ¶
func (*Podcasts) SetAutoDownload ¶
func (p *Podcasts) SetAutoDownload(podcastID int, setting db.PodcastAutoDownload) error
Click to show internal directories.
Click to hide internal directories.