Skip to content

Latest commit

 

History

History
620 lines (612 loc) · 24.6 KB

CHANGELOG.md

File metadata and controls

620 lines (612 loc) · 24.6 KB

Sample Node

Donate via PayPal

Version 2.0.10 November 2024
- ElevenLabs V2: now you can set the additional parameters for the voice.

Version 2.0.9 November 2024
- Fixed little issue with music queue management.

Version 2.0.8 November 2024
- NEW: ElevenLabs V2 Multilingual TTS Engine has been added.
- ElevenLabs V1 is now in legacy/deprecation state.

Version 2.0.7 January 2024
- NEW: input messages can override selected voice.

Version 2.0.6 January 2024
- Minor fixes.
- Moved log into the log tab of node-red.

Version 2.0.5 October 2023
- Speed up emitting msg, when not using Sonos.

Version 2.0.4 August 2023
- Removed unused new AWS api.
- Updated old AWS api to the latest.

Version 2.0.3 August 2023
- Fixed duplicated filenames.

Version 2.0.2 August 2023
- NEW: added options for changing Elevenlabs voice settings.
- Fixed filename of the cached files, by including all settings. Previously, some settings were not taken in consideration.

Version 2.0.1 August 2023
- NEW: added Elevenlabs TTS engine https://elevenlabs.io.

Version 2.0.0 June 2023
- Bumped paid Google TTS, free google TTS and Ms TTS dependencies.
- Moved help to the node-red's help pane.

Version 1.0.56 March 2023
- NEW: Added Node Name property, in the TTS Ultimate node.

Version 1.0.55 March 2023
- Dedupes the players having the same IP, in the player's list.

Version 1.0.54 February 2023
- OWNFILE: there was a 60 secs timeout, waiting for end play. Now it has been incfeased to 10 minutes.

Version 1.0.53 February 2023
- Now in the list of sonos player, you can see the single speakers belonging to a group as well.

Version 1.0.52 September 2022
- Updated microsoft azure sdk for compatibility with node 18 LTS

Version 1.0.51 September 2022
- Updated microsoft azure sdk for compatibility with node 16.17.0

Version 1.0.50 August 2022
- Fixed a wrong "sonos unreachable" message when you select to simply save the file instead of using it with sonos
- FIX: temporary fix for chinese language in google translate engine, that was not working anymore.

Version 1.0.49 June 2022
- Due to Microsoft Azure SDK limitation, the node can only be installed on systems with NodeJS versions: (^12.22.0, ^14.17.0, or >=16.0.0) built with SSL support. (If you are using an official Node.js distribution, SSL is always built in.). Currently, the Microsoft Azure SDK and, thus, TTS-Ultimate, doesn't run on NodeJS 18.x.x !!

Version 1.0.48 Mai 2022
- Try to fixe a clunky issue with microsoft azure package, on nodejs versions that are not supported by Microsoft.

Version 1.0.47 Mai 2022
- Fixed other compatibility issue with some Node version.

Version 1.0.46 Mai 2022
- Fixed a compatibility issue with Node 18, where a breaking change has been introduced.

Version 1.0.45 April 2022
- NEW: Additional players now resumes the queue as well (previously, only the main player was doing so).

Version 1.0.44 April 2022
- NEW: you can now adjust the additional player's volume, adapting it to the main sonos player volume. This is useful in case you've some recessed speakers, "speaking" too low or some too near speakers, "speaking" too high. You can adapt the volume in the config window or dinamically via msg input.
- Updated the README.

Version 1.0.43 March 2022
- Simplified the configuration by auto discover some IP.
- FIX: fixed minor glitches.

Version 1.0.42 March 2022
- FIX: fix purging option that wasn't working if you set to always purge the cached files at startup.
- FIX: invalid code in some sync functions.

Version 1.0.41 March 2022
- NEW: for Polly TTS, you can choose between neural and standard engine.

Version 1.0.40 January 2022
- NEW: you can now select your own folder to save the TTS cached files.
- NEW: getting rid of file lenght issue by hashing the TTS cached files requested from TTS engines. Now the file names will be MD5 HEX hashed.
- NEW: now the input messages are passed through to the output pin.
- CAUTION: due to the new file management, the node will need to download again the TTS files from your TTS engine. Keep it in mind, because you can be charged by Amazon, Google or Microsoft.

