Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanEpisode ¶
func CleanTitle ¶
Types ¶
type Replacement ¶
type TorrentInfo ¶
type TorrentInfo struct {
Title string `json:"title"`
Season int `json:"season"`
Episode int `json:"episode"`
Year int `json:"year"`
Group string `json:"group"`
Website string `json:"website"`
Resolution string `json:"resolution"`
Quality string `json:"quality"`
Encodings []string `json:"encodings"`
Unrated bool `json:"unrated"`
Uncensored bool `json:"uncensored"`
ThreeD bool `json:"3d"`
Bluray bool `json:"bluray"`
Checksum string `json:"checksum"` // md5 sum
}
TorrentInfo is the resulting structure returned by Parse
func Parse ¶
func Parse(title, catType string) (*TorrentInfo, error)
func ParseTitle ¶ added in v0.5.0
func ParseTitle(title, catType string) (*TorrentInfo, error)
func (*TorrentInfo) String ¶
func (t *TorrentInfo) String() string
Click to show internal directories.
Click to hide internal directories.