Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TorrentInfo ¶
type TorrentInfo struct {
Title string
Season int `json:"season,omitempty"`
Episode int `json:"episode,omitempty"`
Year int `json:"year,omitempty"`
Resolution string `json:"resolution,omitempty"`
Quality string `json:"quality,omitempty"`
Codec string `json:"codec,omitempty"`
Audio string `json:"audio,omitempty"`
Group string `json:"group,omitempty"`
Region string `json:"region,omitempty"`
Extended bool `json:"extended,omitempty"`
Hardcoded bool `json:"hardcoded,omitempty"`
Proper bool `json:"proper,omitempty"`
Repack bool `json:"repack,omitempty"`
Container string `json:"container,omitempty"`
Widescreen bool `json:"widescreen,omitempty"`
Website string `json:"website,omitempty"`
Language string `json:"language,omitempty"`
Sbs string `json:"sbs,omitempty"`
Unrated bool `json:"unrated,omitempty"`
Size string `json:"size,omitempty"`
ThreeD bool `json:"3d,omitempty"`
}
TorrentInfo is the resulting structure returned by Parse
func Parse ¶
func Parse(filename string) (*TorrentInfo, error)
Parse breaks up the given filename in TorrentInfo
Click to show internal directories.
Click to hide internal directories.