Merge pull request #525 from thsrite/main

This commit is contained in:
jxxghp
2024-10-30 16:56:13 +08:00
committed by GitHub
2 changed files with 4 additions and 3 deletions

View File

@@ -156,11 +156,12 @@
"name": "播放限速",
"description": "外网播放媒体库视频时,自动对下载器进行限速。",
"labels": "网络",
"version": "2.0",
"version": "2.1",
"icon": "Librespeed_A.png",
"author": "Shurelol",
"level": 1,
"history": {
"v2.1": "修复表单参数",
"v2.0": "兼容MoviePilot V2 版本",
"v1.2": "增加不限速路径配置,以应对网盘直链播放的情况"
}

View File

@@ -19,7 +19,7 @@ class SpeedLimiter(_PluginBase):
# 插件图标
plugin_icon = "Librespeed_A.png"
# 插件版本
plugin_version = "2.0"
plugin_version = "2.1"
# 插件作者
plugin_author = "Shurelol"
# 作者主页
@@ -180,7 +180,7 @@ class SpeedLimiter(_PluginBase):
'multiple': True,
'chips': True,
'clearable': True,
'model': 'downloaders',
'model': 'downloader',
'label': '下载器',
'items': [{"title": config.name, "value": config.name}
for config in self.downloader_helper.get_configs().values()]