sub_share_center

package
v0.47.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearExpiredFiles

func ClearExpiredFiles()

ClearExpiredFiles 情况过期的字幕文件,比如数据库中没有其的引用,那么就需要清理

func CopySub2Cache

func CopySub2Cache(log *logrus.Logger, orgSubFileFPath, imdbID string, year int, lowTrust bool) (bool, string)

CopySub2Cache 检测原有字幕是否存在,然后放到缓存目录中

Types

type SubShareCenter

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

func NewSubShareCenter

func NewSubShareCenter(center settings.SubShareCenter) *SubShareCenter

func (*SubShareCenter) Login

func (s *SubShareCenter) Login() error

func (*SubShareCenter) Logout

func (s *SubShareCenter) Logout() error

func (*SubShareCenter) SendSubtitle

func (s *SubShareCenter) SendSubtitle(imdbID, videoName, feature, subFIleFPath string) error

Jump to

Keyboard shortcuts

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