Supergiovane / node-red-contrib-tts-ultimate

This node transforms a text into a speech audio. You can hear the voice natively through Sonos or external players.
MIT License
22 stars 5 forks source link

Getting full url from response #89

Open Fernando-Checa opened 2 hours ago

Fernando-Checa commented 2 hours ago

Hello,

When the node is run I get a response from TTS with an MP3 file, and the local URL like:

/data/sonospollyttsstorage/hailingpermanentfiles/Hailing_ComputerCall.mp3

But in order to send the file to another player, I need the absolute URL.

How can I get that? So I can fetch the file from another player in the network.

Thanks in advance

Fernando-Checa commented 2 hours ago

I tried something like this but it does not work

http://192.168.1.213:1880/data/sonospollyttsstorage/hailingpermanentfiles/Hailing_ComputerCall.mp3