Documentation ¶
Index ¶
- type ControllerBase
- func (cb *ControllerBase) AddJobHandler(c *gin.Context)
- func (cb *ControllerBase) AddVideoPlayedInfoHandler(c *gin.Context)
- func (cb *ControllerBase) ChangeJobStatusHandler(c *gin.Context)
- func (cb *ControllerBase) CheckSubSupplierHandler(c *gin.Context)
- func (cb *ControllerBase) Close()
- func (cb *ControllerBase) DaemonStartHandler(c *gin.Context)
- func (cb *ControllerBase) DaemonStatusHandler(c *gin.Context)
- func (cb *ControllerBase) DaemonStopHandler(c *gin.Context)
- func (cb *ControllerBase) DelVideoPlayedInfoHandler(c *gin.Context)
- func (cb *ControllerBase) ErrorProcess(c *gin.Context, funcName string, err error)
- func (cb *ControllerBase) GetJobStatusHandler(c *gin.Context)
- func (cb *ControllerBase) GetPathUrlMap() map[string]string
- func (cb *ControllerBase) GetVersion() string
- func (cb *ControllerBase) HlsPlaylist(c *gin.Context)
- func (cb *ControllerBase) HlsSegment(c *gin.Context)
- func (cb *ControllerBase) IsManualUploadSubtitle2LocalJobInQueue(c *gin.Context)
- func (cb *ControllerBase) JobLogHandler(c *gin.Context)
- func (cb *ControllerBase) JobsListHandler(c *gin.Context)
- func (cb *ControllerBase) ListManualUploadSubtitle2LocalJob(c *gin.Context)
- func (cb *ControllerBase) ManualUploadSubtitle2Local(c *gin.Context)
- func (cb *ControllerBase) ManualUploadSubtitleResult(c *gin.Context)
- func (cb *ControllerBase) MoviePoster(c *gin.Context)
- func (cb *ControllerBase) OneMovieSubs(c *gin.Context)
- func (cb *ControllerBase) OneSeriesSubs(c *gin.Context)
- func (cb *ControllerBase) PreviewAdd(c *gin.Context)
- func (cb *ControllerBase) PreviewCleanUp(c *gin.Context)
- func (cb *ControllerBase) PreviewGetExportInfo(c *gin.Context)
- func (cb *ControllerBase) PreviewIsJobInQueue(c *gin.Context)
- func (cb *ControllerBase) PreviewJobResult(c *gin.Context)
- func (cb *ControllerBase) PreviewList(c *gin.Context)
- func (cb *ControllerBase) PreviewSearchOtherWeb(c *gin.Context)
- func (cb *ControllerBase) PreviewVideoFPath2IMDBInfo(c *gin.Context)
- func (cb *ControllerBase) RefreshMainList(c *gin.Context)
- func (cb *ControllerBase) RefreshMediaServerSubList(c *gin.Context)
- func (cb *ControllerBase) RefreshVideoListHandler(c *gin.Context)
- func (cb *ControllerBase) RefreshVideoListStatusHandler(c *gin.Context)
- func (cb *ControllerBase) ScanSkipInfo(c *gin.Context)
- func (cb *ControllerBase) SeriesPoster(c *gin.Context)
- func (cb *ControllerBase) SetPathUrlMapItem(path string, url string)
- func (cb *ControllerBase) SettingsHandler(c *gin.Context)
- func (cb *ControllerBase) VideoListAddHandler(c *gin.Context)
- func (cb *ControllerBase) VideoListHandler(c *gin.Context)
- func (cb *ControllerBase) VideoMainList(c *gin.Context)
- type SearchOtherWebReply
- type SearchOtherWebReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerBase ¶
type ControllerBase struct {
// contains filtered or unexported fields
}
func NewControllerBase ¶
func NewControllerBase(cronHelper *cron_helper.CronHelper, restartSignal chan interface{}) *ControllerBase
func (*ControllerBase) AddJobHandler ¶
func (cb *ControllerBase) AddJobHandler(c *gin.Context)
AddJobHandler 外部 API 接口添加任务的处理
func (*ControllerBase) AddVideoPlayedInfoHandler ¶
func (cb *ControllerBase) AddVideoPlayedInfoHandler(c *gin.Context)
AddVideoPlayedInfoHandler 外部 API 接口添加已观看视频的信息
func (*ControllerBase) ChangeJobStatusHandler ¶
func (cb *ControllerBase) ChangeJobStatusHandler(c *gin.Context)
func (*ControllerBase) CheckSubSupplierHandler ¶
func (cb *ControllerBase) CheckSubSupplierHandler(c *gin.Context)
func (*ControllerBase) Close ¶
func (cb *ControllerBase) Close()
func (*ControllerBase) DaemonStartHandler ¶
func (cb *ControllerBase) DaemonStartHandler(c *gin.Context)
func (*ControllerBase) DaemonStatusHandler ¶
func (cb *ControllerBase) DaemonStatusHandler(c *gin.Context)
func (*ControllerBase) DaemonStopHandler ¶
func (cb *ControllerBase) DaemonStopHandler(c *gin.Context)
func (*ControllerBase) DelVideoPlayedInfoHandler ¶
func (cb *ControllerBase) DelVideoPlayedInfoHandler(c *gin.Context)
DelVideoPlayedInfoHandler 外部 API 接口删除已观看视频的信息
func (*ControllerBase) ErrorProcess ¶
func (cb *ControllerBase) ErrorProcess(c *gin.Context, funcName string, err error)
func (*ControllerBase) GetJobStatusHandler ¶
func (cb *ControllerBase) GetJobStatusHandler(c *gin.Context)
GetJobStatusHandler 外部 API 接口获取任务的状态
func (*ControllerBase) GetPathUrlMap ¶
func (cb *ControllerBase) GetPathUrlMap() map[string]string
GetPathUrlMap x://电影 -- /movie_dir_0 or x://电视剧 -- /series_dir_0
func (*ControllerBase) GetVersion ¶
func (cb *ControllerBase) GetVersion() string
func (*ControllerBase) HlsPlaylist ¶
func (cb *ControllerBase) HlsPlaylist(c *gin.Context)
HlsPlaylist 获取 m3u8 列表
func (*ControllerBase) HlsSegment ¶
func (cb *ControllerBase) HlsSegment(c *gin.Context)
HlsSegment 获取具体一个 ts 文件
func (*ControllerBase) IsManualUploadSubtitle2LocalJobInQueue ¶
func (cb *ControllerBase) IsManualUploadSubtitle2LocalJobInQueue(c *gin.Context)
IsManualUploadSubtitle2LocalJobInQueue 人工上传字幕到本地的任务是否在列表中,或者说是在执行中
func (*ControllerBase) JobLogHandler ¶
func (cb *ControllerBase) JobLogHandler(c *gin.Context)
func (*ControllerBase) JobsListHandler ¶
func (cb *ControllerBase) JobsListHandler(c *gin.Context)
func (*ControllerBase) ListManualUploadSubtitle2LocalJob ¶
func (cb *ControllerBase) ListManualUploadSubtitle2LocalJob(c *gin.Context)
ListManualUploadSubtitle2LocalJob 列举人工上传字幕到本地的任务列表
func (*ControllerBase) ManualUploadSubtitle2Local ¶
func (cb *ControllerBase) ManualUploadSubtitle2Local(c *gin.Context)
ManualUploadSubtitle2Local 人工上传字幕到本地
func (*ControllerBase) ManualUploadSubtitleResult ¶
func (cb *ControllerBase) ManualUploadSubtitleResult(c *gin.Context)
ManualUploadSubtitleResult 人工上传字幕到本地的任务的结果,成功 ok,不存在空,其他是失败
func (*ControllerBase) MoviePoster ¶
func (cb *ControllerBase) MoviePoster(c *gin.Context)
MoviePoster 获取电影海报
func (*ControllerBase) OneMovieSubs ¶
func (cb *ControllerBase) OneMovieSubs(c *gin.Context)
OneMovieSubs 由一部电影去搜索其当前目录下的对应字幕
func (*ControllerBase) OneSeriesSubs ¶
func (cb *ControllerBase) OneSeriesSubs(c *gin.Context)
func (*ControllerBase) PreviewAdd ¶
func (cb *ControllerBase) PreviewAdd(c *gin.Context)
PreviewAdd 添加需要预览的任务,弃用
func (*ControllerBase) PreviewCleanUp ¶
func (cb *ControllerBase) PreviewCleanUp(c *gin.Context)
func (*ControllerBase) PreviewGetExportInfo ¶
func (cb *ControllerBase) PreviewGetExportInfo(c *gin.Context)
PreviewGetExportInfo 预览的任务的导出信息,弃用
func (*ControllerBase) PreviewIsJobInQueue ¶
func (cb *ControllerBase) PreviewIsJobInQueue(c *gin.Context)
PreviewIsJobInQueue 预览的任务是否在列表中,或者说是在执行中,弃用
func (*ControllerBase) PreviewJobResult ¶
func (cb *ControllerBase) PreviewJobResult(c *gin.Context)
PreviewJobResult 预览的任务的结果,成功 ok,不存在空,其他是失败,弃用
func (*ControllerBase) PreviewList ¶
func (cb *ControllerBase) PreviewList(c *gin.Context)
PreviewList 列举预览任务,弃用
func (*ControllerBase) PreviewSearchOtherWeb ¶
func (cb *ControllerBase) PreviewSearchOtherWeb(c *gin.Context)
func (*ControllerBase) PreviewVideoFPath2IMDBInfo ¶ added in v0.47.0
func (cb *ControllerBase) PreviewVideoFPath2IMDBInfo(c *gin.Context)
func (*ControllerBase) RefreshMainList ¶
func (cb *ControllerBase) RefreshMainList(c *gin.Context)
RefreshMainList 重构后的视频列表,比如 x:\电影\壮志凌云\壮志凌云.mp4 或者是连续剧的 x:\连续剧\绝命毒师 根目录
func (*ControllerBase) RefreshMediaServerSubList ¶
func (cb *ControllerBase) RefreshMediaServerSubList(c *gin.Context)
RefreshMediaServerSubList 刷新媒体服务器的字幕列表
func (*ControllerBase) RefreshVideoListHandler ¶
func (cb *ControllerBase) RefreshVideoListHandler(c *gin.Context)
func (*ControllerBase) RefreshVideoListStatusHandler ¶
func (cb *ControllerBase) RefreshVideoListStatusHandler(c *gin.Context)
func (*ControllerBase) ScanSkipInfo ¶
func (cb *ControllerBase) ScanSkipInfo(c *gin.Context)
ScanSkipInfo 设置或者获取跳过扫描信息的状态
func (*ControllerBase) SeriesPoster ¶
func (cb *ControllerBase) SeriesPoster(c *gin.Context)
SeriesPoster 从一个连续剧的根目录中,获取连续剧的海报
func (*ControllerBase) SetPathUrlMapItem ¶
func (cb *ControllerBase) SetPathUrlMapItem(path string, url string)
func (*ControllerBase) SettingsHandler ¶
func (cb *ControllerBase) SettingsHandler(c *gin.Context)
func (*ControllerBase) VideoListAddHandler ¶
func (cb *ControllerBase) VideoListAddHandler(c *gin.Context)
func (*ControllerBase) VideoListHandler ¶
func (cb *ControllerBase) VideoListHandler(c *gin.Context)
func (*ControllerBase) VideoMainList ¶
func (cb *ControllerBase) VideoMainList(c *gin.Context)
VideoMainList 获取电影和连续剧的基础结构