node-red-contrib-sonospollytts
Advanced tools
Comparing version 0.0.11 to 0.0.12
# Node-Red | ||
<p> | ||
<b>Version 0.0.12</b><br/> | ||
- Minor fixes | ||
<br/> | ||
</p> | ||
<p> | ||
<b>Version 0.0.11</b><br/> | ||
@@ -5,0 +9,0 @@ - Hailing sound added. Before the first TTS message of the message queue, plays a file .mp3 to recall attention |
{ | ||
"name": "node-red-contrib-sonospollytts", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "Node-Red TTS with Sonos and Amazon Polly", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -490,3 +490,7 @@ module.exports = function(RED) { | ||
RED.log.info('Moving hailing.mp3 to temp dir'); | ||
fs.createReadStream(sHailingFile).pipe(fs.createWriteStream(path.join(config.dir, sHailingFile))); | ||
try { | ||
fs.createReadStream(sHailingFile).pipe(fs.createWriteStream(path.join(config.dir, sHailingFile))); | ||
} catch (error) { | ||
} | ||
/* // Download the file via GitHub | ||
@@ -493,0 +497,0 @@ RED.log.info('Download hailing.mp3 from GitHub'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
93620
694