Alexa_YouTube
Alexa_YouTube copied to clipboard
no audio on sonos speaker
Dear all i modified the interaction model and index.js and response.js to manage also italian language. The server answer but after "i'm playing" doesn't happen anything;No audio is present. The issue occurs only on sonos beam and sonos one speaker. Everything work on my android phone. What can i do? Thank very much in advance.
Hi @roccafrancesco, thank you for reporting this. This issue is already known (here) and I try to figure out how to solve this.
hello i think problem is related file format. https://support.sonos.com/s/article/79?language=En
Thank you for the solution suggestion. I actually experimented with the detail format, unfortunately, it did not help.
Please try again now. Thanks.
thank you. I let you know the result of next test as soon as possible.
I' m sure that with mp4 it doens't work becasue that format is not supported by sonos in streaming. What format are you using now? mp3? For mp3 you need to do a conversion from youtube source(using specifing library for exaple pafy);I don't see this conversion in your code. Can you specify the difference with old versions?
In your case it need to use post processing option: --extract-audio --audio-format FORMAT
Sorry for the late reply. It took me some time to get sonos speaker. I tested it and it work fine. So the output format what I use now is mp3. I convert the video from youtube to mp3 using ytdl, this conversation is happens on the server side.
thanks a lot. I will test and let you now the result.
i tested again with the new code but the result is the same. On my mobile phone works but on sonos spekear after the right answer of alexa nothing is played.