iobroker.squeezeboxrpc 1.3.9 → 1.3.10

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 CHANGED
@@ -183,6 +183,8 @@ https://github.com/elParaguayo/LMS-CLI-Documentation/blob/master/LMS-CLI.md
183
183
 
184
184
  ## Changelog
185
185
 
186
+ ### 1.3.10
187
+ * getalbumartist as artist if setting of TPE2/TPE3 in LMS are changed"
186
188
  ### 1.3.9
187
189
  * fix error with deleting favorites
188
190
  * fix wrong type for datapoint
package/io-package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "squeezeboxrpc",
4
- "version": "1.3.9",
4
+ "version": "1.3.10",
5
5
  "news": {
6
+ "1.3.10": {
7
+ "en": "* getalbumartist as artist if setting of TPE2/TPE3 in LMS are changed"
8
+ },
6
9
  "1.3.9": {
7
10
  "en": "* fix error with deleting favorites * fix wrong type for datapoint"
8
11
  },
package/lib/iosbplayer.js CHANGED
@@ -248,6 +248,14 @@ function ioSBPlayer(server,playerdata) {
248
248
  role: 'media.artist',
249
249
  exist: false
250
250
  },
251
+ 'albumartist': {
252
+ name: 'Artist',
253
+ read: true,
254
+ write: false,
255
+ type: 'string',
256
+ role: 'media.artist',
257
+ exist: false
258
+ },
251
259
  'url': {
252
260
  name: 'Url',
253
261
  read: true,
@@ -622,7 +630,8 @@ function ioSBPlayer(server,playerdata) {
622
630
  this.sbPlayerStatusMain[key]=this.createObject(stateTemplate,this.statePath, this.playername);
623
631
  }
624
632
  }
625
- for (const key in this.sbPlayerStatusLoop ) {
633
+ for (var key in this.sbPlayerStatusLoop ) {
634
+ if (key=="albumartist") key="artist";
626
635
  const stateTemplate = this.sbPlayerStatusLoop[key];
627
636
  if (!stateTemplate.exist) {
628
637
  this.sbPlayerStatusLoop[key]=this.createObject(stateTemplate,this.statePath, this.playername);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.squeezeboxrpc",
3
- "version": "1.3.9",
3
+ "version": "1.3.10",
4
4
  "description": "ioBroker Logitech Squeezebox Adapter over JSON/RPC-Protocol",
5
5
  "author": {
6
6
  "name": "oweitman",