【发布时间】:2020-07-05 23:45:56
【问题描述】:
我在树莓派上使用谷歌助手 sdk。我正在尝试使用textinput.py 示例代码让谷歌助手在我的谷歌家庭迷你(它被称为“卧室扬声器”)上播放一些音乐。问题是,当我输入文本查询时,他们什么都不做。我在下面粘贴了一个示例:
: hey google, play music on bedroom speaker
<you> hey google, play music on bedroom speaker
: play music
<you> play music
<@assistant> Play Music. Google Play Music is a music and podcast streaming service and online music locker operated by Google, part of its Google Play line of services. The service was announced on May 10, 2011; after a six-month, invitation-only beta period, it was publicly launched on November 16, 2011. Wikipedia ( https://en.m.wikipedia.org/wiki/Google_Play_Music ).
:
要求 pi 在我的 Google Home Mini 上播放音乐后,没有任何反应。当询问“播放音乐”之类的其他问题时,它只是给出了谷歌播放音乐的维基定义。如果我问其他正常的问题,例如“现在几点?”没有文字回复,但读出的是<@assistant>
您对为什么我的 Home Mini 无法播放音乐有任何想法吗?我已经在我的手机上测试了这个命令并且它有效;它不适用于我的树莓派。
【问题讨论】:
标签: python python-3.x google-assistant-sdk