Open Fernando-Checa opened 1 month ago
Hey Fernando,
You can use the play audio clip node for this purpose like in attached screenshot. Regarding TTS: I tried to do the same in the past with Azure TTS. The file was generated and written to a webserver successfully. But unfortunately Sonos didn't play this file. I'm not sure why, maybe Mono, maybe wrong bitrate... I gave up since it wasn't too important to me. Let me know if you are more successful than me :-D
Yes, but I need a URL to play. Y get the file with node red and it gives me a local path to the file. I haven’t been able to get a URL of that file for the Sonos to play.
El 25 sept 2024, a las 8:00, VonRehberg @.***> escribió:
Hey Fernando,
You can use the play audio clip node for this purpose like in attached screenshot. Regarding TTS: I tried to do the same in the past with Azure TTS. The file was generated and written to a webserver successfully. But unfortunately Sonos didn't play this file. I'm not sure why, maybe Mono, maybe wrong bitrate... I gave up since it wasn't too important to me. Let me know if you are more successful than me :-D
Screenshot.2024-09-25.at.07.57.53.png (view on web) https://github.com/user-attachments/assets/93ec5ff7-fe5c-4334-9e55-cac8632d3c7e — Reply to this email directly, view it on GitHub https://github.com/VonRehbergConsulting/n8n-nodes-sonos/issues/6#issuecomment-2373099125, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANJG5TW3WS5OTTLWX5QJRTZYJGPXAVCNFSM6AAAAABOZCE5GKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZTGA4TSMJSGU. You are receiving this because you authored the thread.
You would need to upload that file to a webserver via FTP/WebDAV or whatever. Something that allows you to retrieve that file via https afterwards. The n8n sonos node tells the Sonos Cloud API where to find that file. It's not possible to upload an mp3 file to the Sonos Cloud API directly.
Understood. Thanks again. I’ll try that next
Regards
El 25 sept 2024, a las 14:22, VonRehberg @.***> escribió:
You would need to upload that file to a webserver via FTP/WebDAV or whatever. Something that allows you to retrieve that file via https afterwards. The n8n sonos node tells the Sonos Cloud API where to find that file. It's not possible to upload an mp3 file to the Sonos Cloud API directly.
— Reply to this email directly, view it on GitHub https://github.com/VonRehbergConsulting/n8n-nodes-sonos/issues/6#issuecomment-2373934331, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANJG5WW2HUEURGCHUFLG7TZYKTH5AVCNFSM6AAAAABOZCE5GKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZTHEZTIMZTGE. You are receiving this because you authored the thread.
Hello,
Is it possible to play directly from a file?
I have TTS and I get a binary file as a response.
But I need to pass a URL to the sonos node to play it.
How can I do that?