jxxghp
00fc8b2f53
chore: update text processing dependencies
2026-05-23 12:18:59 +08:00
jxxghp
b6b5529d19
fix: 优化TMDB搜索匹配优先级,title/original_title优先于别名匹配
...
将搜索结果匹配策略从"逐个结果完整匹配链"改为"两轮优先级匹配":
第一轮遍历所有结果只匹配title/original_title,第二轮再匹配别名译名。
避免排序靠前的无关影片因别名恰好匹配而抢先于正确结果。
Fixes #5719
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-21 17:47:59 +08:00
jxxghp
7cc037c683
fix: suppress garbled gzip bytes in tmdb error log
...
When Content-Encoding is present (e.g. gzip), skip logging the raw
response text to avoid unreadable binary output in logs.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-20 18:08:10 +08:00
jxxghp
068d0af4ca
fix: remove tmdb manual gzip fallback
2026-05-20 17:09:31 +08:00
jxxghp
8f117d79f2
Revert "fix: handle tmdb gzip json responses"
...
This reverts commit 47c4e84fdd .
2026-05-20 17:03:47 +08:00
jxxghp
47c4e84fdd
fix: handle tmdb gzip json responses
2026-05-20 16:54:01 +08:00
jxxghp
a5745af484
fix: restore tmdb trending recommendations
2026-05-20 10:55:01 +08:00
jxxghp
c3e4e1a764
fix: decode raw gzip tmdb responses
2026-05-20 10:44:01 +08:00
jxxghp
6edb627145
fix: handle tmdb unicode decode errors
2026-05-20 09:21:36 +08:00
jxxghp
07f51c5d94
fix: handle invalid tmdb json responses
2026-05-20 09:05:18 +08:00
jxxghp
34ff80e26c
feat: optimize scraping for multi-server compatibility
...
- Add studio, country, runtime tags to NFO generation
- Fix Fanart naming: showbackground→fanart (recognized by Jellyfin/Emby)
- Add image alias system: backdrop↔fanart, thumb↔landscape
- Merge image sources from all modules instead of first-wins
- Add CLEARART and LANDSCAPE scraping metadata types
- Extend season scraping with backdrop and landscape support
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-19 12:36:47 +08:00
jxxghp
195e34563d
fix: use explicit tmdb locale setting
2026-05-19 11:33:03 +08:00
jxxghp
29dab5a312
fix: improve media image scraping
2026-05-19 10:48:36 +08:00
jxxghp
c857ae3e14
fix(tmdb): remove fallback to TMDB website scraping when API search fails
2026-05-17 19:46:50 +08:00
jxxghp
3c055e2482
fix: avoid tmdb cached response mutation
...
Fixes #5777
2026-05-16 08:02:18 +08:00
jxxghp
2831eecbeb
perf: optimize media recognition internals
2026-05-15 13:37:36 +08:00
DDSRem
5a585839ba
chore: remove unused imports and fix function name conflicts ( #5764 )
...
- Remove unused imports in anthropic.py, tmdbv3api/__init__.py, tv.py, test files
- Rename conflicting function names in subscribe.py and webhook.py
- Clean up unused re-exports in tmdbv3api/__init__.py (15 unused exports)
- Apply consistent formatting across API endpoints
2026-05-13 18:59:03 +08:00
jxxghp
5e5c257b75
fix(tmdb): cache serializable response snapshots
...
Avoid caching raw HTTP response objects in TMDb request helpers so Redis no longer fails on embedded locks. Add an isolated regression test for sync and async request snapshots.
Refs #5763
2026-05-12 22:31:56 +08:00
Attente
ee9ea54ab7
feat(fanart): 添加异步支持并优化图片处理逻辑
2026-05-10 00:07:28 +08:00
jxxghp
94d7e4385e
fix: update shared recognize cache flow
2026-05-08 21:21:01 +08:00
DDSRem
1acf78342c
feat: tmdbid优先识别,同ID电影/电视剧通过元数据自动消歧
...
当名称中包含 {tmdbid=xxx} 时,优先使用tmdbid直接查询TMDB,不再回退到标题搜索。
当同一tmdbid同时存在电影和电视剧时,通过标题、年份、类型等元数据自动消歧。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-26 06:45:17 +08:00
jxxghp
630d13ac52
fix: 修复集缩略图文件名错误,episode-thumb-xx 改为 视频文件名-thumb.xx
2026-03-23 23:05:25 +08:00
Attente
a0838ed9cd
fix(media): 修复剧集单集图片刮削
2026-03-23 19:41:48 +08:00
景大侠
4c3d47f1f0
feat(cache): 同步/异步函数可共享缓存
...
- 缓存键支持自定义命名,使异步与同步函数可共享缓存结果
- 内存缓存改为类变量,实现多个cache装饰器共享同一缓存空间
- 重构AsyncMemoryBackend,减少重复代码
- 补齐部分模块的缓存清理功能
2026-02-10 18:46:49 +08:00
CHANTXU64
4e74d32882
Fix: TMDB 剧集详情页不显示第 0 季(特别篇) #5444
2026-02-02 10:28:22 +08:00
copilot-swe-agent[bot]
5d3443fee4
Use ruamel.yaml consistently in CategoryHelper
...
Co-authored-by: jxxghp <51039935+jxxghp@users.noreply.github.com >
2026-01-26 04:10:15 +00:00
copilot-swe-agent[bot]
27756a53db
Implement proper architecture: module->chain->API with single CategoryHelper
...
Co-authored-by: jxxghp <51039935+jxxghp@users.noreply.github.com >
2026-01-26 04:07:56 +00:00
copilot-swe-agent[bot]
a857337b31
Fix architecture - restore helper layer and use ModuleManager for reload trigger
...
Co-authored-by: jxxghp <51039935+jxxghp@users.noreply.github.com >
2026-01-25 10:06:01 +00:00
copilot-swe-agent[bot]
4ee21ffae4
Address code review feedback - use ruamel.yaml consistently and fix typo
...
Co-authored-by: jxxghp <51039935+jxxghp@users.noreply.github.com >
2026-01-25 09:58:28 +00:00
copilot-swe-agent[bot]
d8399f7e85
Consolidate CategoryHelper classes and add reload trigger
...
Co-authored-by: jxxghp <51039935+jxxghp@users.noreply.github.com >
2026-01-25 09:56:11 +00:00
景大侠
a677ed307d
修复 剧集nfo文件刮削了错误的tmdb id
...
应使用剧集id而非剧id
2026-01-18 16:23:05 +08:00
景大侠
52437c9d18
按语言缓存tmdb元数据
2026-01-12 09:41:34 +08:00
景大侠
c6cb4c8479
统一构造tmdb图片网址
2026-01-12 09:41:25 +08:00
景大侠
357db334cd
修复 自建TMDB服无法通过健康检测
...
携带UA以避免被反爬虫脚本过滤
2025-12-30 22:13:43 +08:00
REinject
931a42e981
fix(tmdbapi): 修复按季搜索剧集的名称匹配逻辑问题
2025-12-03 12:26:05 +08:00
Attente
1ef4374899
feat(telegram): 图片增加缓存与安全校验, 获取失败降级发送
...
- 统一部分类型标注
- 修正部分文本错误
2025-12-03 09:56:30 +08:00
Attente
ca5ec8af0f
feat(config): 优化配置变更事件处理机制
2025-11-27 23:17:34 +08:00
jxxghp
d1d7b8ce55
更新 __init__.py
2025-11-27 22:03:20 +08:00
Attente
eb2b34d71c
feat(themoviedb): 添加对 ConfigChanged 事件的监听支持
...
- 调整 username 字段类型以兼容整数形式
2025-11-26 20:58:58 +08:00
Attente
6755202958
feat(cache): 使用 fresh 和 async_fresh 统一缓存控制方式
...
- 修复因缓存导致的插件更新后仍有更新提示的问题
- 统一使用 fresh/async_fresh 控制缓存行为
- 调整 TMDb 模块缓存策略,优化异步请求缓存清除机制
- 移除冗余的缓存方法封装,减少调用层级
- 简化 PluginHelper 中的缓存方法结构,移除 force 参数
2025-11-03 07:41:42 +08:00
Attente
b609567c38
feat(cache): 引入 fresh 和 async_fresh 以控制缓存行为
...
- 新增 `fresh` 和 `async_fresh` 用于在同步和异步函数中
临时禁用缓存。
- 通过 `_fresh` 这一 contextvars 变量实现上下文感知的
缓存刷新机制
- 修改了 `cached` 装饰器逻辑,在 `is_fresh()` 为 True
时跳过缓存读取。
- 修复 download 模块中路径处理问题,使用 `Path.as_posix()` 确保跨平台兼容性。
2025-10-19 22:31:50 +08:00
景大侠
63775872c7
fix TMDB因连接失败产生的NoneType错误
...
glitchtip#11
2025-09-18 17:05:09 +08:00
jxxghp
9cc50bddab
Merge pull request #4764 from 2Dou/v2
2025-09-03 12:01:37 +08:00
jxxghp
d3ba0fa487
更新 category.py
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-03 11:58:07 +08:00
jxxghp
ff7fb14087
fix cache_clear
2025-09-02 08:35:48 +08:00
jxxghp
90633a6495
fix #4851
2025-08-27 15:57:43 +08:00
jxxghp
e90359eb08
fix douban
2025-08-23 15:56:30 +08:00
jxxghp
499bdf9b48
fix cache clear
2025-08-22 07:22:23 +08:00
jxxghp
68b0b9ec7a
更新 tmdb_cache.py
2025-08-21 17:52:19 +08:00
jxxghp
0b199b8421
fix TTLCache
2025-08-21 16:54:49 +08:00