Versions in this module Expand all Collapse all v1 v1.0.3 Feb 28, 2020 Changes in this version + const VERSION + func Base64(file string) (string, error) + func FailFile(file, dirPath string, cfg *ConfigStruct) + func GetCode(filename, filter string) string + func GetFileSize(file string) (size int64, err error) + func GetMonth(date string) string + func GetNumberPath(m MediaNfo, cfg *ConfigStruct) string + func GetRunPath() (dir string, err error) + func GetYear(date string) string + func MoveFile(oldPath, newPath string) error + func PosterFanArt(srcPhoto, newPhoto string, cfg *ConfigStruct) error + func WalkDir(dirPath, success, fail string) (files []string, err error) + func WriteConfig() error + func WriteFile(file string, data []byte) error + type BaseStruct struct + Proxy string + type ConfigStruct struct + Base BaseStruct + Media MediaStruct + Path PathStruct + Site SiteStruct + func GetConfig() (config *ConfigStruct, err error) + type MediaActor struct + Name string + Thumb string + type MediaInner struct + Inner string + type MediaNfo struct + Actor []MediaActor + Country string + Cover string + DirPath string + Director MediaInner + FanArt string + Genre []MediaInner + Label string + Maker MediaInner + Month string + Mpaa string + Number string + Outline MediaInner + Plot MediaInner + Poster string + Premiered string + Release string + RunTime string + Set string + SortTitle string + Studio MediaInner + Tag []MediaInner + Thumb string + Title MediaInner + WebSite string + XMLName xml.Name + Year string + func Pack(file string, cfg *ConfigStruct) (m MediaNfo, err error) + func ParseNfo(s scraper.Scraper) (MediaNfo, error) + type MediaStruct struct + API string + Library string + SecretID string + SecretKey string + URL string + type PathStruct struct + Directory string + Fail string + Filter string + Success string + type SiteStruct struct + Avmoo string + Avsox string + JavDB string + Javbus string