From fe4643ff7cfed530e0a4b0f994d4236ef5a17ccd Mon Sep 17 00:00:00 2001 From: Cp0204 Date: Thu, 14 Nov 2024 02:51:57 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20=E4=BF=AE=E6=94=B9emby=5Fid?= =?UTF-8?q?=E4=B8=BAmedia=5Fid=EF=BC=8C=E6=9B=B4=E6=96=B0=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- quark_auto_save.py | 4 ++-- quark_config.json | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/quark_auto_save.py b/quark_auto_save.py index 4df922c..4d861a9 100644 --- a/quark_auto_save.py +++ b/quark_auto_save.py @@ -797,8 +797,8 @@ def do_save(account, tasklist=[]): print(f"正则替换: {task['replace']}") if task.get("enddate"): print(f"任务截止: {task['enddate']}") - if task.get("emby_id"): - print(f"刷媒体库: {task['emby_id']}") + if task.get("media_id"): + print(f"刷媒体库: {task['media_id']}") if task.get("ignore_extension"): print(f"忽略后缀: {task['ignore_extension']}") if task.get("update_subdir"): diff --git a/quark_config.json b/quark_config.json index 2eeb875..85222d5 100644 --- a/quark_config.json +++ b/quark_config.json @@ -6,9 +6,11 @@ "QUARK_SIGN_NOTIFY": true, "其他推送渠道//此项可删": "配置方法同青龙" }, - "emby": { - "url": "", - "apikey": "" + "media_servers": { + "emby": { + "url": "", + "token": "" + } }, "tasklist": [ { @@ -18,7 +20,7 @@ "pattern": "$TV", "replace": "", "enddate": "2099-01-30", - "emby_id": "", + "media_id": "", "update_subdir": "4k|1080p" }, {