Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 20 additions & 3 deletions _conf_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,31 @@
"api_url": {
"description": "MetingAPI 地址",
"type": "string",
"hint": "不带 api? 及后面的后缀,例如:https://api.example.com/meting"
"hint": "不带后面的后缀,例如:https://api.example.com/meting"
},
"default_source": {
"description": "默认音源",
"type": "string",
"hint": "可选:tencent(QQ音乐)、netease(网易云)、kugou(酷狗)、kuwo(酷我)",
"hint": "可选:tencent(QQ音乐)、netease(网易云)",
"default": "netease"
},
"api_type": {
"description": "API 类型",
"type": "int",
"hint": "1: Node API , 2: PHP API",
"default": 1
},
"use_music_card": {
"description": "使用音乐卡片",
"type": "bool",
"hint": "是否使用音乐卡片显示搜索结果,默认为 true",
Copy link

Copilot AI Feb 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The hint says "默认为 true" but the default is actually set to true on line 23. However, this creates a discrepancy with line 595 in main.py which uses False as the fallback. Consider either changing the default here to false to match the code, or updating the code to use true as the default.

Copilot uses AI. Check for mistakes.
"default": true
Comment thread
NanoRocky marked this conversation as resolved.
},
"api_sign_url": {
"description": "音乐卡片签名地址",
"type": "string",
"hint": "用于获取 API 请求签名的地址"
},
"search_result_count": {
"description": "搜索结果显示数量",
"type": "int",
Expand Down Expand Up @@ -42,4 +59,4 @@
"minimum": 10,
"maximum": 200
}
}
}
Loading