Version: v0.0.0-...-7545685 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2020 License: MIT Imports: 6 Imported by: 0




This section is empty.


View Source
var SeasonExpressions = []string{

SeasonExpressions is this a season expression. "(^.*)([s][0-9][0-9][e][0-9][0-9])(.*$)", "(^.*)([0-9]x[0-9])|([0-9][0-9]x[0-9][0-9])(.*$)", "(^.*)(\\d{1,2}x\\d{1,2})(.*$)",

View Source
var SeasonOneExpression = "(^.*)([Ss]01[Ee]01)(.*$)"

SeasonOneExpression is this a season 1 episode.


func AmInterested

func AmInterested(title string, myinterests []types.MyInterests) (Yes bool, Details types.MyInterests)

AmInterested do i want this one or not

func CollectInterested

func CollectInterested(paths []string) (curInterests []types.MyInterests, err error)

CollectInterested collects from file system lists of path names that are shows that is interesting.

func HasSeason

func HasSeason(title string) (Yes bool, Name string)

HasSeason definition

func IsSeasonOne

func IsSeasonOne(title string) (Yes bool)

IsSeasonOne is it a new season?


type Alphabetic

type Alphabetic []types.MyInterests

Alphabetic sort type

func (Alphabetic) Len

func (list Alphabetic) Len() int

Len length

func (Alphabetic) Less

func (list Alphabetic) Less(i, j int) bool

Less is it less?

func (Alphabetic) Swap

func (list Alphabetic) Swap(i, j int)

Swap ya switch it.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL