Releases
v0.0.8
Compare
Sorry, something went wrong.
No results found
Changelog
e59791e MediaWarp v0.0.8
9cb603d docs(config.yaml.exaple): 修正 AlistStrm.RawURL 配置注释
500d079 feat(main): 添加版本信息标志,支持显示当前版本信息
b1d8096 fix(EmbyServerHandler): 优化重定向链接构建逻辑,确保在 alist 启用签名时正确添加查询参数 sign
33c3d51 fix(EmbyServerHandler): 修复 ModifySubtitles 方法中的 defer 语句位置,确保正确关闭响应体
82872cb fix(router): 修改正则路由处理,使用不带查询参数的 URL 路径(Path)进行路由匹配
0051802 perf(utils): 将 SRT2ASS 方法参数类型从 string 改为 []byte,优化字幕格式转换性能
d67995a perfect(EmbyServerHandler): 优化 ModifyIndex 方法,确保正确关闭响应体避免内存泄露减少 GC 压力,使用 []byte 替代 string,提高性能
e0dd17f perfect(EmbyServerHandler): 优化 ModifySubtitles 和 ModifyBaseHtmlPlayer 方法,使用 []byte 替代 string 更新响应体,提高性能
8082c53 perfect(EmbyServerHandler): 确保 EmbyServerHandler 实现 MediaServerHandler 接口
aba6f5d perfect(handler): 使用 os.ReadFile 替代 utils.GetFileContent 读取文件内容
c7ba750 perfect(utils): 优化 SRT2ASS 方法,使用 bytes.Buffer 替代切片,减少内存分配,提高性能,提升代码健壮性
47dd4e3 perfect(utils): 优化 SRT2ASS 方法,使用预定义常量替代硬编码字符串,减少 []byte 转换 降低内存分配次数,减少 GC 压力
40da14e perfect(utils): 优化 SRT2ASS 方法,复用 newLine
4e51516 refactor(constants): 重构 EmbyRegexp 结构,优化正则表达式管理
76eea37 优化 SRT2ASS 方法,简化时间行处理逻辑,减少嵌套,提高代码可读性
You can’t perform that action at this time.