Chris,

I emailed you recently about setting up this plugin for an old Denon
receiver (AVR-2805), but I'll comment here about my experiences in order
to take advantage of this group's collective insight.  By way of
background, I am switching over from an IRBlaster setup as my final SB3
classic devices slowly die.  My receiver doesn't have an ethernet port,
but I was able to get the Denon Control working through an
RS232-to-ethernet device.  After fiddling with the serial communication
settings on the converter device, I am now able to talk to the receiver
over my network using telnet (via Putty) using the standard Denon
Control commands.

I have installed the Denon AVP Control Plugin (v. 2.0) on my Xubuntu LMS
server (Version: 8.0.1 - 1608617100).  In the plugin settings for this
player (a squeezelite instance (v1.9.8-1294) running on an RP4 with a
hifiberry Digi+ card for optical output to my receiver), I have enabled
the plugin and input my receiver's IP address, but I think the other
settings are default.  The volume control for this player is set to
"Volume controls adjust output" on the audio settings page.

The "power on" and "power off" functions seem to work okay for the
player/receiver from either the LMS web page or the Squeeze Ctrl Android
app (although I sometimes need to click through an extra off/on cycle to
get a response), but the volume controls seem a little jumpy, which
makes me wonder if I am seeing something similar to what other users
have described here.  I don't see reproducible behavior, but I turned on
the debugging setting for the plugin and see the following error on a
frequent basis in my server log:


Code:
--------------------
    [21-01-01 19:03:59.6083] Slim::Control::Request::notify (2060) Error: 
Failed notify: Can't take sqrt of -2 at 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/DenonAvpControl/Plugin.pm
 line 739
  
--------------------


The corresponding text from this file is:


Code:
--------------------
    my $subVol = sprintf("%d",((80 + $maxVolume) * (sqrt($volAdjust)*10) / 10 
));
--------------------


I have no coding experience, but it looks like this might explain some
of the volume issues.  Does the code need to be changed, or is there
something in my configuration that should be tweaked?

I also see the following plugin error in my server log, although it is
much less frequent:



Code:
--------------------
    [21-01-01 15:30:56.0019] Slim::Control::Request::notify (2060) Error: 
Failed notify: Can't call method "name" on an undefined value at 
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/DenonAvpControl/Plugin.pm
 line 152.
--------------------


I am happy to troubleshoot any suggestions.  I also wonder if there is a
way to tweak the plugin to let me change the optical input settings on
my receiver.  This receiver doesn't have "quick select" settings (as far
as I can tell), but the Denon Control commands for this are trivial. 
LMK if that if I could easily add those commands somewhere in the plugin
code.  Thanks in advance for your help!


------------------------------------------------------------------------
DAR's Profile: http://forums.slimdevices.com/member.php?userid=7274
View this thread: http://forums.slimdevices.com/showthread.php?t=60114

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to