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


(Andy Spinks) #21

Here’s the status XML:

<?xml version="1.0" encoding="UTF-8"?>

-<item>


-<Zone>

<value>LivingRoom </value>

</Zone>


-<Power>

<value>ON</value>

</Power>


-<InputFuncList>

<value>CBL/SAT</value>

<value>DVD</value>

<value>Blu-ray</value>

<value>GAME</value>

<value>AUX1</value>

<value>AUX2</value>

<value>Media Player</value>

<value>iPod/USB</value>

<value>CD</value>

<value>TUNER</value>

<value>NETWORK</value>

<value>TV AUDIO</value>

<value>Bluetooth</value>

<value>PHONO</value>

</InputFuncList>


-<RenameSource>


-<value>

<value>Xfinity X1 </value>

</value>


-<value>

<value>Roon </value>

</value>


-<value>

<value>Oppo Blu-ray</value>

</value>


-<value>

<value>Game </value>

</value>


-<value>

<value>Front AUX1 </value>

</value>


-<value>

<value>AUX2 </value>

</value>


-<value>

<value>AppleTV </value>

</value>


-<value>

<value>iPod/USB</value>

</value>


-<value>

<value>Turntable </value>

</value>


-<value>

<value>Tuner</value>

</value>


-<value>

<value>Online Music</value>

</value>


-<value>

<value>SonyTV ARC </value>

</value>


-<value>

<value>Bluetooth</value>

</value>


-<value>

<value>Ohno </value>

</value>

</RenameSource>


-<SourceDelete>

<value>USE</value>

<value>USE</value>

<value>USE</value>

<value>USE</value>

<value>USE</value>

<value>USE</value>

<value>USE</value>

<value>USE</value>

<value>USE</value>

<value>USE</value>

<value/>

<value>USE</value>

<value>USE</value>

<value>DEL</value>

</SourceDelete>


-<InputFuncSelect>

<value>DVD</value>

</InputFuncSelect>


-<VolumeDisplay>

<value>Absolute</value>

</VolumeDisplay>


-<RestorerMode>

<value>----</value>

</RestorerMode>


-<SurrMode>

<value>Direct </value>

</SurrMode>


-<MasterVolume>

<value>-47.0</value>

</MasterVolume>


-<Mute>

<value>off</value>

</Mute>


-<Model>

<value/>

</Model>

</item>

(Andy Spinks) #22

Yes, I renamed the DVD input to “Roon.”


#23

Ok, I made a quick hack to work around this issue. Can you please do a

git pull

to get the latest commit and try again? Depending on the version of the receiver the disabled inputs are stored in different xml files and this tripped up the code.


(Andy Spinks) #24

Working now! It took me a second to remove the volume limits I had previously set in Roon, and it crashed once, but I restarted it and we are back up and running.

I’m using the Logitech Harmony extension for source control. I had stopped it at first, but I have it running now as well. (From the looks of it, I don’t think my Denon sources were showing up correctly in this extension; I’ll be happy to send a screen shot if you want to see it, but I plan to use the Harmony extension.)

Thanks so much for adding this to your fork of the extension! I’ll put it through its paces and report back (if you want me to).

Thanks again!


#25

Hmm source control should work just fine with the extension as well. The drop-down should show all your enabled outputs with your custom names.


#26

I found the issue, apparently Denon really wants to make my life difficult. I will commit a proper patch later today and kindly ask you to test it. The source should then show up correctly.


#27

Can you please do another

git pull

and check if the source selections now works correctly?


(Andy Spinks) #28

After the git pull, sources are shown correctly now. I’ll try it out over the next few days. Thanks!


#29

Good Morning,

Just a heads up. The last official version from Boris includes some of my changes, namely the source selection and standby functionality.
The functionality of selecting either an absolute or relative volume has not been pushed yet and for the time being is only available in my repository.


(Chris) #30

Hi, trying to set this up with Marantz SR7011, I get “cannot read property of ‘inputfunclist’ of undefined”. Any ideas?


(Chris) #31

Just wanted to add that if i revert to ver 0.6 it works (without the input control), it seems that the issue for me is that the SR7011 does not supply the xml data at /goform/formMainZone_MainZoneXmlStatus.xml, it just gives 403 forbidden error.


#32

Hi a little bit furthercup in this thread I mentione two xml files. Could you paste both please?


(Chris) #33

Hi, there’s nothing to paste, both URLs return “Error 403: Forbidden / Access Forbidden” on my SR7011.

The only url i found which works is http://192.168.1.121:8080/goform/Deviceinfo.xml

https://pastebin.com/0bgT1umn

not sure that is helpful at all, but as i don’t really need source control (using harmony extension), i’ve reverted to version .0.0.6 and am good with that.


#34

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.


(Richard Ewing) #35

@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?


#36

@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…


(Richard Ewing) #37

@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?


#38

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.


#39

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?


(Jan Koudijs) #40

Where is the Extension Manager running on?