astrbot_plugin_moviepilot/_conf_schema.json

95 行
2.6 KiB
JSON

此文件含有模棱两可的 Unicode 字符

此文件含有可能会与其他字符混淆的 Unicode 字符。 如果您是想特意这样的,可以安全地忽略该警告。 使用 Escape 按钮显示他们。

{
"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": ""
},
"allowed_platforms": {
"description": "允许使用插件的平台",
"type": "list",
"hint": "默认支持 aiocqhttp 和 telegram",
"default": [
"aiocqhttp",
"telegram"
]
},
"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_platform_id": {
"description": "推送目标平台实例标识",
"type": "string",
"hint": "默认使用 aiocqhttp;需要发送到其他平台时填写对应 AstrBot 平台 ID",
"default": "aiocqhttp"
},
"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
},
"search_result_count": {
"description": "每次搜索返回的结果数量",
"type": "int",
"default": 5
},
"enable_notification_polling": {
"description": "启用 MoviePilot 通知轮询",
"type": "bool",
"default": true
}
}