utils/convids/models.go
2025-09-03 11:24:23 -05:00

45 lines
659 B
Go

package convids
import (
"regexp"
"codeberg.org/danjones000/utils/types"
)
type Data struct {
Config *Config
Shows *ShowMap
}
type Config struct {
Source string
Extensions []string
Groups []string
Skip []string
extRe *regexp.Regexp
}
type ShowMap map[string]*Shows
type Shows []*Show
type Show struct {
Folder string
Pattern string
Name string
Anime bool
Url bool
Backup string
Sources []string
Flexget struct {
Name string
Begin types.IntOrString
AlternateName []string `yaml:"alternate_name"`
Exact bool
Skip bool
Quality string
}
re *regexp.Regexp
}