Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Channel ¶
type Channel struct { XMLName xml.Name `xml:"channel"` Title string `xml:"title"` TTL int `xml:"ttl"` Episodes []Episode `xml:"item"` URL string // request url }
func (Channel) TTLDuration ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client .
func (*Client) GetShowFeed ¶
func (*Client) GetUserFeed ¶
type Enclosure ¶
type Enclosure struct { MimeType string `xml:"type,attr" json:"type"` URL string `xml:"url,attr" json:"attr"` }
Enclosure .
type Episode ¶
type Episode struct { Title string `xml:"title" json:"title"` InfoHash string `xml:"info_hash" json:"info_hash"` Enclosures []Enclosure `xml:"enclosure" json:"enclosures"` ShowID int `xml:"show_id" json:"show_id"` ExternalID int `xml:"external_id" json:"external_id"` ShowName string `xml:"show_name" json:"show_name"` EpisodeID string `xml:"episode_id" json:"episode_id"` RawTitle string `xml:"raw_title" json:"raw_title"` }
Episode .
func (Episode) ShowDirectoryName ¶
type FeedSelection ¶
func (FeedSelection) IsEmtpy ¶
func (f FeedSelection) IsEmtpy() bool
type ShowRSSDownloader ¶
type ShowRSSDownloader struct { TC *transmission.Client Selection FeedSelection ShowDirs ShowDirs DB *DB // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.