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

小米sound(L16A) “播放歌曲“的口令无效 #24

Closed
zaqai opened this issue Mar 3, 2024 · 7 comments
Closed

小米sound(L16A) “播放歌曲“的口令无效 #24

zaqai opened this issue Mar 3, 2024 · 7 comments

Comments

@zaqai
Copy link

zaqai commented Mar 3, 2024

对小爱说“播放歌曲周杰伦晴天”, 依然是自带的付费音源,后台也不会下载,
但其他一切正常,网页输入歌曲名字点播放,小爱会说“下载XXX”,然后播放
型号L16A

@zaqai
Copy link
Author

zaqai commented Mar 3, 2024

是否支持xiaogpt中“--mute_xiaoai”参数,以及这个参数是否有效

@hanxi
Copy link
Owner

hanxi commented Mar 3, 2024

mute_xiaoai 是用来打断小爱当前说话的,默认是 true,不能解决你的问题。你的问题应该是获取不到对话记录,可能是登录失败。你可以看看这个问题能不能解决:yihong0618/MiService#2

@zaqai
Copy link
Author

zaqai commented Mar 3, 2024

mute_xiaoai 是用来打断小爱当前说话的,默认是 true,不能解决你的问题。你的问题应该是获取不到对话记录,可能是登录失败。你可以看看这个问题能不能解决:yihong0618/MiService#2

不太行,我是ubuntu跑的docker,国内ip,在容器内micli list也能打印所有设备啊

@hanxi
Copy link
Owner

hanxi commented Mar 3, 2024

@zaqai 你看看是不是 --hardware 参数或者 MI_HARDWARE 环境变量是不是配错了?获取最近的对话记录是需要这个的,我试过改错了就拉不到对话记录,也不会报错。

LATEST_ASK_API = "https://userprofile.mina.mi.com/device_profile/v2/conversation?source=dialogu&hardware={hardware}&timestamp={timestamp}&limit=2"

@zaqai
Copy link
Author

zaqai commented Mar 3, 2024

@hanxi 好了好了,还真是MI_HARDWARE参数错了,改命令的时候少删了一位,十分感谢🙏

但现在说完命令他是先播放自带的音乐,然后后台音乐下载完再播下载的,也是正常的吗

@hanxi
Copy link
Owner

hanxi commented Mar 3, 2024

@hanxi 好了好了,还真是MI_HARDWARE参数错了,改命令的时候少删了一位,十分感谢🙏

但现在说完命令他是先播放自带的音乐,然后后台音乐下载完再播下载的,也是正常的吗

下载需要时间,算正常吧。

@zaqai zaqai closed this as completed Mar 4, 2024
@hd-samcui
Copy link

我的小米是L06C,后台能看到在播放,后台调整音量喇叭有提示音,当时播放的音乐,喇叭不发声。当然语音指令播放本地节目也是不管用的,不过从网上下载一个mp3回来。

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

No branches or pull requests

3 participants