Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HotFixProcess ¶
func HotFixProcess(log *logrus.Logger, param types.HotFixParam) error
HotFixProcess 去 DB 中查询 Hotfix 的标记,看有那些需要修复,那些已经修复完毕
Types ¶
type HotFix001 ¶
type HotFix001 struct {
// contains filtered or unexported fields
}
本模块的目标是解决开发过程中遗留的功能缺陷需要升级的问题 之前字幕的命名不规范,现在需要进行一次批量的替换 chs_en[shooter] -> Chinese(中英,shooter)
func NewHotFix001 ¶
type HotFix002 ¶
type HotFix002 struct {
// contains filtered or unexported fields
}
因为之前有失误把部分临时功能给发布了,所以之前定义 sha1 作为文件的唯一值,现在觉得要升级到 sha256 那么之前有的需要进行清理一次,然后才能够正确的执行后续新的 sha256 的逻辑
func NewHotFix002 ¶
type HotFix003 ¶
type HotFix003 struct {
// contains filtered or unexported fields
}
upload_played_video_sub 写出了 bug,本地判断字幕的时候,拼接目录错误,导致错误的标记已发送,下载需要改回来,都标记为未标记 bok, _, err := ch.scanPlayedVideoSubInfo.SubParserHub.DetermineFileTypeFromFile(filepath.Join(shareRootDir, notUploadedVideoSubInfos[0].StoreRPath))
func NewHotFix003 ¶
type HotFix004 ¶
type HotFix004 struct {
// contains filtered or unexported fields
}
字幕服务器在判断字幕是否包含中文的时候,没有进行 UTF8 的转换,导致故障丢气大量正确字幕
func NewHotFix004 ¶
type HotFix005 ¶
type HotFix005 struct {
// contains filtered or unexported fields
}
嗯···之前对于连续剧的一集的解析 Season 和 Episode 的方式是从文件名得到的,最近看到由反馈到削刮之后,命名是 S01.E01,这样的方式 那么就可能解析不对,现在需要重新改为从 nfo 或者 xml 文件中得到这个信息,就需要删除之前缓存的数据,然后重新上传,不然之前的数据可能有部分是错误的
func NewHotFix005 ¶
type HotFix006 ¶
type HotFix006 struct {
// contains filtered or unexported fields
}
因为 TMDB ID 是区分 Movie 和 Series 的,所以···需要把本地的缓存清空
func NewHotFix006 ¶
type HotFix007 ¶ added in v0.52.3
type HotFix007 struct {
// contains filtered or unexported fields
}
修复之前移除 subhd 和 zimuku 配置后,导致的无法获取字幕搜索链接的问题