Documentation ¶
Index ¶
- func DivCeil(numerator, denominator int) (quotient int)
- func Divmod(numerator, denominator int) (quotient, remainder int)
- func GetEpisodeVersion(episodes models.Episodes, sN int, eN int, c, r, q string) models.Episodes
- func GetEpisodeVersionSince(episodes models.Episodes, sN int, c, r, q string) models.Episodes
- func GetEpisodesMap(episodes models.Episodes) map[int]*models.TorrentInfo
- func GetMaxSeedsFromList(episodes models.Episodes) models.Episodes
- func GetMinimunSizeFromList(episodes models.Episodes) models.Episodes
- func GetSEN(season, episode int) int
- func ParseTorrent(filename string) (*models.TorrentInfo, error)
- func PrintTable(header []string, values [][]string) *tablewriter.Table
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEpisodeVersion ¶
GetEpisodeVersion Get list of episodes filtering by season, episode, codec, resolution and quality
func GetEpisodeVersionSince ¶
GetEpisodeVersionSince Get list of episodes filtering since season with codec, resolution and quality
func GetEpisodesMap ¶
func GetEpisodesMap(episodes models.Episodes) map[int]*models.TorrentInfo
GetEpisodesMap get episodes map by season and episode
func GetMaxSeedsFromList ¶ added in v0.1.0
GetMaxSeedsFromList get maximun amount of seeds episodes from a list
func GetMinimunSizeFromList ¶ added in v0.0.3
GetMinimunSizeFromList get minimum size episodes from a list
func ParseTorrent ¶
func ParseTorrent(filename string) (*models.TorrentInfo, error)
ParseTorrent breaks up the given filename in models.TorrentInfo
func PrintTable ¶ added in v0.2.1
func PrintTable(header []string, values [][]string) *tablewriter.Table
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.