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
3c055e2482
fix: avoid tmdb cached response mutation
...
Fixes #5777
2026-05-16 08:02:18 +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
景大侠
4c3d47f1f0
feat(cache): 同步/异步函数可共享缓存
...
- 缓存键支持自定义命名,使异步与同步函数可共享缓存结果
- 内存缓存改为类变量,实现多个cache装饰器共享同一缓存空间
- 重构AsyncMemoryBackend,减少重复代码
- 补齐部分模块的缓存清理功能
2026-02-10 18:46:49 +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
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
983f8fcb03
fix httpx
2025-07-31 13:51:43 +08:00
jxxghp
6873de7243
fix async
2025-07-31 13:32:47 +08:00
jxxghp
ca51880798
fix themoviedb api
2025-07-31 08:40:24 +08:00
jxxghp
8b708e8939
fix themoviedb api
2025-07-31 08:34:47 +08:00
jxxghp
749aaeb003
fix async
2025-07-31 07:07:14 +08:00
jxxghp
423c9af786
为TheMovieDb模块添加异步支持(part 1)
2025-07-30 22:28:12 +08:00
Attente
0f0c3e660b
style: 清理空白字符
...
移除代码中的 trailing whitespace 和空行缩进, 提升代码整洁度
2025-06-29 22:49:58 +08:00
jxxghp
93eec6c4b8
fix cache
2025-06-27 15:24:57 +08:00
jxxghp
574257edf8
add SystemConfModel
2025-06-27 09:54:15 +08:00
jxxghp
23929f5eaa
fix pool size
2025-06-07 22:00:09 +08:00
jxxghp
1a8e0c9ecb
fix #4270
2025-05-14 08:41:06 +08:00
jxxghp
16fc0d31cd
fix #4270
2025-05-14 08:11:50 +08:00
InfinityPacer
ff5d94782f
fix(TMDB): adjust trending cache maxsize to 1024
2025-01-18 23:45:03 +08:00
InfinityPacer
11d4f27268
feat(cache): migrate cachetools usage to unified cache backend
2025-01-18 02:12:20 +08:00
jxxghp
ebffdebdb2
refactor: 优化缓存策略
2024-11-21 15:52:08 +08:00
jxxghp
e2e1c7642d
fix 订阅重置 & TMDB电视剧榜单
2024-06-10 09:38:12 +08:00
thsrite
74c71390c9
fix unhashable type: 'dict'
2024-06-03 09:54:32 +08:00
jxxghp
a278c80951
fix #2151 TMDB发现和趋势修改为TTL缓存
2024-05-24 09:29:51 +08:00
jxxghp
9daff87f2f
fix api
2024-04-26 19:41:17 +08:00
jxxghp
f20b1bcfe9
feat:人物搜索API
2024-04-26 17:47:45 +08:00
jxxghp
a3603f79c8
fix requests
2024-04-10 22:16:10 +08:00
jxxghp
9439d02351
fix TMDB缓存None的问题
2023-11-11 10:37:33 +08:00
jxxghp
cbea7ccdf6
fix TMDB缓存None的问题
2023-11-11 10:34:49 +08:00
jxxghp
3bdd96a8ee
fix #951 不缓存网络错误导致的TMDB信息None
2023-10-26 17:07:01 +08:00
jxxghp
ac3009d58f
fix bug
2023-10-12 08:40:56 +08:00
jxxghp
79c7475435
fix tmdb lru cache
2023-10-05 17:41:02 -07:00
jxxghp
5bcd90c569
fix requests session
2023-10-05 17:21:59 -07:00
jxxghp
1a49c7c59e
try fix
2023-10-05 07:44:21 +08:00
jxxghp
8001511484
fix #690
2023-10-01 21:23:41 +08:00
jxxghp
b1ee80edee
fix themoivedb timeout
2023-09-28 19:08:34 +08:00
thsrite
a0b8cc6719
feat 补充剧集全部季年份
2023-09-09 21:24:07 +08:00
thsrite
59b4eb53de
fix TMDB_API_DOMAIN
2023-08-11 12:18:09 +08:00
jxxghp
541a8d725d
fix
2023-08-04 16:14:52 +08:00
jxxghp
99dcf96c7c
fix bug
2023-08-04 13:55:29 +08:00
jxxghp
43e1816444
fix
2023-08-01 08:10:13 +08:00
jxxghp
f21c46edba
fix api
2023-07-30 13:12:17 +08:00
jxxghp
df05c46a5b
fix api
2023-07-30 11:13:53 +08:00