简体   繁体   English

Google如何为我的Google Assistant创建音乐播放器

[英]Google how can I create a music player for my Google Assistant

I'm wondering how I can create a music Player for my Google Assistant compatible devices (eg Google Home mini, my tablet, phone...). 我想知道如何为兼容Google Assistant的设备(例如Google Home mini,平板电脑,手机...)创建音乐播放器。 I've been researching about how I can do this, but I've just found things like using Dialogflow , node-js and/or Actions on Google using Google Firebase Cloud Functions . 我一直在研究如何做到这一点,但是我发现使用Google Firebase Cloud Functions 在Google上使用Dialogflow ,node-js和/或Actions之类的东西。 I'm new to all this, I was motivated by Spotify and Pandora and all those other services. 我是新手,受到Spotify和Pandora以及所有其他服务的激励。 So I also tried looking up how they do it, but I found nothing. 因此,我也尝试查找他们的操作方式,但一无所获。 If any of you Know how to do it, please help me. 如果你们当中有人知道该怎么做, 帮助我。

In addition to all that, I am just a tad bit confused about the whole Dialogflow and Actions on Google integration, but that's easier to fix than the overall question. 除了所有这些,我对整个Dialogflow和Google集成上的操作还有些困惑,但是比整体问题更容易解决。

If this isn't “solvable” is there a way to do it with Dialogflow Fulfillment's? 如果这不是“可解决的”,是否可以通过Dialogflow实现来解决?

In order to create something like Spotify or Pandora, you need to partner with Google to create a media action . 为了创建Spotify或Pandora之类的东西,您需要与Google合作以创建媒体操作 These are different than the conversational actions that you can create using Actions on Google and Dialogflow. 这些与您可以使用Google和Dialogflow上的操作可以创建的对话操作不同。

If you want to create a conversational action with Actions on Google and Dialogflow that produce long-form audio results as part of the conversation, you will want to look into the Media response , which you can include in your replies. 如果您想使用Google上的“操作”和Dialogflow创建对话操作,以在对话中生成长格式的音频结果,则需要查看“ 媒体”响应 ,您可以将其包括在回复中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM