video_list_helper

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SeriesPosterInfo

type SeriesPosterInfo struct {
	SeriesPoster    string
	SeasonPosterMap map[int]string
}

type VideoListHelper

type VideoListHelper struct {
	// contains filtered or unexported fields
}

func NewVideoListHelper

func NewVideoListHelper(log *logrus.Logger) *VideoListHelper

func (*VideoListHelper) GetMoviePoster

func (v *VideoListHelper) GetMoviePoster(movieFPath string) string

GetMoviePoster 获取电影的海报,如果为空就是没有找到

func (*VideoListHelper) GetMovieSubtitles

func (v *VideoListHelper) GetMovieSubtitles(movieFPath string) []string

GetMovieSubtitles 获取一部电影的字幕文件列表

func (*VideoListHelper) GetSeriesPoster

func (v *VideoListHelper) GetSeriesPoster(seriesDir string) string

GetSeriesPoster 获取电视剧的海报,如果为空就是没有找到

func (*VideoListHelper) GetSeriesSubtitles

func (v *VideoListHelper) GetSeriesSubtitles(seriesDir string) []string

func (*VideoListHelper) RefreshMainList

func (v *VideoListHelper) RefreshMainList() (*vsh.NormalScanVideoResult, error)

RefreshMainList 获取到电影、连续剧一级目录信息,不包含 Season 及其以下信息 只给出 Movie 的FullPath,Series 的 RootDirPath

Jump to

Keyboard shortcuts

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