From ea2d6a4853e0f9507ed8037a5288e357bff8c344 Mon Sep 17 00:00:00 2001 From: thsrite Date: Wed, 30 Oct 2024 15:39:40 +0800 Subject: [PATCH] =?UTF-8?q?fix=20SpeedLimiter=E4=BF=AE=E5=A4=8D=E8=A1=A8?= =?UTF-8?q?=E5=8D=95=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.v2.json | 3 ++- plugins.v2/speedlimiter/__init__.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.v2.json b/package.v2.json index fdd7c96..0f5e317 100644 --- a/package.v2.json +++ b/package.v2.json @@ -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": "增加不限速路径配置,以应对网盘直链播放的情况" } diff --git a/plugins.v2/speedlimiter/__init__.py b/plugins.v2/speedlimiter/__init__.py index 5dcfc1b..3f01708 100644 --- a/plugins.v2/speedlimiter/__init__.py +++ b/plugins.v2/speedlimiter/__init__.py @@ -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()]