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

no audio on sonos speaker #11

Open
roccafrancesco opened this issue Dec 18, 2018 · 10 comments
Open

no audio on sonos speaker #11

roccafrancesco opened this issue Dec 18, 2018 · 10 comments

Comments

@roccafrancesco
Copy link

roccafrancesco commented Dec 18, 2018

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.

@roccafrancesco roccafrancesco changed the title no audio no audio on sonos speaker Dec 18, 2018
@reger-men
Copy link
Owner

Hi @roccafrancesco, thank you for reporting this. This issue is already known (here) and I try to figure out how to solve this.

@roccafrancesco
Copy link
Author

hello i think problem is related file format.
https://support.sonos.com/s/article/79?language=En

@reger-men
Copy link
Owner

Thank you for the solution suggestion. I actually experimented with the detail format, unfortunately, it did not help.

@reger-men
Copy link
Owner

Please try again now. Thanks.

@roccafrancesco
Copy link
Author

thank you.
I let you know the result of next test as soon as possible.

@roccafrancesco
Copy link
Author

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?

@roccafrancesco
Copy link
Author

In your case it need to use post processing option:
--extract-audio
--audio-format FORMAT

@reger-men
Copy link
Owner

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.

@roccafrancesco
Copy link
Author

thanks a lot.
I will test and let you now the result.

@roccafrancesco
Copy link
Author

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.

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

2 participants