Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

可配置xiaomuisc激活指令,其他指令需要激活后才能使用 #43

Merged
merged 1 commit into from
May 1, 2024

Conversation

ominkk
Copy link

@ominkk ominkk commented May 1, 2024

  1. 语音控制的情况下,部分指令可能干扰小爱原有功能,比如正在播放小爱的歌单,语音控制下一首,会触发到xiaomusic,导致不能正常播歌单的下一首

调整方式:
增加XIAOMUSIC_ACTIVE_CMD的环境变量配置,比如配置成'play,random_play',那么在非播放状态下,只有这两个指令可以触发,触发后,xiaomusic进入playing状态,其他指令则可以正常触发。

  1. 关机后过段时间继续播放 #36 (comment)
    调整方式:
    语音指令解析为空的情况下,如果当前是playing状态,那么执行stop

以上调整不影响控制面板操作的情况

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants