Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Episode ¶
type Episode struct { ID int SubtitleID int Title string Description string Number float64 Quality string Path string URL string Filename string StreamURL string }
Episode holds all episode metadata needed for downloading
func (*Episode) Download ¶
func (e *Episode) Download(vp *common.VideoProcessor) error
Download downloads entire episode to our temp directory
func (*Episode) DownloadSubtitles ¶
func (episode *Episode) DownloadSubtitles(client *common.HTTPClient, language string, tempDir string) (string, error)
DownloadSubtitles entirely downloads subtitles to our temp directory
func (*Episode) GetEpisodeInfo ¶
func (e *Episode) GetEpisodeInfo(client *common.HTTPClient, quality string) error
GetEpisodeInfo retrieves and populates the metadata on the Episode
func (*Episode) GetFilename ¶
GetFilename returns the Episodes filename
type Season ¶
Season contains season metadata and child episodes
func (*Season) GetEpisodes ¶
GetEpisodes copies the episodes on the Season and returns them as an common.Episodes
Click to show internal directories.
Click to hide internal directories.