Documentation ¶
Index ¶
- func DownloadSubtitleInAllSiteByOneSeries(logger *logrus.Logger, Suppliers []ifaces.ISupplier, ...) []supplier.SubInfo
- func GetSeriesInfoFromDir(dealers *media_info_dealers.Dealers, seriesDir string) (*series.SeriesInfo, error)
- func GetSeriesList(log *logrus.Logger, dir string) ([]string, error)
- func GetSeriesListFromDirs(logger *logrus.Logger, dirs []string) (*treemap.Map, error)
- func ReadSeriesInfoFromDir(dealers *media_info_dealers.Dealers, seriesDir string, ExpirationTime int, ...) (*series.SeriesInfo, error)
- func ReadSeriesInfoFromEmby(dealers *media_info_dealers.Dealers, seriesDir string, ...) (*series.SeriesInfo, error)
- func SkipChineseSeries(dealers *media_info_dealers.Dealers, seriesRootPath string) (bool, *models.IMDBInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadSubtitleInAllSiteByOneSeries ¶
func DownloadSubtitleInAllSiteByOneSeries(logger *logrus.Logger, Suppliers []ifaces.ISupplier, seriesInfo *series.SeriesInfo, i int64) []supplier.SubInfo
DownloadSubtitleInAllSiteByOneSeries 一部连续剧,在所有的网站,下载相应的字幕
func GetSeriesInfoFromDir ¶
func GetSeriesInfoFromDir(dealers *media_info_dealers.Dealers, seriesDir string) (*series.SeriesInfo, error)
func GetSeriesList ¶
GetSeriesList 获取这个目录下的所有文件夹名称,默认为一个连续剧的目录的List
func GetSeriesListFromDirs ¶
GetSeriesListFromDirs 获取这个目录下的所有文件夹名称,默认为一个连续剧的目录的List
func ReadSeriesInfoFromDir ¶
func ReadSeriesInfoFromDir(dealers *media_info_dealers.Dealers, seriesDir string, ExpirationTime int, forcedScanAndDownloadSub bool, need2AnalyzeSub bool, epsMap ...map[int][]int) (*series.SeriesInfo, error)
ReadSeriesInfoFromDir 读取剧集的信息,只有那些 Eps 需要下载字幕的 NeedDlEpsKeyList
func ReadSeriesInfoFromEmby ¶
func ReadSeriesInfoFromEmby(dealers *media_info_dealers.Dealers, seriesDir string, seriesVideoList []emby.EmbyMixInfo, ExpirationTime int, forcedScanAndDownloadSub bool, need2AnalyzeSub bool) (*series.SeriesInfo, error)
ReadSeriesInfoFromEmby 将 Emby API 读取到的数据进行转换到通用的结构中,需要填充那些剧集需要下载,这样要的是一个连续剧的,不是所有的传入(只有那些 Eps 需要下载字幕的 NeedDlEpsKeyList)
func SkipChineseSeries ¶
func SkipChineseSeries(dealers *media_info_dealers.Dealers, seriesRootPath string) (bool, *models.IMDBInfo, error)
SkipChineseSeries 跳过中文连续剧
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.