Documentation ¶
Index ¶
- type CheckSubSupplier
- type MovieInfo
- type MovieInfoV2
- type MovieSubsInfo
- type OneVideoInfo
- type PosterInfo
- type ReplyAllJobs
- type ReplyCheckAuth
- type ReplyCheckEmbyPath
- type ReplyCheckPath
- type ReplyCheckStatus
- type ReplyCommon
- type ReplyJobLog
- type ReplyJobStatus
- type ReplyJobThings
- type ReplyLogin
- type ReplyMainList
- type ReplyRefreshVideoList
- type ReplyRunningLog
- type ReplySystemStatus
- type ReplyVideoList
- type ReplyVideoSkipInfo
- type ReqChangeJobStatus
- type ReqChangePwd
- type ReqCheckCron
- type ReqCheckEmbyAPI
- type ReqCheckEmbyPath
- type ReqCheckPath
- type ReqCheckProxy
- type ReqJobLog
- type ReqJobThings
- type ReqSetupInfo
- type ReqVideoListAdd
- type ReqVideoPlayedInfo
- type ReqVideoSkipInfos
- type SeasonInfo
- type SeasonInfoV2
- type SiteStatus
- type VideoSkipInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckSubSupplier ¶
type CheckSubSupplier struct {
SupplierNames []string `json:"supplier_names" binding:"required"`
}
type MovieInfo ¶
type MovieInfo struct { Name string `json:"name"` DirRootUrl string `json:"dir_root_url"` VideoFPath string `json:"video_f_path"` VideoUrl string `json:"video_url"` MediaServerInsideVideoID string `json:"media_server_inside_video_id"` SubFPathList []string `json:"sub_f_path_list"` SubUrlList []string `json:"sub_url_list"` }
type MovieInfoV2 ¶
type MovieSubsInfo ¶
type OneVideoInfo ¶
type OneVideoInfo struct { Name string `json:"name"` VideoFPath string `json:"video_f_path"` VideoUrl string `json:"video_url"` Season int `json:"season"` Episode int `json:"episode"` SubFPathList []string `json:"sub_f_path_list"` SubUrlList []string `json:"sub_url_list"` MediaServerInsideVideoID string `json:"media_server_inside_video_id"` }
type PosterInfo ¶
type PosterInfo struct {
Url string `json:"url"` // 静态文件服务器中的图片地址
}
type ReplyAllJobs ¶
type ReplyAllJobs struct {
AllJobs []task_queue.OneJob `json:"all_jobs"`
}
type ReplyCheckAuth ¶
type ReplyCheckAuth struct {
Message string `json:"message"`
}
type ReplyCheckEmbyPath ¶
type ReplyCheckEmbyPath struct {
MediaList []string `json:"media_list"`
}
type ReplyCheckPath ¶
type ReplyCheckPath struct {
Valid bool `json:"valid"`
}
type ReplyCheckStatus ¶
type ReplyCheckStatus struct {
SubSiteStatus []SiteStatus `json:"sub_site_status"`
}
type ReplyCommon ¶
type ReplyCommon struct {
Message string `json:"message,omitempty"`
}
type ReplyJobLog ¶
type ReplyJobLog struct {
OneLine []string `json:"one_line"`
}
type ReplyJobStatus ¶
type ReplyJobStatus struct {
Status string `json:"status"`
}
type ReplyJobThings ¶
type ReplyJobThings struct { JobID string `json:"job_id"` JobStatus task_queue.JobStatus `json:"job_status"` Message string `json:"message"` }
type ReplyLogin ¶
type ReplyMainList ¶
type ReplyMainList struct { MovieInfos []MovieInfoV2 `json:"movie_infos_v2"` SeasonInfos []SeasonInfoV2 `json:"season_infos_v2"` }
type ReplyRefreshVideoList ¶
type ReplyRunningLog ¶
func NewReplyRunningLog ¶
func NewReplyRunningLog() *ReplyRunningLog
type ReplySystemStatus ¶
type ReplyVideoList ¶
type ReplyVideoList struct { MovieInfos []MovieInfo `json:"movie_infos"` SeasonInfos []SeasonInfo `json:"season_infos"` }
type ReplyVideoSkipInfo ¶
type ReplyVideoSkipInfo struct {
IsSkips []bool `json:"is_skips"` // 是否跳过
}
type ReqChangeJobStatus ¶
type ReqChangeJobStatus struct { Id string `json:"id"` // 任务的唯一 ID TaskPriority string `json:"task_priority" default:"high"` // 任务的优先级,high or middle or low priority JobStatus task_queue.JobStatus `json:"job_status"` // 任务的状态 允许设置 Waiting(0) or Ignore(5) }
type ReqChangePwd ¶
type ReqCheckCron ¶
type ReqCheckCron struct {
ScanInterval string `json:"scan_interval" binding:"required"`
}
type ReqCheckEmbyAPI ¶
type ReqCheckEmbyPath ¶
type ReqCheckEmbyPath struct { AddressUrl string `json:"address_url" binding:"required"` APIKey string `json:"api_key" binding:"required"` PathType string `json:"path_type" binding:"required"` CFSMediaPath string `json:"cfs_media_path" binding:"required"` EmbyMediaPath string `json:"emby_media_path" binding:"required"` }
type ReqCheckPath ¶
type ReqCheckPath struct {
Path string `json:"path" binding:"required"`
}
type ReqCheckProxy ¶
type ReqCheckProxy struct {
ProxySettings settings.ProxySettings `json:"proxy_settings" binding:"required"`
}
type ReqJobThings ¶
type ReqJobThings struct {
JobID string `json:"job_id"`
}
type ReqSetupInfo ¶
type ReqVideoListAdd ¶
type ReqVideoListAdd struct { VideoType int `json:"video_type"` // 0 是 movie or 1 是 series PhysicalVideoFileFullPath string `json:"physical_video_file_full_path"` // 视频的物理路径 TaskPriorityLevel int `json:"task_priority_level"` // 任务优先级 MediaServerInsideVideoID string `json:"media_server_inside_video_id"` // 媒体服务器内部视频ID IsBluray bool `json:"is_bluray"` // 这个偏向于给外部 API 调用的时候传递使用。是否是蓝光,目前只支持电影的蓝光,连续剧没有调试过 }
type ReqVideoPlayedInfo ¶
type ReqVideoSkipInfos ¶ added in v0.47.0
type ReqVideoSkipInfos struct {
VideoSkipInfos []VideoSkipInfo `json:"video_skip_infos"` // 视频跳过信息
}
type SeasonInfo ¶
type SeasonInfo struct { Name string `json:"name"` RootDirPath string `json:"root_dir_path"` DirRootUrl string `json:"dir_root_url"` OneVideoInfos []OneVideoInfo `json:"one_video_info"` }
type SeasonInfoV2 ¶
type SiteStatus ¶
type VideoSkipInfo ¶ added in v0.47.0
Source Files ¶
- reply_all_jobs.go
- reply_check_auth.go
- reply_check_emby_path.go
- reply_check_path.go
- reply_check_proxy.go
- reply_common.go
- reply_job_log.go
- reply_job_status.go
- reply_job_things.go
- reply_login.go
- reply_movie_list.go
- reply_poster.go
- reply_refresh_video_list.go
- reply_running_log.go
- reply_series_list.go
- reply_system_info.go
- reply_system_status.go
- reply_video_list.go
- req_change_job_status.go
- req_change_pwd.go
- req_check_cron.go
- req_check_emby_path.go
- req_check_path.go
- req_check_proxy.go
- req_check_sub_supplier.go
- req_job_log.go
- req_job_things.go
- req_setup_info.go
- req_video_list_add.go
- req_video_played_info.go
Click to show internal directories.
Click to hide internal directories.