更新日志
✨ Features
- 新增配置系统:实现可持久化的插件配置,支持通过配置文件自定义插件参数
- 支持自动提取开关:新增
EnableAutoExtract配置项,可控制是否在检测到新 STRM 文件时自动提取媒体信息 - 可配置处理延迟:新增
ProcessingDelayMs配置项,用户可自定义文件处理间隔(默认 2000 毫秒) - 可配置最大并发数:新增
MaxConcurrency配置项,用户可自定义同时处理的文件数量(默认 3 个)
🛠 Improvements
- 重构配置管理:将配置从硬编码的
CommonConfiguration迁移到可持久化的PluginConfiguration - 向后兼容设计:保留
CommonConfiguration中的默认值作为后备,确保配置未设置时仍能正常工作
Changelog
✨ Features
- Added Configuration System: Introduced persistent plugin configuration, allowing customization of plugin parameters via a configuration file
- Auto Extraction Toggle Support: Added the
EnableAutoExtractoption to control whether media information is automatically extracted when a new STRM file is detected - Configurable Processing Delay: Added the
ProcessingDelayMsoption, allowing users to customize the interval between file processing (default: 2000 ms) - Configurable Maximum Concurrency: Added the
MaxConcurrencyoption, allowing users to define the number of files processed simultaneously (default: 3)
🛠 Improvements
- Refactored Configuration Management: Migrated configuration from hardcoded
CommonConfigurationto persistentPluginConfiguration - Backward Compatibility Design: Retained default values in
CommonConfigurationas a fallback to ensure proper functionality when configuration values are not set