Roon Extension: Denon/Marantz AV receiver volume control (GitHub)

Well apparently the SR7011 or all newer versions no longer offer the XML files I use for parsing. Instead you have to use a post command to get the neccessary information. Without a device to test this is rather difficult for me.
What I could do though (for the moment), is to try and parse the xml files and if this does not succeed provide a list of standard sources.

@Maru Disappointing to hear about the SR7011 problem. I have a Marantz AV7703 of the same vintage as the SR7011. The 7703 is getting repaired right now so I cannot test it but I’m worried that it won’t work given what you’ve found.

But if it does end up working, is it possible to operate more than a single Denon/Marantz receiver in the Roon household? I also have a Denon X2000 receiver being fed Roon from an HDMI-attached Mac Mini. I installed the major @Boris_Pruessmann fork of this project and it worked well on the first try (imagine that!) but it doesn’t seem like the extension can do more than one D&M device…or is there another way I’m not seeing?

@Sevenfeet, you should be able to run multiple instances of the extension, though I doubt that’s possible via the Extension Manager. And of course, configuring via UI would be harder as you’d have two instances with the same name…

@Boris_Pruessmann Thanks Boris. I guess a workaround may be to use one of the Harmony control extensions to do that. Does yours control volume or is that a feature of Deep Harmony?

Theoretically it would be possible to rewrite the extension to support more than one receiver but this would actually require a big refactoring of the code.
@Boris_Pruessmann regarding the new receivers which do not provide the correct sources via the web interface. what about a fallback to a fixed list if it does not work. I could create a PR for that.

I’m trying to install this extension using the Extension Manager, but have the next error; Installation failed: Roon-extension-Denon.

My Roon Core is running on a Synology NAS. I hope someone knows how to fix this?

Where is the Extension Manager running on?

The Extension Manager is running with a Docker image on the Synology NAS.

Can you try to install another extension? Would be interesting to know if others do work.

The same error appears, trying to install the Random Radio, but the error is still Installation failed: roon-extension-denon.

After restarting the NAS I was able to install Random Radio Extension, but the Marantz control stil failing.

Will try with another restart in a minute.

Nope, still not working after second restart.

Is there an option to view the log of the container?

Yes, I find something. Just a few lines… Try to copy everything.

2018-09-24T19:26:28.442Z - Err: Installation failed: roon-extension-denon stdout

npm WARN deprecated node-uuid@1.4.8: Use uuid module instead stdout

Error: Cannot find module ‘/root/.RoonExtensions/lib/node_modules/roon-extension-denon/node_modules/fast-xml-parser/tasks/postinstall.js’ stdout

19:26:28

date stream content
2018-09-24 19:26:28 stdout
2018-09-24 19:26:28 stdout npm ERR! /root/.npm/_logs/2018-09-24T19_26_28_286Z-debug.log
2018-09-24 19:26:28 stdout npm ERR! A complete log of this run can be found in:
2018-09-24 19:26:28 stdout
2018-09-24 19:26:28 stdout npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2018-09-24 19:26:28 stdout npm ERR! Failed at the fast-xml-parser@3.12.5 postinstall script.
2018-09-24 19:26:28 stdout npm ERR!
2018-09-24 19:26:28 stdout npm ERR! Exit status 1
2018-09-24 19:26:28 stdout npm ERR! fast-xml-parser@3.12.5 postinstall: node tasks/postinstall.js
2018-09-24 19:26:28 stdout npm ERR! errno 1
2018-09-24 19:26:28 stdout npm ERR! code ELIFECYCLE
2018-09-24 19:26:28 stdout at bootstrap_node.js:609:3
2018-09-24 19:26:28 stdout at startup (bootstrap_node.js:188:16)
2018-09-24 19:26:28 stdout at Function.Module.runMain (module.js:693:10)
2018-09-24 19:26:28 stdout at Function.Module._load (module.js:474:25)
2018-09-24 19:26:28 stdout at Function.Module._resolveFilename (module.js:547:15)
2018-09-24 19:26:28 stdout Error: Cannot find module ‘/root/.RoonExtensions/lib/node_modules/roon-extension-denon/node_modules/fast-xml-parser/tasks/postinstall.js’
2018-09-24 19:26:28 stdout
2018-09-24 19:26:28 stdout ^
2018-09-24 19:26:28 stdout throw err;
2018-09-24 19:26:28 stdout module.js:549
2018-09-24 19:26:28 stdout npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
2018-09-24 19:26:28 stdout 2018-09-24T19:26:28.442Z - Err: Installation failed: roon-extension-denon

I can reproduce the problem. For some reason the Denon extension will not install in a container, still have to find out what is going on.

Thanks so far. Let me know if I can help you with testing.

Is there any update already?

No update yet - I am currently traveling. Hope to have a look tomorrow night.

I installed this extension (0.0.9) through the extension-manager but I can’t get it to work. When I enter the IP address in the settings and press TAB I get an error: “Cannot read property “InputFuncList” of undefined”.

What do I do wrong?

When running in bash I get these messages:

<- REQUEST 26 com.roonlabs.settings:1/subscribe_settings {“subscription_key”:“125”}

-> CONTINUE 26 Subscribed {“settings”:{“values”:{“hostname”:"",“setsource”:""},“layout”:[{“type”:“string”,“title”:“Host name or IP Address”,“subtitle”:“The IP address or hostname of the Denon/Marantz receiver.”,“maxlength”:256,“setting”:“hostname”}],“has_error”:false}}

<- REQUEST 31 com.roonlabs.settings:1/save_settings {“settings”:{“values”:{“hostname”:“192.168.0.72”,“setsource”:""}},“is_dry_run”:true}

-> COMPLETE 31 NotValid {“settings”:{“values”:{“hostname”:“192.168.0.72”,“setsource”:"",“err”:“Cannot read property ‘InputFuncList’ of undefined”},“layout”:[{“type”:“string”,“title”:“Host name or IP Address”,“subtitle”:“The IP address or hostname of the Denon/Marantz receiver.”,“maxlength”:256,“setting”:“hostname”},{“type”:“status”,“title”:“Cannot read property ‘InputFuncList’ of undefined”}],“has_error”:true}}