Documentation ¶
Index ¶
- Variables
- func List(wd string, extensions []string, regExp *regexp.Regexp) []string
- func ParseTitle(filename string) (*PTN.TorrentInfo, error)
- func ToEpisodeName(title string, season int, episode int, container string) string
- func ToMovieName(title string, year int, extension string) string
- func ToSeasonName(season int) string
- type Episode
- type Movie
- type Season
- type TVShow
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // GID is the processed files group to set GID int // UID is the processed files owner to set UID int // WD is the working directory's absolute path WD string )
Functions ¶
func ParseTitle ¶
func ParseTitle(filename string) (*PTN.TorrentInfo, error)
ParseTitle returns parsed information from a file name
func ToEpisodeName ¶
ToEpisodeName returns formatted TV show episode name from given parameters
func ToMovieName ¶
ToMovieName returns formatted movie name from given parameters
func ToSeasonName ¶
ToSeasonName returns formatted season name from given parameter
Types ¶
Click to show internal directories.
Click to hide internal directories.