search

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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MatchedVideoFile

func MatchedVideoFile(l *logrus.Logger, dir string) ([]string, error)

MatchedVideoFile 搜索符合后缀名的视频文件,现在也会把 BDMV 的文件搜索出来,但是这个并不是一个视频文件,需要在后续特殊处理

func MatchedVideoFileFromDirs

func MatchedVideoFileFromDirs(l *logrus.Logger, dirs []string) (*treemap.Map, error)

MatchedVideoFileFromDirs 搜索符合后缀名的视频文件

func SeriesAllEpsAndSubtitles

func SeriesAllEpsAndSubtitles(l *logrus.Logger, dir string) (*backend.SeasonInfo, error)

SeriesAllEpsAndSubtitles 遍历这个连续剧目录下的所有视频文件,以及这个视频文件对应的字幕文件,这里无法转换给出静态文件服务器的路径,需要额外再对回去到的信息进行处理

func TVNfo

func TVNfo(l *logrus.Logger, dir string) ([]string, error)

func VideoNameSearchKeywordMaker

func VideoNameSearchKeywordMaker(l *logrus.Logger, title string, year string) string

VideoNameSearchKeywordMaker 拼接视频搜索的 title 和 年份

Types

This section is empty.

Jump to

Keyboard shortcuts

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