diff --git a/app.js b/app.js index f211c87..a029da5 100644 --- a/app.js +++ b/app.js @@ -15,7 +15,7 @@ var denon = {}; var roon = new RoonApi({ extension_id: 'org.pruessmann.roon.denon', display_name: 'Denon/Marantz AVR', - display_version: '0.0.7', + display_version: '0.0.8', publisher: 'Doc Bobo', email: 'boris@pruessmann.org', website: 'https://github.com/docbobo/roon-extension-denon', @@ -64,7 +64,7 @@ function make_layout(settings) { var svc_settings = new RoonApiSettings(roon, { get_settings: function(cb) { - probeInputs(mysettings) + probeInputs(mysettings) .then((settings) => { cb(make_layout(settings)); }); @@ -123,8 +123,8 @@ function queryInputs(hostname) { var result = parse.parse(body); var inputs = result['item']['InputFuncList']['value']; var renames = result['item']['RenameSource']['value']; - - var outs = (result.item.SourceDelete ? Promise.resolve(result.item.SourceDelete.value) : + + var outs = (result.item.SourceDelete ? Promise.resolve(result.item.SourceDelete.value) : fetch('http://' + hostname + '/goform/formMainZone_MainZoneXml.xml',{timeout: 2000}) .then(res => res.text()) diff --git a/package.json b/package.json index b2bb710..b4c3f8a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "roon-extension-denon", - "version": "0.0.7", + "version": "0.0.8", "description": "Volume Control extension to control Denon/Marantz AV receivers via network.", "main": "app.js", "author": "Doc Bobo (https://blog.pruessmann.org/)", @@ -10,10 +10,10 @@ "denon-client": "^0.2.0", "fast-xml-parser": "^3.9.10", "node-fetch": "^2.1.2", - "node-roon-api": "github:roonlabs/node-roon-api#caca92e99fd6becfc97761d32333cf4cd914b438", + "node-roon-api": "github:roonlabs/node-roon-api#fc06320225d8f919663a785e387363e441f46261", "node-roon-api-settings": "github:roonlabs/node-roon-api-settings#67cd8ca156c5bcd01ea63833ceaaec6d6a79654d", - "node-roon-api-source-control": "github:roonlabs/node-roon-api-source-control", + "node-roon-api-source-control": "github:roonlabs/node-roon-api-source-control#fab2ba33f2c9249a8c9e69b6dcccfc8f333ab12e", "node-roon-api-status": "github:roonlabs/node-roon-api-status#504c918d6da267e03fbb4337befa71ca3d3c7526", - "node-roon-api-volume-control": "github:roonlabs/node-roon-api-volume-control#e3e012b2376b87a5af82c10cc5cc9f4a53e2907a" + "node-roon-api-volume-control": "github:roonlabs/node-roon-api-volume-control#56315d95344c9e0dc98c07c30a2de08727437b1e" } }