Version 1.0.39 January 2022
- SSML: fixed an issue prevent using it.
- SSML: if SSML is enabled, the text auto split function is disabled, to avoid splitting SSML XML text.
- Microsoft Azure: update TTS engine to 1.19.0
- Google paid TTS: update TTS engine to 3.4.0

Version 1.0.38 December 2021
- Removed some unwanted startup logs.
- Fixed ownfile sample code. Thanks to plats98.

Version 1.0.36 November 2021
- NEW: Autosplit function: you can now set the maximum lenght of the text-parts, in case your spoken text is too long for the allowed TTS Engine limits.

Version 1.0.35 October 2021
- NEW: You can force unmuting all players, then restore their previous state once finished playing.

Version 1.0.34 October 2021
- FIX: fixed an issue in retrieving voices if you have more than one TTS engine enabled at the same time.

Version 1.0.33 October 2021
- NEW VOICE ENGINE: Microsoft Azure TTS.

Version 1.0.32 September 2021
- Fix few restore issues. Line-in restore fix and only when it was playing. Amazon Music and Spotify considered as stream instead of music queue.

Version 1.0.31 September 2021
- NEW: you can now choose voice PITCH and RATE. Avaiable only with Google TTS engine with credentials.

Version 1.0.29 September 2021
- NEW: you can now choose not to use Sonos as player. In this case, the node will output an array of mp3, ready to be played by third parties nodes.

Version 1.0.28 September 2021
- Fixed queue resuming play even if was in stop (only occurs in some circumstances).

Version 1.0.27 September 2021
- Hided some unwanted logs.

