From 5ba4944aeeb114a88d4b11fe994797c7b0572547 Mon Sep 17 00:00:00 2001 From: Derek Flenniken Date: Sun, 8 May 2022 20:11:54 +0000 Subject: [PATCH] output some useful info for future me --- src/main.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main.ts b/src/main.ts index 38fd1c3..8016576 100644 --- a/src/main.ts +++ b/src/main.ts @@ -99,6 +99,13 @@ class ElgatoController extends ScryptedDeviceBase implements DeviceProvider { this.console.log('Elgato device discovery started ...') browser.on('up', service => { this.console.log(`Found Elgato device: ${service.name}`) + function replacer(key, value) { + if (key === 'rawTxt') { + return undefined; + } + return value; + } + this.console.log(`${JSON.stringify(service, replacer, 2)}`) this.addDevice(service); }); browser.start();