🔧 修改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']}") print(f"正则替换: {task['replace']}")
if task.get("enddate"): if task.get("enddate"):
print(f"任务截止: {task['enddate']}") print(f"任务截止: {task['enddate']}")
if task.get("emby_id"): if task.get("media_id"):
print(f"刷媒体库: {task['emby_id']}") print(f"刷媒体库: {task['media_id']}")
if task.get("ignore_extension"): if task.get("ignore_extension"):
print(f"忽略后缀: {task['ignore_extension']}") print(f"忽略后缀: {task['ignore_extension']}")
if task.get("update_subdir"): if task.get("update_subdir"):

View File

@ -6,9 +6,11 @@
"QUARK_SIGN_NOTIFY": true, "QUARK_SIGN_NOTIFY": true,
"其他推送渠道//此项可删": "配置方法同青龙" "其他推送渠道//此项可删": "配置方法同青龙"
}, },
"emby": { "media_servers": {
"url": "", "emby": {
"apikey": "" "url": "",
"token": ""
}
}, },
"tasklist": [ "tasklist": [
{ {
@ -18,7 +20,7 @@
"pattern": "$TV", "pattern": "$TV",
"replace": "", "replace": "",
"enddate": "2099-01-30", "enddate": "2099-01-30",
"emby_id": "", "media_id": "",
"update_subdir": "4k|1080p" "update_subdir": "4k|1080p"
}, },
{ {