TestCode

package
v0.55.3 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CronRunner

func CronRunner()

func DoThings

func DoThings(ctx context.Context) error

func MainProcess

func MainProcess()

func Process

func Process()

Types

type CommonSettings

type CommonSettings struct {
	UseHttpProxy     bool     `json:"use_http_proxy"`       // 是否使用 http 代理
	HttpProxyAddress string   `json:"http_proxy_address"`   // Http 代理地址,内网
	ScanInterval     string   `json:"scan_interval""`       // 一轮字幕扫描的间隔
	Threads          int      `json:"threads"`              // 同时扫描的并发数
	RunScanAtStartUp bool     `json:"run_scan_at_start_up"` // 完成引导设置后,下次运行程序就开始扫描
	MoviePaths       []string `json:"movie_paths"`          // 电影的目录
	SeriesPaths      []string `json:"series_paths"`         // 连续剧的目录
}

type ExcelInputData

type ExcelInputData struct {
	Logger            *logrus.Logger
	F                 *excelize.File
	S                 *sub_timeline_fixer.SubTimelineFixerHelperEx
	FfmpegInfo        *ffmpeg_helper.FFMPEGInfo
	AudioVADInfos     []vad.VADInfo
	InfoBase          *subparser.FileInfo
	NowTargetSubFPath string
	SubFileName       string
	SheetName         string
}

type ExcelMathResult

type ExcelMathResult struct {
	Index       int
	Name        string
	MatchResult *sub_timeline_fixer.MatchResult
}

Jump to

Keyboard shortcuts

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