mtvpls
|
3b5587e388
|
脚本实装
|
2026-03-21 14:44:53 +08:00 |
|
mtvpls
|
b66d607675
|
视频源脚本
|
2026-03-21 11:47:22 +08:00 |
|
mtvpls
|
c10e28f5ae
|
Merge branch 'dev' of https://github.com/mtvpls/moontvplus-dev into dev
|
2026-03-21 10:33:16 +08:00 |
|
mtvpls
|
0322b2650b
|
修复live全量代理not source
|
2026-03-19 23:23:14 +08:00 |
|
mtvpls
|
b61865fb49
|
优化视频权重获取方式
|
2026-03-19 16:10:43 +08:00 |
|
mtvpls
|
02b5c87c01
|
获取视频源详情不再依赖title
|
2026-03-18 09:51:23 +08:00 |
|
mtvpls
|
826acf40bf
|
电视直播三种代理模式
|
2026-03-17 10:54:34 +08:00 |
|
mtvpls
|
fe210c26cb
|
电视直播代理控制权从客户端改为服务端
|
2026-03-16 15:47:12 +08:00 |
|
mtvpls
|
cdba909716
|
fix缓存
|
2026-03-14 12:47:01 +08:00 |
|
mtvpls
|
11317abc98
|
ai评论生成
|
2026-03-14 11:30:17 +08:00 |
|
mtvpls
|
ea169593a6
|
尝试修复emby代理内存泄漏
|
2026-03-13 20:14:33 +08:00 |
|
mtvpls
|
52166a4a5d
|
Merge branch 'pr-213' into dev
|
2026-03-12 20:10:41 +08:00 |
|
Troray
|
3e9fdbb7a0
|
fix: 强化 SSRF 防护、修复代理链路安全漏洞与代码质量问题
基于 Gemini Code Assist 审查建议,对代理链路进行全面安全加固与代码优化。
- [新增] `src/lib/server/ssrf.ts`: 使用 `dns.promises.lookup` 进行真实 IP 解析,
替代原有的正则匹配,防御 DNS 重绑定、非十进制 IP 等绕过手段
- [新增] 为 `proxy/vod/m3u8`、`proxy/vod/key`、`video-proxy` 三个接口补齐 SSRF 校验,
此前仅 `proxy-m3u8` 和 `proxy/vod/segment` 有防护
- [删除] `utils.ts` 中已弃用的 `isValidUrlForProxy` 函数
- 所有代理接口统一强制 SSRF 校验,不再仅限于 `source=directplay`
- 修复 `proxy/vod/segment` 中 `isCancelled` 为 `const` 导致流取消信号失效的问题
- 修复 `proxy-m3u8/route.ts` 中导入不存在的函数(`extractResolutionFromM3u8`, `filterAdsFromM3U8Default`, `resolveM3u8Links`)的构建错误
- 修复直链直连模式下 `fetchCurrentSourceVideoInfo` 使用 HLS.js (XHR) 探测视频分辨率
触发 CORS 误报的问题,改为直接跳过探测
- 移除 `proxy/vod/segment` 中未使用的 `NextRequest` 导入
- [新增] `src/lib/server/proxy-headers.ts`: 抽取 CORS 响应头为共享工具函数,
消除 `proxy/vod/segment`、`proxy/vod/key`、`proxy/vod/m3u8` 中重复代码
- 统一使用 `DIRECT_PLAY_SOURCE` 常量替代硬编码 `'directplay'` 字符串
- `src/lib/server/ssrf.ts`
- `src/lib/server/proxy-headers.ts`
- `/app/api/proxy-m3u8/route`
- `/app/api/proxy/vod/key/route`
- `/app/api/proxy/vod/m3u8/route`
- `/app/api/proxy/vod/segment/route`
- `/app/api/video-proxy/route`
- `/app/play/page`x
- `/lib/utils`
|
2026-03-11 21:11:24 +08:00 |
|
Troray
|
11dd787e73
|
feat(play): 直链播放默认不走代理及无后缀流透传兼容
1. 将直链播放(directplay)模式默认改为浏览器直连播放。
2. 播放失败UI新增'使用代理播放'按钮,点击后自动记忆域名并使用代理重试。
3. 仅在 localStorage 中记录的失败域名会自动走代理。
|
2026-03-11 17:11:44 +08:00 |
|
Troray
|
802bf80bef
|
修复SSRF/Host Header注入与Null报错的问题
|
2026-03-10 20:58:56 +08:00 |
|
Troray
|
3563d80510
|
fix(player):修复直链播放m3u8时跨域错误及分片加载失败的问题
|
2026-03-10 17:28:48 +08:00 |
|
mtvpls
|
fc9d7a67f9
|
修复filesystem模式取消下载不删除文件
|
2026-03-07 20:09:07 +08:00 |
|
mtvpls
|
bc25791fd9
|
ai问片移除think,标题可点击
|
2026-03-07 12:32:26 +08:00 |
|
mtvpls
|
6481772777
|
优化ai问片流式处理,系统提示词增加日期,优化决策json提取
|
2026-03-07 12:00:54 +08:00 |
|
mtvpls
|
047691d1a5
|
emby支持无密码登录
|
2026-03-07 10:19:38 +08:00 |
|
mtvpls
|
82e6a33b00
|
修复未配置TVBOX_SUBSCRIBE_TOKEN不代理emby图片
|
2026-03-05 21:27:03 +08:00 |
|
mtvpls
|
a2ac524778
|
修正emby代理验证key为undefined的问题
|
2026-03-04 21:31:55 +08:00 |
|
mtvpls
|
4da312e8c7
|
电视直播放行mp4
|
2026-03-03 12:08:38 +08:00 |
|
mtvpls
|
4f87e99f52
|
emby增加自定义ua和图片代理
|
2026-03-03 11:23:25 +08:00 |
|
mtvpls
|
fe1f79b273
|
定时任务可控制是否完成再返回
|
2026-03-01 16:07:22 +08:00 |
|
mtvpls
|
0402828c4c
|
tvbox支持根据用户细分
|
2026-02-25 11:56:27 +08:00 |
|
mtvpls
|
2670e80446
|
fix typeerror
|
2026-02-24 21:48:30 +08:00 |
|
mtvpls
|
ac68bca649
|
数据迁移并发提升性能
|
2026-02-24 21:03:18 +08:00 |
|
mtvpls
|
7124246538
|
定时任务冷却
|
2026-02-23 21:36:19 +08:00 |
|
mtvpls
|
4dfea503d5
|
定时任务性能优化
|
2026-02-22 23:55:34 +08:00 |
|
mtvpls
|
f02dce869c
|
进度条图标自定义
|
2026-02-21 02:13:50 +08:00 |
|
mtvpls
|
5d2f944346
|
tvbox增加jar包
|
2026-02-20 13:31:39 +08:00 |
|
mtvpls
|
71205d98d8
|
修复更新通知跳转播放页缺少title参数
|
2026-02-20 11:45:46 +08:00 |
|
mtvpls
|
84fec2eada
|
剧集更新提示
|
2026-02-19 22:03:05 +08:00 |
|
mtvpls
|
96b08dc0bd
|
私人影库增加追番订阅功能
|
2026-02-18 17:20:37 +08:00 |
|
mtvpls
|
bdb43450a6
|
详情面板增加演员
|
2026-02-17 01:22:15 +08:00 |
|
mtvpls
|
04bb7a1ada
|
更鉴权的m3u8代理
|
2026-02-13 20:08:58 +08:00 |
|
mtvpls
|
f0cedc1651
|
修复openlist目录包含文件时扫描失败
|
2026-02-11 16:44:43 +08:00 |
|
mtvpls
|
84c5d7a9f0
|
修复postgrep的用户导出
|
2026-02-11 00:51:06 +08:00 |
|
mtvpls
|
22b9242e39
|
修复postgres导入
|
2026-02-10 20:10:17 +08:00 |
|
mtvpls
|
e0606d0b8b
|
修复OpenList缓存未启用时仍走代理的问题
在replaceAudioUrlsWithOpenList函数中添加OpenListCacheEnabled检查,
确保只有在启用OpenList缓存时才会执行代理逻辑。
|
2026-02-09 02:16:09 +08:00 |
|
mtvpls
|
f43bdaa9e3
|
openlist根路径主动移除bom
|
2026-02-06 21:28:57 +08:00 |
|
mtvpls
|
161243b0a7
|
识别oriontv
|
2026-02-05 15:48:10 +08:00 |
|
mtvpls
|
b8c31d12ab
|
移除旧版emby接口
|
2026-02-04 16:42:05 +08:00 |
|
mtvpls
|
d772051213
|
修复部分tmdb接口在cloudflare下无法使用
|
2026-02-04 01:36:47 +08:00 |
|
mtvpls
|
521205a8c2
|
music 兼容cloudflarer
|
2026-02-04 00:34:50 +08:00 |
|
mtvpls
|
500d5604d9
|
fix switch
|
2026-02-04 00:15:44 +08:00 |
|
mtvpls
|
815f5daa2e
|
修复歌曲已缓存还检查openlist文件状态
|
2026-02-03 22:56:29 +08:00 |
|
mtvpls
|
b48c573e28
|
etag
|
2026-02-03 22:03:41 +08:00 |
|
mtvpls
|
ec1ebb750c
|
音乐openlist代理
|
2026-02-03 20:37:01 +08:00 |
|