homebridge-eosstb 2.1.1 → 2.1.2

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/CHANGELOG.md CHANGED
@@ -10,6 +10,10 @@ Please restart Homebridge after every plugin update.
10
10
  * Implement refreshToken capabilities
11
11
 
12
12
 
13
+ ## 2.1.2 (2023-01-08)
14
+ * Fixed bug causing the plugin to crash when logging an error in getRecordingState and refreshDeviceChannelList
15
+
16
+
13
17
  ## 2.1.1 (2023-01-05)
14
18
  * Fixed bug where InputSourceType and InputDeviceType values were not correctly read
15
19
 
package/index.js CHANGED
@@ -2556,7 +2556,7 @@ class stbPlatform {
2556
2556
  } else {
2557
2557
  errReason = error;
2558
2558
  }
2559
- this.log,warn('%s', (errReason || ''));
2559
+ this.log.warn('%s', (errReason || ''));
2560
2560
  this.log.debug(`getRecordingState error:`, error);
2561
2561
  return false, error;
2562
2562
  });
@@ -3948,7 +3948,7 @@ class stbDevice {
3948
3948
  // this slot needs to be occupied by a keyMacro
3949
3949
  k = i - firstKeyMacroSlot
3950
3950
  this.log.debug("%s: Index %s: Loading channel %s keyMacro %s %s", this.name, i, i+1, k+1, keyMacros[k].channelName);
3951
- this.log,debug("%s: Index %s: Load this keyMacro: %s", this.name, i, keyMacros[k]);
3951
+ this.log.debug("%s: Index %s: Load this keyMacro: %s", this.name, i, keyMacros[k]);
3952
3952
  channel = {
3953
3953
  "id": '$KeyMacro' + (k+1),
3954
3954
  "name": keyMacros[k].channelName,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "displayName": "Homebridge EOSSTB",
4
4
  "description": "homebridge-plugin - Add your set-top box to Homekit (for Magenta AT, Telenet BE, Sunrise CH, Virgin Media GB & IE, Ziggo NL)",
5
5
  "author": "Jochen Siegenthaler (https://github.com/jsiegenthaler/)",
6
- "version": "2.1.1",
6
+ "version": "2.1.2",
7
7
  "platformname": "eosstb",
8
8
  "dependencies": {
9
9
  "axios-cookiejar-support": "^4.0.6",