diff --git a/main.js b/main.js index 5aa1a9a..bbaf585 100644 --- a/main.js +++ b/main.js @@ -228,7 +228,7 @@ async function fetchRemoteDevicesData() { } else if (['TXT', 'SRV'].includes(Type)) { if (!db.remote.services[Name]) db.remote.services[Name] = { TXT: null, SRV: null }; - db.remote.services[Name][Type] = Data; + db.remote.services[Name][Type] = (Data.substr(0,1)=="{"?JSON.parse(Data):Data); } });