Version 1.0.26 August 2021
- FIX: after playing tts, if you have no previous queue and you are on old Sonos V1, the last TTS played remains in the queue (it shouldn't).

Version 1.0.25 August 2021
- Optimized setting volume speed.

Version 1.0.24 August 2021
- Fixed a little issue with sonos beam, switching volumes with a 1-2 seconds delay.

Version 1.0.23 August 2021
- Fixed a volume issue. The playing queue was jumping briefly at TTS volume before stopping. That was annoiyng.
- Fixed issues with some async function not really async, so there was glitches in volume settings, seeking and so on, specially with playlist and queues.
- There are known issues with resuming play of sonos streams, they work for a while, then stop.

Version 1.0.22 Juli 2021
- The additional players don't obey to msg.volume input node message override (they instead get the volume set by the config window, that is OK, but they must also obey to the override msg). Fixed

Version 1.0.21 Juli 2021
- The additional players in the group, now reverts to the previous volume after the speech.

Version 1.0.20 May 2021
- Fixed an issue preventing TTS working on Windows machines. Thanks @McFozzy75

Version 1.0.19 February 2021
- The previous limit of 200 chars (before the TTS text is automatically split) has been increased to 220.

Version 1.0.18 January 2021
- Better handling of payloads long more than 200 chars.

Version 1.0.16 January 2021
- Currently, the FREE GOOGLE TRANSLATE TTS engine has changed some voice codes. I've been fixed that. You need to do nothing.

Version 1.0.15 January 2021
- FIX: if the text to be spoken is too long, there is an error thrown by filename too long. Fixed by splitting the too long payloads
- CAUTION: Currently, the FREE GOOGLE TRANSLATE TTS engine has changed some voice codes. Doesn't work anymore.

Version 1.0.14 January 2021
- NEW: you can now stop whatever is playing by issuing a *msg.stop = true* command-
- Update dthe README.

Version 1.0.13 January 2021
- NEW: priority property in TTS-Ultimate input message. You can now send a priority message that stops the TTS queue and takes over.
- NEW: priority OwnFile. You can now send a priority OwnMessage that stops the TTS queue and takes over.

Version 1.0.12 January 2021
- Fixed an issue in mp3 downloading. Thanks @AleksCee

Version 1.0.10 January 2021
- Fixed a crash occurring when the TTS text to be played is a point ("."). Thanks @AleksCee

Version 1.0.9 January 2021
- Added a little delay after speakers grouping and before play, to leave Sonos time to complete the sync process.
- NEW: you can now set the main player IP and group of players IPs via msg property. See the README on gitHub.

Version 1.0.8 December 2020
- FIX fix EXDEV issue on some system, when uploading ownfiles or hailing files.

Version 1.0.7 December 2020
- If you run node-red behind something like homeassistant, redmatic, etc.. and the user running node-red hasn't permission to write to the filesystem, a popup error will appear upon uploading of custom file.
- Removed some unwanted logs.
- NEW: now the previous queue/radio is automatic selected, even if not previously playing

Version 1.0.5 26 December 2020
- NEW: added google translate engine. With this, you don't even need credentials. It works immediately.
- Google translate engine accepts max 200 chars per row. Supergiovane makes you happy again. The node will automatically split single messages in many messages with lenght minor as 200 chars each.

Version 1.0.4 25 December 2020
- Added deprecation warning for old SonosPollyTTS users.

Version 1.0.3 24 December 2020
- NEW: Added output PIN to signal errors only.
- CHANGE: now the errore are sent to Output PIN 2, to better separate the messages.
- The setup process for newly created configuration nodes is yet more friendly.

Version 1.0.2 24 December 2020
- Cosmetic refinements.
- Update path from SonosPollyTTS added in the README.

Version 1.0.0 24 December 2020
- First release of TTS-Ultimate, based on SonosPollyTTS (now deprecated).
- NEW: support for both Amazon Polly and Google TTS.




CHANGELOG BELOW COMES FROM OLD SONOSPOLLYTTS NODE

UPDATE PATH FROM SONOSPOLLYTTS TO TTS-ULTIMATE

Supergiovane takes care about your brain and your time.
Install TTS-Ultimate. Both SonosPollyTTS and TTS-Ultimate can cohexist.
Then just delete your old SonosPollyTTS nodes and replace it with TTS-Ultimate nodes.
The cache will remain the same. Your own audio files and hailing files won't be touched. You'll find it again in TTS-Ultimate



Version 2.0.5 December 2020
- FIX: if you pass a numeric value as payload, the node thows an error in the status and the payload is not handled.
- FIX: if you disable the Hailing, you could hear "zero" instead of not having Haliling at all.

Version 2.0.4 December 2020
- NEW: multiple ttsultimate node coordinator. Now, if you use more than one ttsultimate node, the server will coordinate the play between all, without conflicts.

Version 2.0.3 December 2020
- FIX: ttsultimate can remain stuck on "Busy handling queue.." if if fails grouping more than one speaker. Fixed.

Version 2.0.2 December 2020
- FIX: if you hear "zero" instead of hailing, you need to re-select again the hailing in the config node. This is due to an old setting. Currently this has been work-arounded, so you should hear the hailing instead of "zero", but please select again the hailing, because this workaround is time limited.
- NEW: now, when sonos becames disconnected or the ethernet connection is down, the node won't accept any new messages until the reconnetion is re-established. The queue of messages is flushed as well.
- Stability improvements.

Version 2.0.1 December 2020
- NEW: automatic resume of radio station. If the station support seeking, the node'll resume at exct time position.

Version 2.0.0 December 2020
- NEW: Completely rewritten the code, to getting rid of very old implementations.
- Resume queued music now works correctly everytime.
- BREAKING CHANGE: Node v.10.0.0 or newer is needed.

Version 1.1.39 December 2020
- NEW: resume music queue after TTS speech. Once finished playing the voice speak, the music queue restart at the exact position, at the exact track time.
- BUGFIX: fixing some issue when inbound msg to the node are very frequent. Should resume the music correctly.

Version 1.1.37 December 2020
- NEW: resume music queue after TTS speech. Once finished playing the voice speak, the music queue restart at the exact position, at the exact track time.

Version 1.1.36 November 2020
- Whenever node-red is restarted or you make a deploy while Sonos is playing music, the node won't stop Sonos players anymore.
- Speeded up the closing process.

Version 1.1.35 October 2020
- HOTFIX: Fix possible polly voice discovery issues if running in docker or under homeassistant.
- Added a warning to restart node-red after each change in the config window.

Version 1.1.34 October 2020
- HOTFIX: Fix possible sonos discovery issue

Version 1.1.33 October 2020
- FIX: fixed problem preventing OwnFile node to accept files in non standard node-red installations (dockerized images, as homeassistant plugin etc..). Thanks @koburg for raising the issue.
- Now, whenever you upload a new file in Ownfile or new Hailing in ttsultimate node, the new file is autimatically selected.

Version 1.1.32 October 2020
- Optimized the code to better handling HTTP calls for UI list.
- NEW: from now, the avaiable voice list is downloaded directly from AWS Polly website. Non more "forgotten" voices.
- Reordering of voices by language, to better find your preferred one.

Version 1.1.31 October 2020
- FIX: fixed possible issue in saving/retrieving own audio files and own audio hailings, for node-red running in non standard way, like docker, home assistant plugin etc...

Version 1.1.30 September 2020
- If you run node-red behind natted docker (for example kubertness) and you've added sonos devices to the group list, the devices belonging to the group doesn't accept volume setting. This has been fixed. Thanks @JorinL for raising the issue.
- NEW: Added more voices and removed old ones no more present in Polly.

Version 1.1.28 September 2020
- Updated sonos API to 1.14.0
- Fixed an issue where if you power cycle your sonos and it comes up too fast, the node won't detect the disconnection and won't reset the link to sonos.
- Major code revision, to clean up old things.

Version 1.1.27 August 2020
- Fixed an odd issue. Now "msg.nohailing=true" temporarly (and not permanently anymore) disables the hailing. If you send a new payload without msg.nohailing=true, the hailing will be heard again (that's the standard and intended behaviour.)
- Sometime the node remains in "Processing" state. Added a fix to that.

Version 1.1.26 Juli 2020
- Stability improvement whenever internet connection is broken while downloading TTS audio from Amazon AWS service.
- Full support for SSML syntax (https://docs.aws.amazon.com/polly/latest/dg/supportedtags.html).

Version 1.1.25 June 2020
- Update sonos api to 1.13.0
- Fix some minor glitches in new added nodes.

Version 1.1.23 March 2020 - In the middle of Coronavirus emergency in Italy
- Help and README enhancement with new samples
- Fix some minor glitches in new added nodes.

Version 1.1.22 March 2020 - In the middle of Coronavirus emergency in Italy
- Enhancement: Automatic discover for new node, now automatically adds the first avaiable player.
- Fix some minor glitches in new added nodes.

Version 1.1.20 March 2020 - In the middle of Coronavirus emergency in Italy
- CAUTION: You may need to re-enter the AWS credentials.
- NEW: now the webserver config is in the config-node, so you can have multiple ttsultimate nodes without problem with duplicated webserver ports.
- FIX: Ownfile, fixed a problem in refreshing the file list upon upload of new files.
- FIX: ttsultimate, fixed a problem in refreshing the hailing list upon upload of new hailing files.
- Update help accordingly.

Version 1.1.16 March 2020 - In the middle of Coronavirus emergency in Italy
- NEW: Automatic discovery added. No more IP addresses to remember.
- NEW: Grouping function. Now you can add more players to the play group.

Version 1.1.15 March 2020
- NEW: you can now add your own custom Hailing file.
- NEW: you can now change the hailing with a msg.hailing property.

Version 1.1.13
- Better handling of incoming msg.selectedFile property.
- Added Samples in the Readme

Version 1.1.11
- NEW: Added DELETE ALL FILES, to allow you to delete all custom files at once.
- Added OwnFile samples audio and sample code in README

Version 1.1.10
- Optimized UI for new OwnFile nodes

Version 1.1.9
- NEW: You can now UPLOAD your own mp3 files and play it via the newly added OwnFile node.
- NEW: You can now DELETE your own mp3 files from the OwnFile node config page.

Version 1.1.6
- NEW: You can now UPLOAD your own mp3 files and play it via the newly added OwnFile node.

Version 1.1.5
- NEW: you can now select whether to purge the TTS cache file at start or to leave all TTS files untouched.

Version 1.1.4
- Updated underlying sonos API to 1.12.6

Version 1.1.3
- Added "msg.connectionerror" to the output messages: true when the node cannot connect to the Sonos device, false if the connection is restored.

Version 1.1.2
- Bugfix preventing start.

Version 1.1.1
- Now should work with grouped sonos devices as well.
- Upgraded the status below the node, to show the day and time of the last status update.

Version 1.1.0
- Now support HTTPS installations-
- MAJOR CHANGE IN HANDLING COMMUNICATIONS BETWEEN NODE-RED AND SONOS. Due to added support for HTTPS installation, the node behaviour has been changed. The node will now create his own webserver, instead of using node-red webserver. This permits to overcome SSL certificate problems with Sonos. If your node-red run behind a firewall, REMEMBER TO FORMWARD the node webserver port (default port is 1980)

Version 1.0.21
- Added handling of non standard nodered installations, having httpAdminRoot, httpNodeRoot or httpRoot altered by user. Thanks @ukmoose.

Version 1.0.20
- Fixed an issue, where if you changed the node-red httpAdminRoot, the node won't play anything. Thanks @JorinL.

Version 1.0.19
- Added 9 Voices, thanks to user kitazaki.

Version 1.0.18
- Removed some dependencies to speed up all the things.

Version 1.0.16
- Changed a little behaviour related to the initial volume setting, when node-red starts or a flow is deployed.
- Applied lodash package security patch.

Version 1.0.15
- Added the ability to select the temp folder, suitable for node-red installed behind hass.io or other similar apps, in case the sonos device can't reach node-red behind those apps. Check that the user can write to the filesystem

Version 1.0.14
- Fixed a possible problem causing an exception in a very slow PC
- Added the output link and therefore changed the default node group from "output" to "advanced"
- The node send a msg.completed message during playback. true = ended playing, false = is playing
- Update sonos dependency to >=1.10.0

Version 1.0.12
- You can now temporarely stop playing the Hailing sound via node message msg.nohailing="true"; or msg.nohailing="1";

Version 1.0.8
- Updated sonos node dependency to 1.9.0
- Changed some icons in the config page
- Trimmed white spaces in the setting's textboxes to avoid issue when someone put a space in the textboxes. Thanks @1to4
- Fixed an issue, where if you have more nodes with different settings, e.g. different Sonos IP address or Polly Voice, all nodes take the settings of the last node added.

Version 1.0.7
- Added voice Vicky (German). Thanks @PBue for the suggestion.

Version 1.0.6
- Bugfix due to the httpRoot.

Version 1.0.5
- respect Node-RED httpRoot setting (this is necessary e.g. in environments where Node-RED runs behind a reverse proxy on a non-root path). Thanks @hobbyquaker.

Version 1.0.4
- Little minor update

Version 1.0.3
- Bugfix (Fixed bug where sometime setting the hailing to none, causes a problem)

Version 1.0.2
- Added capability to set volume by passing a message msg.volume to the node

Version 1.0.1
- Fixed very stupid mistake

Version 1.0.0
- First public stable release
- Behavior changed: when Sonos is powered off or unreachable, the TTS texts will, now, not be queued anymore, otherwise when Sonos is powered on again, it plays all TTS texts at once.

Version 0.0.25
- Added more hailing sounds
- If cannot create the temp dir (maybe for ACL), revert to the node dir.
- Aesthetics adjustments

Version 0.0.24
- Bugfix: after 24 hours, the sonos event listener won't fires any event more.

Version 0.0.23
- Bugfix: if the Sonos device is restarted, the node won't play TTS
- Bugfix: if the Sonos device was on LineIn, TVIn or so, the node won't play TTS
- Updated sonos API April 2018
- First stable beta release

Version 0.0.22
- Speed improvement
- Bugfix: if you manually change the volume via sonos App, the Node won't revert to the setted volume

Version 0.0.21
- Fix for too short text

Version 0.0.20
- Fixed handling long queues being stopped intermittently

Version 0.0.19
- Added direct play of files from url (http)

Version 0.0.15
- Polly download timeout bug fixes

Version 0.0.14
- Hailing bug fixes

Version 0.0.13
- Minor bug fixes

Version 0.0.11
- Hailing sound added. Before the first TTS message of the message queue, plays a file .mp3 to recall attention

Version 0.0.8
- Minor fixes

Version 0.0.6
- Stops music if a payload is received
- Setting volume possible in the node configuration window
- Better handling of the queue by using new sonos node apis.

Logo