1
0
mirror of https://github.com/hanxi/xiaomusic.git synced 2026-03-28 10:19:45 +08:00

feat: 默认关闭语音口令

This commit is contained in:
涵曦
2026-01-12 21:53:55 +08:00
parent 56ac1f7695
commit 8bb02bc18b
2 changed files with 3 additions and 3 deletions

View File

@@ -185,7 +185,7 @@ class Config:
) # 监控刷新延迟时间(秒)
pull_ask_sec: int = int(os.getenv("XIAOMUSIC_PULL_ASK_SEC", "1"))
enable_pull_ask: bool = (
os.getenv("XIAOMUSIC_ENABLE_PULL_ASK", "true").lower() == "true"
os.getenv("XIAOMUSIC_ENABLE_PULL_ASK", "false").lower() == "true"
)
crontab_json: str = os.getenv("XIAOMUSIC_CRONTAB_JSON", "") # 定时任务
enable_yt_dlp_cookies: bool = (

View File

@@ -196,8 +196,8 @@ var vConsole = new window.VConsole();
<label for="enable_pull_ask">获取对话记录:</label>
<select id="enable_pull_ask">
<option value="true" selected>true</option>
<option value="false">false</option>
<option value="true">true</option>
<option value="false selected">false</option>
</select>
<label for="pull_ask_sec">获取对话记录间隔(秒):</label>