🔧 修改emby_id为media_id,更新配置结构
Some checks are pending
Docker Publish / build-and-push (push) Waiting to run

This commit is contained in:
Cp0204 2024-11-14 02:51:57 +08:00
parent 588a957768
commit fe4643ff7c
2 changed files with 8 additions and 6 deletions

View File

@ -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"):

View File

@ -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"
},
{