homebridge-xbox-tv 2.12.26 → 2.12.27
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 +1 -1
- package/index.js +10 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -67,7 +67,7 @@ Homebridge plugin for Microsoft game Consoles. Tested with Xbox One X/S and Xbox
|
|
|
67
67
|
* The `sample-config.json` can be edited and used as an alternative (advanced users).
|
|
68
68
|
|
|
69
69
|
<p align="center">
|
|
70
|
-
<a href="https://github.com/grzegorz914/homebridge-xbox-tv"><img src="https://raw.githubusercontent.com/grzegorz914/homebridge-xbox-tv/master/graphics/
|
|
70
|
+
<a href="https://github.com/grzegorz914/homebridge-xbox-tv"><img src="https://raw.githubusercontent.com/grzegorz914/homebridge-xbox-tv/master/graphics/ustawienia.png" width="840"></a>
|
|
71
71
|
</p>
|
|
72
72
|
|
|
73
73
|
| Key | Description |
|
package/index.js
CHANGED
|
@@ -28,7 +28,16 @@ class XboxPlatform {
|
|
|
28
28
|
|
|
29
29
|
//debug config
|
|
30
30
|
const debug = device.enableDebugMode ? log(`Device: ${device.host} ${device.name}, did finish launching.`) : false;
|
|
31
|
-
const
|
|
31
|
+
const config = {
|
|
32
|
+
...device,
|
|
33
|
+
xboxLiveId: 'removed',
|
|
34
|
+
webApiToken: 'removed',
|
|
35
|
+
webApiClientId: 'removed',
|
|
36
|
+
webApiClientSecret: 'removed',
|
|
37
|
+
mqttUser: 'removed',
|
|
38
|
+
mqttPasswd: 'removed'
|
|
39
|
+
};
|
|
40
|
+
const debug1 = device.enableDebugMode ? log(`Device: ${device.host} ${device.name}, Config: ${JSON.stringify(config, null, 2)}`) : false;
|
|
32
41
|
|
|
33
42
|
//xbox device
|
|
34
43
|
const xboxDevice = new XboxDevice(api, prefDir, device);
|