jxxghp
a5e7483870
fix schemas
2025-11-17 10:58:24 +08:00
Attente
4f806db8b7
fix: 修复变更默认下载器不生效的问题
...
- 配置模块迁移到 `SettingsConfigDict` 以支持 Pydantic v2 的配置方式
- 在 `MediaInfo` 中新增 `release_dates` 字段,用于存储多地区发行日期信息
- 修改 `MetaVideo` 类中的 token 传递逻辑,以修复搜索站点资源序列化错误的问题
2025-11-11 10:44:45 +08:00
Attente
6755202958
feat(cache): 使用 fresh 和 async_fresh 统一缓存控制方式
...
- 修复因缓存导致的插件更新后仍有更新提示的问题
- 统一使用 fresh/async_fresh 控制缓存行为
- 调整 TMDb 模块缓存策略,优化异步请求缓存清除机制
- 移除冗余的缓存方法封装,减少调用层级
- 简化 PluginHelper 中的缓存方法结构,移除 force 参数
2025-11-03 07:41:42 +08:00
Attente
c17cca2365
fix(update_setting): 修复设置保存错误的问题
...
- adapt to Pydantic V2
2025-11-01 23:51:59 +08:00
Attente
c7f098771b
feat: adapt to Pydantic V2
2025-11-01 17:56:37 +08:00
jxxghp
d523c7c916
fix pydantic
2025-11-01 09:51:23 +08:00
jxxghp
09a19e94d5
fix config
2025-11-01 09:23:52 +08:00
jxxghp
3971c145df
refactor: streamline data serialization in tool implementations
...
- Replaced model_dump and to_dict methods with direct calls to dict for improved consistency and performance in JSON serialization across multiple tools.
- Updated ConversationMemoryManager, GetRecommendationsTool, QueryDownloadsTool, and QueryMediaLibraryTool to enhance data handling.
2025-10-31 11:36:50 +08:00
wumode
4ff16af3a7
fix: __invoke_plugin_method_async 中 __handle_event_error 参数传递错误
2025-10-28 20:09:44 +08:00
Attente
7421ca09cc
fix(transfer): 修复部分情况下无法正确统计已完成任务总大小的问题
...
- get_directory_size 使用 os.scandir 递归遍历提升性能
- 当任务文件项存储类型为 local 时,若其大小为空,则通过 SystemUtils 获取目录大小以确保
完成任务的准确统计。
fix(cache): 修改 fresh 和 async_fresh 默认参数为 True
refactor(filemanager): 移除整理后总大小计算逻辑
- 删除 TransHandler 中对整理目录总大小的冗余计算,提升性能并简化流程。
perf(system): 使用 scandir 优化文件扫描性能
- 重构 SystemUtils 中的文件扫描方法(list_files、exists_file、list_sub_files),
- 采用 os.scandir 替代 glob 实现,并预编译正则表达式以提升目录遍历与文件匹配性能。
2025-10-23 19:21:24 +08:00
jxxghp
0c58eae5e7
Merge pull request #5060 from wikrin/cached
2025-10-19 22:37:33 +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
003781e903
add MoviePilot AI agent implementation and workflow manager
2025-10-18 21:55:31 +08:00
jxxghp
6fee532c96
add ai agent
2025-10-18 21:26:36 +08:00
Aqr-K
fa2b720e92
Refactor(plugins): Use pathlib.relative_to for robust plugin path resolution
2025-09-30 20:03:08 +08:00
Aqr-K
751d627ead
Merge branch 'fix-plugin' of https://github.com/aqr-k/MoviePilot into fix-plugin
2025-09-30 19:48:46 +08:00
Aqr-K
3e66a8de9b
Rollback cache
2025-09-30 19:35:50 +08:00
Aqr-K
266052b12b
Update app/core/plugin.py
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-30 19:26:33 +08:00
Aqr-K
803f4328f4
fix(plugins): Improve hot-reload robustness for multi-inheritance plugins
2025-09-30 18:34:26 +08:00
Aqr-K
8e95568e11
refactor(plugins): Improve hot-reloading with watchfiles
2025-09-30 18:01:02 +08:00
jxxghp
b6720a19f7
更新 plugin.py
2025-09-22 17:56:12 +08:00
jxxghp
3b130651c4
Merge pull request #4987 from Aqr-K/refactor/plugin-monitor
2025-09-22 11:41:13 +08:00
Aqr-K
db2a952bca
refactor(plugin): Enhance hot reload with debounce and subdirectory support
2025-09-22 02:48:49 +08:00
Aqr-K
0b20956c90
fix
2025-09-21 22:42:18 +08:00
jxxghp
3d43750e9b
fix async event
2025-09-10 17:33:12 +08:00
jxxghp
fea228c68d
add SUPERUSER_PASSWORD
2025-09-10 15:42:17 +08:00
jxxghp
a71a28e563
更新 config.py
2025-09-10 07:00:10 +08:00
jxxghp
3b5d4982b5
add wizard flag
2025-09-09 13:50:11 +08:00
jxxghp
59a54d4f04
fix plugin cache
2025-09-08 13:27:32 +08:00
jxxghp
1e94d794ed
fix log
2025-09-08 12:12:00 +08:00
jxxghp
481f1f9d30
add full gc scheduler
2025-09-08 10:49:09 +08:00
jxxghp
89b0ea0bf1
remove monitoring
2025-09-04 11:23:22 +08:00
jxxghp
8a5d864812
更新 config.py
2025-09-04 08:28:42 +08:00
jxxghp
eb0e67fc42
fix logging
2025-09-03 12:42:13 +08:00
jxxghp
39f6505a80
fix:优化参数、使用orjson
2025-09-03 09:51:24 +08:00
jxxghp
88049e741e
add SUBSCRIBE_SEARCH_INTERVAL
2025-09-02 11:41:52 +08:00
jxxghp
b8e0c0db9e
feat:精细化事件错误
2025-08-26 08:41:47 +08:00
jxxghp
6664fb1716
feat:增加插件和日历的自动缓存
2025-08-25 16:37:02 +08:00
jxxghp
1206f24fa9
修复缓存迭代时的并发问题
2025-08-25 13:11:44 +08:00
jxxghp
ffb5823e84
fix #4829 优化模块导入逻辑,增加对 Async 类的特殊处理
2025-08-25 08:14:43 +08:00
jxxghp
f7cd6eac50
feat:整理手动中止功能
2025-08-24 19:17:41 +08:00
jxxghp
2285befebb
fix cache set
2025-08-24 16:10:48 +08:00
jxxghp
1cd0648e4e
fix cache set
2025-08-24 15:36:56 +08:00
jxxghp
30446c4526
fix cache is_redis
2025-08-24 12:27:14 +08:00
jxxghp
ba146e13ef
fix 优化cache模块声明
2025-08-24 08:36:37 +08:00
jxxghp
7cc3777a60
fix async cache
2025-08-23 18:34:47 +08:00
jxxghp
31f342fe4f
fix torrent
2025-08-23 18:10:33 +08:00
jxxghp
3b04506893
fix redis key
2025-08-23 15:40:38 +08:00
jxxghp
354165aa0a
fix cache
2025-08-23 14:21:50 +08:00
jxxghp
343109836f
fix cache
2025-08-23 14:06:44 +08:00