series_helper

package
v0.50.3 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2023 License: MIT Imports: 21 Imported by: 0

Documentation

Index

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

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

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

func GetSeriesListFromDirs

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

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.

Jump to

Keyboard shortcuts

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