75 行
2.1 KiB
JSON
75 行
2.1 KiB
JSON
{
|
||
"moviepilot_url": {
|
||
"description": "MoviePilot 服务地址",
|
||
"type": "string",
|
||
"hint": "例如 http://192.168.1.10:3000,不要填写 /api/v1 后缀",
|
||
"obvious_hint": true,
|
||
"default": ""
|
||
},
|
||
"moviepilot_api_token": {
|
||
"description": "MoviePilot API Token",
|
||
"type": "string",
|
||
"hint": "用于 X-API-KEY 请求头鉴权;请勿在聊天消息或日志中泄露",
|
||
"obvious_hint": true,
|
||
"default": ""
|
||
},
|
||
"private_user_ids": {
|
||
"description": "允许操作的私聊用户",
|
||
"type": "list",
|
||
"hint": "填写 AstrBot / OneBot 11 使用的用户标识",
|
||
"default": []
|
||
},
|
||
"group_permissions": {
|
||
"description": "允许操作的群聊及群内用户",
|
||
"type": "template_list",
|
||
"hint": "群聊操作需要同时命中群标识和群内用户标识",
|
||
"templates": {
|
||
"group": {
|
||
"name": "群聊白名单",
|
||
"display_item": "group_id",
|
||
"items": {
|
||
"group_id": {
|
||
"description": "群聊标识",
|
||
"type": "string",
|
||
"default": ""
|
||
},
|
||
"user_ids": {
|
||
"description": "群内用户标识",
|
||
"type": "list",
|
||
"default": []
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"default": []
|
||
},
|
||
"push_group_id": {
|
||
"description": "通知推送群聊",
|
||
"type": "string",
|
||
"hint": "留空表示不推送到固定群聊",
|
||
"default": ""
|
||
},
|
||
"push_private_user_id": {
|
||
"description": "通知推送个人账号",
|
||
"type": "string",
|
||
"hint": "留空表示不推送到固定个人账号",
|
||
"default": ""
|
||
},
|
||
"notification_poll_interval": {
|
||
"description": "通知轮询间隔(秒)",
|
||
"type": "int",
|
||
"hint": "建议设置为 60~120 秒",
|
||
"default": 60
|
||
},
|
||
"search_cache_ttl": {
|
||
"description": "搜索结果缓存有效期(秒)",
|
||
"type": "int",
|
||
"hint": "超过有效期后,搜索结果编号不能继续用于订阅或下载",
|
||
"default": 600
|
||
},
|
||
"enable_notification_polling": {
|
||
"description": "启用 MoviePilot 通知轮询",
|
||
"type": "bool",
|
||
"default": true
|
||
}
|
||
}
|