mirror of
https://github.com/hanxi/xiaomusic.git
synced 2026-03-28 10:19:45 +08:00
feat: 默认关闭语音口令
This commit is contained in:
@@ -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 = (
|
||||
|
||||
4
xiaomusic/static/default/setting.html
vendored
4
xiaomusic/static/default/setting.html
vendored
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user