Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-red-contrib-sonospollytts

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-sonospollytts - npm Package Compare versions

Comparing version 1.1.25 to 1.1.26

5

CHANGELOG.md

@@ -8,2 +8,7 @@ ![Sample Node](img/logo.png)

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

@@ -10,0 +15,0 @@ - Update sonos api to 1.13.0<br/>

2

package.json
{
"name": "node-red-contrib-sonospollytts",
"version": "1.1.25",
"version": "1.1.26",
"description": "Node-Red TTS with Sonos and Amazon Polly or with your own local mp3 announcement files. Transforms the text in speech and hear it using Sonos player. Can work OFFLINE as well! This node is specific for security alarm announcement, doorbell, weather annoucement etc.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -28,2 +28,14 @@ module.exports = function (RED) {

sRet = sRet.toString().replace(/\>/g, "_greater_");
sRet = sRet.toString().replace(/\//g, "_sl_");
sRet = sRet.toString().replace(/\'/g, "_ap_");
sRet = sRet.toString().replace(/\=/g, "_ug_");
sRet = sRet.toString().replace(/\\/g, "_bs_");
sRet = sRet.toString().replace(/\(/g, "_pa_");
sRet = sRet.toString().replace(/\)/g, "_pc_");
sRet = sRet.toString().replace(/\*/g, "_as_");
sRet = sRet.toString().replace(/\[/g, "_qa_");
sRet = sRet.toString().replace(/\]/g, "_qc_");
sRet = sRet.toString().replace(/\^/g, "_fu_");
sRet = sRet.toString().replace(/\|/g, "_pi_");
sRet = sRet.toString().replace(/\"/g, "_dc_");
// slug.charmap['.'] = '_stop_';

@@ -822,2 +834,10 @@ // slug.charmap['?'] = '_qm_';

RED.log.info('SonosPollyTTS: HandleQueue - Polly is in downloading Timeout');
node.setNodeStatus({
fill: 'yellow',
shape: 'dot',
text: 'SonosPollyTTS: HandleQueue - Polly is in downloading Timeout'
});
node.sSonosPlayState = "stopped";
node.oTimer = setTimeout(function () { HandleQueue(node); }, 1000);
return;
}

@@ -852,3 +872,3 @@

}).catch(err => {
node.setNodeStatus({ fill: "red", shape: "dot", text: "err currtrack: " + err + " " + node.sSonosPlayState});
node.setNodeStatus({ fill: "red", shape: "dot", text: "err currtrack: " + err + " " + node.sSonosPlayState });
node.sSonosTrackTitle = "stopped"; // force stopped

@@ -855,0 +875,0 @@ HandleQueue2(node);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc