iobroker.sayit 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/io-package.json +14 -13
- package/lib/speech2device.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -47,8 +47,7 @@ online:
|
|
|
47
47
|
- Yandex: Russian
|
|
48
48
|
To use Yandex voices you must request the API key here: [https://tech.yandex.ru/speechkit/cloud/doc/dg/concepts/About-docpage/](https://tech.yandex.ru/speechkit/cloud/doc/dg/concepts/About-docpage/). [This service will be disabled 1st of Jan 2019 and replaced by Yandex.cloud]
|
|
49
49
|
To use Yandex.cloud you should register here: [https://cloud.yandex.ru/], install SpeechKIT API in the Cloud and get Auth Token and Folder ID as described in API instructions.
|
|
50
|
-
- Cloud:
|
|
51
|
-
To use Cloud voices you need configured cloud adapter. (It can be disabled, but must be configured). This service use AWS Polly and it can be used directly.
|
|
50
|
+
- Cloud: To use Cloud voices you need configured and running `cloud` adapter.
|
|
52
51
|
- Amazon Web Services Polly:
|
|
53
52
|
To use AWS Polly voices you need to create access key and secret key [here](https://console.aws.amazon.com/iam/home). The Amazon documentation can you find [here](http://docs.aws.amazon.com/general/latest/gr/managing-aws-access-keys.html).
|
|
54
53
|
|
|
@@ -265,6 +264,9 @@ Following values for engines are possible:
|
|
|
265
264
|
### **WORK IN PROGRESS**
|
|
266
265
|
-->
|
|
267
266
|
## Changelog
|
|
267
|
+
### 3.0.1 (2023-04-17)
|
|
268
|
+
* (bluefox) Corrected error with System player
|
|
269
|
+
|
|
268
270
|
### 3.0.0 (2023-04-03)
|
|
269
271
|
* (bluefox) Restored cloud engines. Warning: update cloud adapter to at least 4.4.0
|
|
270
272
|
* (bluefox) Breaking changes: Minimal node.js version is 14
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "sayit",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.1",
|
|
5
5
|
"news": {
|
|
6
|
+
"3.0.1": {
|
|
7
|
+
"en": "Corrected error with System player",
|
|
8
|
+
"de": "Fehler behoben mit Systemplayer",
|
|
9
|
+
"ru": "Исправлена ошибка с Системным игроком",
|
|
10
|
+
"pt": "Erro correto com o jogador do sistema",
|
|
11
|
+
"nl": "Correctie fout met System speler",
|
|
12
|
+
"fr": "Erreur corrigée avec le lecteur système",
|
|
13
|
+
"it": "Errore corretto con il giocatore di sistema",
|
|
14
|
+
"es": "Error corregido con el reproductor de sistema",
|
|
15
|
+
"pl": "Poprawiony błąd z graczem Systema",
|
|
16
|
+
"uk": "Виправлена помилка з плеєром системи",
|
|
17
|
+
"zh-cn": "与系统参与者的更正错误"
|
|
18
|
+
},
|
|
6
19
|
"3.0.0": {
|
|
7
20
|
"en": "Restored cloud engines. Warning: update cloud adapter to at least 4.4.0\nBreaking changes: Minimal node.js version is 14",
|
|
8
21
|
"de": "Restaurierte Cloud-Motoren. Warnung: Cloud-Adapter auf mindestens 4.4.0 aktualisieren\nÄnderungsvorschläge: Minimal node.js version is 14",
|
|
@@ -79,18 +92,6 @@
|
|
|
79
92
|
"es": "utilizado setForeignBinaryState si es posible",
|
|
80
93
|
"pl": "użyto setForeignBinaryState, jeśli to możliwe",
|
|
81
94
|
"zh-cn": "如果可能,使用 setForeignBinaryState"
|
|
82
|
-
},
|
|
83
|
-
"1.12.5": {
|
|
84
|
-
"en": "Fixed errors in io-package.json",
|
|
85
|
-
"de": "Fehler in io-package.json behoben",
|
|
86
|
-
"ru": "Исправлены ошибки в io-package.json",
|
|
87
|
-
"pt": "Corrigidos erros em io-package.json",
|
|
88
|
-
"nl": "Fouten opgelost in io-package.json",
|
|
89
|
-
"fr": "Correction d'erreurs dans io-package.json",
|
|
90
|
-
"it": "Risolti errori in io-package.json",
|
|
91
|
-
"es": "Se corrigieron errores en io-package.json",
|
|
92
|
-
"pl": "Naprawiono błędy w io-package.json",
|
|
93
|
-
"zh-cn": "修复了 io-package.json 中的错误"
|
|
94
95
|
}
|
|
95
96
|
},
|
|
96
97
|
"title": "Text to speech",
|
package/lib/speech2device.js
CHANGED
|
@@ -21,7 +21,7 @@ class Speech2Device {
|
|
|
21
21
|
return new Promise((resolve, reject) => {
|
|
22
22
|
try {
|
|
23
23
|
const _cmd = `${cmd}${args && args.length ? ` ${args.join(' ')}` : ''}`;
|
|
24
|
-
this.adapter.log.debug(`Execute ${cmd} ${args.join(' ')}`);
|
|
24
|
+
this.adapter.log.debug(`Execute ${cmd} ${args && args.length ? args.join(' ') : ''}`);
|
|
25
25
|
const ls = cp.exec(_cmd, {cwd}, code => {
|
|
26
26
|
if (!code) {
|
|
27
27
|
resolve && resolve();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.sayit",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "Text to speech interface for ioBroker.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "bluefox",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"jsftp": "^2.1.3",
|
|
43
|
-
"@aws-sdk/client-polly": "^3.
|
|
43
|
+
"@aws-sdk/client-polly": "^3.312.0",
|
|
44
44
|
"@iobroker/adapter-core": "^2.6.8",
|
|
45
45
|
"google-tts-api": "^2.0.2",
|
|
46
|
-
"axios": "^1.3.
|
|
46
|
+
"axios": "^1.3.5",
|
|
47
47
|
"mp3-duration": "^1.1.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|