series_helper

package
v0.37.16 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadSubtitleInAllSiteByOneSeries

func DownloadSubtitleInAllSiteByOneSeries(log *logrus.Logger, Suppliers []ifaces.ISupplier, seriesInfo *series.SeriesInfo, i int64) []supplier.SubInfo

DownloadSubtitleInAllSiteByOneSeries 一部连续剧,在所有的网站,下载相应的字幕

func GetSeriesInfoFromDir

func GetSeriesInfoFromDir(log *logrus.Logger, seriesDir string, _proxySettings *settings.ProxySettings) (*series.SeriesInfo, error)

func GetSeriesList

func GetSeriesList(log *logrus.Logger, dir string) ([]string, error)

GetSeriesList 获取这个目录下的所有文件夹名称,默认为一个连续剧的目录的List

func GetSeriesListFromDirs

func GetSeriesListFromDirs(log *logrus.Logger, dirs []string) (*treemap.Map, error)

GetSeriesListFromDirs 获取这个目录下的所有文件夹名称,默认为一个连续剧的目录的List

func ReadSeriesInfoFromDir

func ReadSeriesInfoFromDir(log *logrus.Logger,
	seriesDir string,
	ExpirationTime int,
	forcedScanAndDownloadSub bool,
	need2AnalyzeSub bool,
	_proxySettings *settings.ProxySettings,
	epsMap ...map[int][]int) (*series.SeriesInfo, error)

ReadSeriesInfoFromDir 读取剧集的信息,只有那些 Eps 需要下载字幕的 NeedDlEpsKeyList

func ReadSeriesInfoFromEmby

func ReadSeriesInfoFromEmby(log *logrus.Logger, seriesDir string, seriesVideoList []emby.EmbyMixInfo, ExpirationTime int, forcedScanAndDownloadSub bool, need2AnalyzeSub bool, _proxySettings *settings.ProxySettings) (*series.SeriesInfo, error)

ReadSeriesInfoFromEmby 将 Emby API 读取到的数据进行转换到通用的结构中,需要填充那些剧集需要下载,这样要的是一个连续剧的,不是所有的传入(只有那些 Eps 需要下载字幕的 NeedDlEpsKeyList)

func SkipChineseSeries

func SkipChineseSeries(log *logrus.Logger, seriesRootPath string, _proxySettings *settings.ProxySettings) (bool, *models.IMDBInfo, error)

SkipChineseSeries 跳过中文连续剧

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL