默认允许播放歌曲和随机播放唤醒

This commit is contained in:
涵曦 2024-05-08 14:15:10 +00:00
parent 4b5d5b3a0a
commit de36ff7d24

View File

@ -89,7 +89,7 @@ class Config:
"XIAOMUSIC_SEARCH", "ytsearch:" "XIAOMUSIC_SEARCH", "ytsearch:"
) # "bilisearch:" or "ytsearch:" ) # "bilisearch:" or "ytsearch:"
ffmpeg_location: str = os.getenv("XIAOMUSIC_FFMPEG_LOCATION", "./ffmpeg/bin") ffmpeg_location: str = os.getenv("XIAOMUSIC_FFMPEG_LOCATION", "./ffmpeg/bin")
active_cmd: str = os.getenv("XIAOMUSIC_ACTIVE_CMD", "") active_cmd: str = os.getenv("XIAOMUSIC_ACTIVE_CMD", "play,random_play")
def __post_init__(self) -> None: def __post_init__(self) -> None:
if self.proxy: if self.proxy: