Cynical Denon - Denon and Marantz AV Receiver control

Posted on
Fri Mar 01, 2019 7:19 pm
kennybroh offline
Posts: 531
Joined: Dec 13, 2009
Location: Baltimore

Re: Cynical Denon - Denon and Marantz AV Receiver control

Just got an AVR-S740H and so far the plugin works like a charm for the few basic functions I've tested. On-off and mute. I really need to understand how to use the plugin formula to raise and lower volume by increments. I'll try to plow through the docs and tutorials, but any help would be appreciated.

Was very pleased that it just worked without any fiddling! Thanks.

Posted on
Fri Mar 01, 2019 7:29 pm
DaveL17 offline
User avatar
Posts: 6742
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Cynical Denon - Denon and Marantz AV Receiver control

Here are two that I use regularly:

Screen Shot 2019-03-01 at 7.26.17 PM.png
Screen Shot 2019-03-01 at 7.26.17 PM.png (70.21 KiB) Viewed 5471 times


Screen Shot 2019-03-01 at 7.26.38 PM.png
Screen Shot 2019-03-01 at 7.26.38 PM.png (55.44 KiB) Viewed 5471 times


There are also corresponding methods for volume down, as well.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Fri Mar 01, 2019 7:41 pm
kennybroh offline
Posts: 531
Joined: Dec 13, 2009
Location: Baltimore

Re: Cynical Denon - Denon and Marantz AV Receiver control

Thanks. After I wrote that I tried =current+step as suggested in the docs. Since it was a small increment, I put 2 of them in the action. And I did the reverse for volume down. Is device.volume a built-in property? Is there a list of those somewhere?

Posted on
Fri Mar 01, 2019 7:53 pm
kennybroh offline
Posts: 531
Joined: Dec 13, 2009
Location: Baltimore

Re: Cynical Denon - Denon and Marantz AV Receiver control

So that worked, but 10 is a pretty big increment. Thanks for the tip.

Where can I find other built-in properties?

Posted on
Fri Mar 01, 2019 8:06 pm
DaveL17 offline
User avatar
Posts: 6742
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Cynical Denon - Denon and Marantz AV Receiver control

I was able to find an API protocol document for my receiver online. It contains all the commands like "CVC UP".

Yeah, 10 is a pretty big increment. But in my case, I use it "in reverse". When I'm watching live TV and the commercials come on, I hit the -10 button to moderate the volume, then (obviously) +10 when the program comes back on.

The center channel formula is for when the surround channels are turned up too high.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Fri Mar 01, 2019 8:09 pm
DaveL17 offline
User avatar
Posts: 6742
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Cynical Denon - Denon and Marantz AV Receiver control

P.S. I can share the Denon document I use (AVR-E400) if you'd like to use it as a test bed source. I can't guarantee that it will work with other model numbers.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Fri Mar 01, 2019 8:28 pm
kennybroh offline
Posts: 531
Joined: Dec 13, 2009
Location: Baltimore

Re: Cynical Denon - Denon and Marantz AV Receiver control

Sure, that would be helpful. Also my unit has an input called "Media Player" which isn't listed in the available input choices, I typed it in in all caps but it didn't work. The docs talk about an input map, but that can be found nowhere in the interface. Any idea how I might identify it?

Posted on
Fri Mar 01, 2019 8:46 pm
kennybroh offline
Posts: 531
Joined: Dec 13, 2009
Location: Baltimore

Re: Cynical Denon - Denon and Marantz AV Receiver control

thanks for the document. I just found the one for this model on Denon's site. And I saw that Media Player is MPLAY....

Getting there!

Posted on
Fri Mar 01, 2019 8:49 pm
DaveL17 offline
User avatar
Posts: 6742
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Cynical Denon - Denon and Marantz AV Receiver control

I just sent you a link to the file in a PM.

Here's a copy of the modified source map I use for my receiver.
Code: Select all
AUX1=Aux Input,BD=Blu-Ray,CD,DVD,FAVORITES=Favorites,FLICKR=Flickr,GAME=Game,IPOD=iPod,IRADIO=Internet Radio,MPLAY=Media Player,NET=Network,PANDORA=Pandora,SAT/CBL=Satellite/Cable,SERVER=Server,SIRIUSXM=Sirius XM,SPOTIFY=Spotify,TUNER=Tuner,TV=TV Audio


(sorry, posted this reply to the wrong thread. I have too many simultaneous conversations going on! :D )
Last edited by DaveL17 on Fri Mar 01, 2019 9:04 pm, edited 1 time in total.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Fri Mar 01, 2019 8:51 pm
kennybroh offline
Posts: 531
Joined: Dec 13, 2009
Location: Baltimore

Re: Cynical Denon - Denon and Marantz AV Receiver control

Yeah, MPLAY is what my doc said, but it doesn't work.... :cry:

Posted on
Fri Mar 01, 2019 8:58 pm
kennybroh offline
Posts: 531
Joined: Dec 13, 2009
Location: Baltimore

Re: Cynical Denon - Denon and Marantz AV Receiver control

Code: Select all
Mar 1, 2019, 9:52:07 PM
   Cynical Denon Error             in set_source: Traceback (most recent call last):
  File ".../Server Plugin/cyin/debugging.py", line 58, in diagnostic_log
    yield
  File ".../Server Plugin/cyin/debugging.py", line 68, in diagnose_call
    return method(*args, **kwargs)
  File "plugin.py", line 96, in set_source
    self.zone.source = action.value
  File ".../Server Plugin/cyin/attr.py", line 237, in __get__
    value = dict.get(self.name + target if target.startswith("_") else target)
TypeError: descriptor 'get' requires a 'dict' object but received a 'str'


I tried putting it in single or double quotes but stilll get the same error....

Posted on
Fri Mar 01, 2019 9:02 pm
kennybroh offline
Posts: 531
Joined: Dec 13, 2009
Location: Baltimore

Re: Cynical Denon - Denon and Marantz AV Receiver control

Another odd thing. The mute toggle was working fine before, but now it stopped responding...

Posted on
Fri Mar 01, 2019 9:04 pm
DaveL17 offline
User avatar
Posts: 6742
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Cynical Denon - Denon and Marantz AV Receiver control

If you're talking about the source map, I don't have any quotes in there.

Screen Shot 2019-03-01 at 9.03.03 PM.png
Screen Shot 2019-03-01 at 9.03.03 PM.png (75.04 KiB) Viewed 5446 times

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Fri Mar 01, 2019 9:05 pm
kennybroh offline
Posts: 531
Joined: Dec 13, 2009
Location: Baltimore

Re: Cynical Denon - Denon and Marantz AV Receiver control

OH, Duh... the source map is in the plug-in configuration. Now I get it!

Posted on
Fri Mar 01, 2019 9:06 pm
DaveL17 offline
User avatar
Posts: 6742
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Cynical Denon - Denon and Marantz AV Receiver control

kennybroh wrote:
OH, Duh... the source map is in the plug-in configuration. Now I get it!

Great! Good luck.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Who is online

Users browsing this forum: No registered users and 2 guests