node-red-contrib-sonospollytts
Advanced tools
Comparing version 1.0.1 to 1.0.2
# Node-Red | ||
<p> | ||
<b>Version 1.0.2</b><br/> | ||
- Added capability to set volume by passing a message msg.volume to the node<br/> | ||
</p> | ||
<p> | ||
<b>Version 1.0.1</b><br/> | ||
@@ -7,3 +11,2 @@ - Fixed very stupid mistake<br/> | ||
<p> | ||
<p> | ||
<b>Version 1.0.0</b><br/> | ||
@@ -14,3 +17,2 @@ - First public stable release<br/> | ||
<p> | ||
<p> | ||
<b>Version 0.0.25</b><br/> | ||
@@ -17,0 +19,0 @@ - Added more hailing sounds<br/> |
{ | ||
"name": "node-red-contrib-sonospollytts", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Node-Red TTS with Sonos and Amazon Polly", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -25,3 +25,3 @@ # Node-Red | ||
router/firewall's DHCP Server)</i><br/> | ||
Sonos Volume: set the preferred TTS volume, from 0 to 100<br/> | ||
Sonos Volume: set the preferred TTS volume, from 0 to 100 (can be overridden by passing msg.volume to the node)<br/> | ||
Sonos Hailing: before the first TTS message of the message queues, Sonos will play an "hailing" sound. You can select the hailing or totally disable it.<br/> | ||
@@ -33,4 +33,4 @@ Node-Red IP: set IP of your node-red<br/> | ||
<b>Known Issues:</b><<br/> | ||
- When the node-red's host is restarted, the cache folder is emptied<br/> | ||
- When an mp3 from NAS is played by sonos, TTS waits for it to finish before speech<br/> | ||
- When the node-red's host is restarted, the cache TTS Polly folder is emptied<br/> | ||
- When an mp3 from shared folder is played by sonos, TTS waits for it to finish before speech<br/> | ||
</p> | ||
@@ -37,0 +37,0 @@ |
@@ -535,2 +535,7 @@ module.exports = function(RED) { | ||
this.on('input', function(msg) { | ||
// 12/06/2018 Controllo se il payload è un'impostazione del volume | ||
if (_.isString(msg.volume)) { | ||
sSonosVolume=msg.volume; | ||
} | ||
if(!_.isString(msg.payload)){ | ||
@@ -537,0 +542,0 @@ notifyError(node, msg, 'msg.payload must be of type String'); |
Sorry, the diff of this file is not supported yet
304638
786