homebridge-xbox-tv 3.8.2-beta.0 → 3.8.2-beta.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/config.schema.json +1 -0
- package/package.json +1 -1
- package/src/xboxdevice.js +1 -0
package/config.schema.json
CHANGED
package/package.json
CHANGED
package/src/xboxdevice.js
CHANGED
|
@@ -238,6 +238,7 @@ class XboxDevice extends EventEmitter {
|
|
|
238
238
|
if (this.enableDebugMode) this.emit('debug', `Read saved Info: ${JSON.stringify(this.savedInfo, null, 2)}`);
|
|
239
239
|
|
|
240
240
|
//read inputs file
|
|
241
|
+
if (this.enableDebugMode) this.emit('debug', `Read Inputs: ${this.inputs}`);
|
|
241
242
|
const savedInputs = this.getInputsFromDevice ? await this.functions.readData(this.inputsFile) : this.inputs;
|
|
242
243
|
this.savedInputs = savedInputs.toString().trim() !== '' ? JSON.parse(savedInputs) : [];
|
|
243
244
|
if (this.enableDebugMode) this.emit('debug', `Read saved Inputs: ${JSON.stringify(this.savedInputs, null, 2)}`);
|