SamY wrote: 
> 
> ...
> Regarding the limitations of using Telnet to communicate with the AVR,
> our plugin is different than most of the other apps in that we operate
> in more of an asynchronous transactional manner and do not maintain an
> open socket connection with the AVR. When we need to communicate with
> the AVR, we open a TCP connection, issue the command/request, and then
> return to the main processing loop. When a response is received (or a
> timeout notification), we immediately close the TCP connection and then
> take any additional action that may be required. There is also logic to
> retry or even ignore timeouts in certain known situations where the AVR
> might not respond to a command that is unsupported for that particular
> model, etc. An example of an app that does not work that way is the
> Android app "AVR Remote", which I like to use to control my Denon
> AVR-3311ci on occasion. However, I have to remember to make sure it's
> not running on my phone when I'm using the LMS plugin, since the app
> keeps the telnet connection active at all times, blocking communication
> from the plugin.
> 
> I was generally aware of the http protocol used by the newer Denon and
> Marantz receivers but have not felt any need or desire to make use of
> it, especially since neither my old AVR-3311ci nor my co-developer
> Chris' even older AVP support it. As a point of interest, I actually
> became aware of the Squeezelite-X app while adding support in the plugin
> for the AVR mute on/off command via the cli "mixer muting" command
> around six months ago. The Android/iOs client developers had agreed to
> add support in their user interfaces for muting/unmuting but, in the
> meantime, I had no way of testing with a client until I discovered your
> app, which helped me greatly in my effort. So, thanks for that!
> 
> Fyi, I just installed the latest version of SLX on my Windows box and
> activated the Denon control feature. While it didn't discover my AVR, I
> was able to add it manually and, to my surprise, I was able to power it
> on and off using the interface. However, the volume controls didn't
> function. If you ever need any help testing the app's behavior with old
> pre-http AVR models like mine, just let me know!

Ah, so you have a AVR-3311ci.  I had one of those but gave it to one of
my kids a while back.  So my oldest is the AVR-3313, newest AVR-X4500
(and a few in between).  I was wondering about what the 3311 might
support on the http side of things (again, since Denon never seems to
document it).  I wasn't expecting the 3311 to support anything on the
http-side, so I think my code intentionally excludes discovering AVR's
older than the 3313, but I don't have that exclusion when manually
adding.  I wonder if it supports the AppCommand.xml interface.  Are you
able to see the 3311's Inputs listed in the combo box in SLX?  Does the
mute button work?

Also, please... try on 3311

Open browser, type the following in address

http://xx.xx.xx.xx:80/goform/Deviceinfo.xml

you should get a response of XML text that looks something like this

http://10.0.0.153:80/goform/Deviceinfo.xml
&#65279;<?xml version="1.0" encoding="utf-8"?>
<Device_Info>
<DeviceInfoVers>0001</DeviceInfoVers>
<CommApiVers>0210</CommApiVers>
<BrandCode>0</BrandCode>
<ProductCategory>01</ProductCategory>
<DeliveryCode>01</DeliveryCode>
<ModelName>*AVR-3313</ModelName>
<MacAddress>000123456789</MacAddress>
<UpgradeVersion>00</UpgradeVersion>
<ReloadDeviceInfo>0</ReloadDeviceInfo>
<DeviceZones>3</DeviceZones>
<DeviceCapabilities>
...


I'd like to know what the value is for CommApiVers (assuming it exists)
for the 3311.  For the 3313 the value is 0210, for example.  Maybe 3311
supports more than we thought.

R Greg Dawson



Squeezelite-X
------------------------------------------------------------------------
rgdawson's Profile: http://forums.slimdevices.com/member.php?userid=65236
View this thread: http://forums.slimdevices.com/showthread.php?t=108550

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

Reply via email to