mirror of
https://github.com/thsrite/MoviePilot-Plugins.git
synced 2026-03-27 10:05:57 +00:00
fix 解决依赖安装问题
This commit is contained in:
@@ -286,11 +286,12 @@
|
||||
"name": "CloudDrive2助手",
|
||||
"description": "监控上传任务,检测是否有异常,发送通知。",
|
||||
"labels": "云盘",
|
||||
"version": "2.0.3",
|
||||
"version": "2.0.4",
|
||||
"icon": "https://raw.githubusercontent.com/thsrite/MoviePilot-Plugins/main/icons/clouddrive.png",
|
||||
"author": "thsrite",
|
||||
"level": 2,
|
||||
"history": {
|
||||
"v2.0.4": "依赖问题",
|
||||
"v2.0.3": "优化执行周期输入,需要MoviePilot v2.2.1+",
|
||||
"v2.0.2": "HomePage API支持参数name指定配置(默认取第一个)",
|
||||
"v2.0.1": "修复HomePage API",
|
||||
|
||||
@@ -5,8 +5,14 @@ from typing import Any, List, Dict, Tuple, Optional
|
||||
import pytz
|
||||
from apscheduler.schedulers.background import BackgroundScheduler
|
||||
from apscheduler.triggers.cron import CronTrigger
|
||||
from clouddrive import CloudDriveClient, Client
|
||||
from clouddrive.proto import CloudDrive_pb2
|
||||
try:
|
||||
from clouddrive import CloudDriveClient, Client
|
||||
from clouddrive.proto import CloudDrive_pb2
|
||||
except ImportError:
|
||||
from sys import executable
|
||||
from subprocess import run
|
||||
|
||||
run([executable, "-m", "pip", "install", "clouddrive-0.0.12.7.1.tar.gz"], check=True)
|
||||
|
||||
from app import schemas
|
||||
from app.core.config import settings
|
||||
@@ -25,7 +31,7 @@ class Cd2Assistant(_PluginBase):
|
||||
# 插件图标
|
||||
plugin_icon = "https://raw.githubusercontent.com/thsrite/MoviePilot-Plugins/main/icons/clouddrive.png"
|
||||
# 插件版本
|
||||
plugin_version = "2.0.3"
|
||||
plugin_version = "2.0.4"
|
||||
# 插件作者
|
||||
plugin_author = "thsrite"
|
||||
# 作者主页
|
||||
|
||||
BIN
plugins.v2/cd2assistant/clouddrive-0.0.12.7.1.tar.gz
Normal file
BIN
plugins.v2/cd2assistant/clouddrive-0.0.12.7.1.tar.gz
Normal file
Binary file not shown.
@@ -1,2 +0,0 @@
|
||||
clouddrive
|
||||
lz4
|
||||
Reference in New Issue
Block a user