iobroker.squeezeboxrpc 1.3.12 → 1.3.14
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 +8 -0
- package/io-package.json +27 -27
- package/lib/iosbplayer.js +32 -35
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -201,6 +201,14 @@ For more information visit the CLI-documentation:
|
|
|
201
201
|
Placeholder for the next version (at the beginning of the line):
|
|
202
202
|
### **WORK IN PROGRESS**
|
|
203
203
|
-->
|
|
204
|
+
### 1.3.14 (2024-08-05)
|
|
205
|
+
|
|
206
|
+
- fix formatting
|
|
207
|
+
|
|
208
|
+
### 1.3.13 (2024-08-05)
|
|
209
|
+
|
|
210
|
+
- revert the fix for artist handling due to negative effect of spotify
|
|
211
|
+
|
|
204
212
|
### 1.3.12 (2024-08-05)
|
|
205
213
|
|
|
206
214
|
- improve cmdGoto handling by kairauer, close PR #74
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "squeezeboxrpc",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.14",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.3.14": {
|
|
7
|
+
"en": "fix formatting",
|
|
8
|
+
"de": "fixe formatierung",
|
|
9
|
+
"ru": "форматирование фиксации",
|
|
10
|
+
"pt": "corrigir formatação",
|
|
11
|
+
"nl": "formatteren herstellen",
|
|
12
|
+
"fr": "corriger le formatage",
|
|
13
|
+
"it": "correzione della formattazione",
|
|
14
|
+
"es": "arreglar formato",
|
|
15
|
+
"pl": "naprawić formatowanie",
|
|
16
|
+
"uk": "фіксувати форматування",
|
|
17
|
+
"zh-cn": "固定格式化"
|
|
18
|
+
},
|
|
19
|
+
"1.3.13": {
|
|
20
|
+
"en": "revert the fix for artist handling due to negative effect of spotify",
|
|
21
|
+
"de": "die fix für die künstlerhandhabung aufgrund negativer wirkung von spotify",
|
|
22
|
+
"ru": "возвратить фиксацию для работы с художником из-за негативного эффекта спотификации",
|
|
23
|
+
"pt": "reverter a correção para manipulação de artista devido ao efeito negativo de identificar",
|
|
24
|
+
"nl": "terugzetten van de fix voor artist handling als gevolg van negatief effect van spotify",
|
|
25
|
+
"fr": "retourner la correction pour la manipulation de l'artiste en raison de l'effet négatif de spotify",
|
|
26
|
+
"it": "ripristinare la correzione per la gestione dell'artista a causa dell'effetto negativo di spotify",
|
|
27
|
+
"es": "revertir la fijación para el manejo del artista debido al efecto negativo de spotify",
|
|
28
|
+
"pl": "revert fix do obsługi artysty ze względu na negatywny efekt spotify",
|
|
29
|
+
"uk": "перевернути фіксацію для обробки художника через негативний ефект плямистості",
|
|
30
|
+
"zh-cn": "恢复对艺术家处理的固定,因为发现有负面影响"
|
|
31
|
+
},
|
|
6
32
|
"1.3.12": {
|
|
7
33
|
"en": "improve cmdGoto handling by kairauer, close PR #74\nfix issues from adapter checker\nintegrate squeezenode lib",
|
|
8
34
|
"de": "verbessern cmd Goto Handling von kairauer, close PR #74\nprobleme von adapter checker beheben\npressnode lib integrieren",
|
|
@@ -67,32 +93,6 @@
|
|
|
67
93
|
"pl": "* napraw widget btn do przesyłania obiektów",
|
|
68
94
|
"uk": "* виправити віджет btn для пересилання об’єктів",
|
|
69
95
|
"zh-cn": "* 修复对象转发 btn 小部件"
|
|
70
|
-
},
|
|
71
|
-
"1.3.7": {
|
|
72
|
-
"en": "* fix object creation of states in player modul",
|
|
73
|
-
"de": "* Objekterstellung von Zuständen im Player-Modul behoben",
|
|
74
|
-
"ru": "* исправлено создание объектов состояний в модуле плеера",
|
|
75
|
-
"pt": "* corrigir a criação de objetos de estados no módulo do player",
|
|
76
|
-
"nl": "* probleem met het maken van statussen in de spelermodule",
|
|
77
|
-
"fr": "* Correction de la création d'objets d'états dans le module joueur",
|
|
78
|
-
"it": "* corretta la creazione di oggetti di stati nel modulo del lettore",
|
|
79
|
-
"es": "* Corregir la creación de objetos de estados en el módulo del reproductor.",
|
|
80
|
-
"pl": "* naprawiono tworzenie stanów obiektów w module odtwarzacza",
|
|
81
|
-
"uk": "* виправлено створення об'єктів станів у модулі гравця",
|
|
82
|
-
"zh-cn": "*修复玩家模块中状态的对象创建"
|
|
83
|
-
},
|
|
84
|
-
"1.3.6": {
|
|
85
|
-
"en": "* fix object creation of states",
|
|
86
|
-
"de": "* Objekterstellung von Zuständen behoben",
|
|
87
|
-
"ru": "* исправлено создание объектов состояний",
|
|
88
|
-
"pt": "* corrigir a criação de estados de objetos",
|
|
89
|
-
"nl": "* probleem met het maken van statussen voor objecten",
|
|
90
|
-
"fr": "* Correction de la création d'objets d'états",
|
|
91
|
-
"it": "* corretta la creazione degli stati da parte degli oggetti",
|
|
92
|
-
"es": "* arreglar la creación de objetos de estados",
|
|
93
|
-
"pl": "* naprawiono tworzenie obiektów w stanach",
|
|
94
|
-
"uk": "* виправити створення об'єктів станів",
|
|
95
|
-
"zh-cn": "* 修复状态的对象创建"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
package/lib/iosbplayer.js
CHANGED
|
@@ -585,48 +585,45 @@ function ioSBPlayer(server, playerdata) {
|
|
|
585
585
|
value = decodeURIComponent(m[1]);
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
this.artisthandling = true;
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
if (Object.prototype.hasOwnProperty.call(playerdata, "artist")) {
|
|
592
|
-
value = playerdata["artist"];
|
|
593
|
-
}
|
|
594
|
-
if (Object.prototype.hasOwnProperty.call(playerdata, "composer")) {
|
|
595
|
-
value = playerdata["composer"];
|
|
596
|
-
}
|
|
597
|
-
if (Object.prototype.hasOwnProperty.call(playerdata, "conductor")) {
|
|
598
|
-
value = playerdata["conductor"];
|
|
599
|
-
}
|
|
600
|
-
if (Object.prototype.hasOwnProperty.call(playerdata, "band")) {
|
|
601
|
-
value = playerdata["band"];
|
|
602
|
-
}
|
|
603
|
-
if (Object.prototype.hasOwnProperty.call(playerdata, "albumartist")) {
|
|
604
|
-
value = playerdata["albumartist"];
|
|
605
|
-
}
|
|
606
|
-
if (Object.prototype.hasOwnProperty.call(playerdata, "trackartist")) {
|
|
607
|
-
value = playerdata["trackartist"];
|
|
608
|
-
}
|
|
609
|
-
playerdata["artisthandling"] = true;
|
|
610
|
-
}
|
|
611
|
-
|
|
612
|
-
|
|
588
|
+
/* this.artisthandling = true;
|
|
589
|
+
if (key == "artist" && !playerdata["artisthandling"] && this.artisthandling == true) {
|
|
613
590
|
|
|
591
|
+
if (Object.prototype.hasOwnProperty.call(playerdata, "artist")) {
|
|
592
|
+
value = playerdata["artist"];
|
|
593
|
+
}
|
|
594
|
+
if (Object.prototype.hasOwnProperty.call(playerdata, "composer")) {
|
|
595
|
+
value = playerdata["composer"];
|
|
596
|
+
}
|
|
597
|
+
if (Object.prototype.hasOwnProperty.call(playerdata, "conductor")) {
|
|
598
|
+
value = playerdata["conductor"];
|
|
599
|
+
}
|
|
600
|
+
if (Object.prototype.hasOwnProperty.call(playerdata, "band")) {
|
|
601
|
+
value = playerdata["band"];
|
|
602
|
+
}
|
|
603
|
+
if (Object.prototype.hasOwnProperty.call(playerdata, "albumartist")) {
|
|
604
|
+
value = playerdata["albumartist"];
|
|
605
|
+
}
|
|
606
|
+
if (Object.prototype.hasOwnProperty.call(playerdata, "trackartist")) {
|
|
607
|
+
value = playerdata["trackartist"];
|
|
608
|
+
}
|
|
609
|
+
playerdata["artisthandling"] = true;
|
|
610
|
+
} */
|
|
614
611
|
|
|
615
612
|
this.setState(this.sbPlayerStatusLoop[key].name, this.convertState(this.sbPlayerStatusLoop[key], value), this.statePath, this.playername);
|
|
616
613
|
} else {
|
|
617
614
|
if (key == "remote_title" && this.remote == 0) {
|
|
618
615
|
value = "";
|
|
619
616
|
}
|
|
620
|
-
if (key == "artist" && (Object.prototype.hasOwnProperty.call(playerdata, "albumartist") || "") == "") {
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
617
|
+
/* if (key == "artist" && (Object.prototype.hasOwnProperty.call(playerdata, "albumartist") || "") == "") {
|
|
618
|
+
value = "";
|
|
619
|
+
} else {
|
|
620
|
+
value = playerdata["albumartist"];
|
|
621
|
+
}
|
|
622
|
+
if (key == "albumartist" && (Object.prototype.hasOwnProperty.call(playerdata, "artist") || "") == "") {
|
|
623
|
+
value = "";
|
|
624
|
+
} else {
|
|
625
|
+
value = playerdata["artist"];
|
|
626
|
+
} */
|
|
630
627
|
if (fullStatus) this.setState(this.sbPlayerStatusLoop[key].name, this.convertState(this.sbPlayerStatusLoop[key], value), this.statePath, this.playername);
|
|
631
628
|
}
|
|
632
629
|
}
|