ol-iver / denonavr

Automation Library for Denon AVR receivers.
MIT License
176 stars 67 forks source link

marantz nr1603 not working with denonavr 0.9.6 #167

Closed kesteraernoudt closed 3 years ago

kesteraernoudt commented 3 years ago

Hi,

with the latest update, my marantz nr1603 won't work anymore. I use it normally via home assistant, but for debug purposes I've used this python module directly. This is the output of a simple discovery:

Python 3.9.0 (tags/v3.9.0:9cf6752, Oct 5 2020, 15:34:40) [MSC v.1927 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.

import denonavr d = denonavr.DenonAVR("192.168.1.142") Traceback (most recent call last): File "", line 1, in File "C:\Users\kestera\sw\denonavr.venv\lib\site-packages\denonavr\denonavr.py", line 344, in init self.update() File "C:\Users\kestera\sw\denonavr.venv\lib\site-packages\denonavr\denonavr.py", line 524, in update self.ensure_configuration() File "C:\Users\kestera\sw\denonavr.venv\lib\site-packages\denonavr\denonavr.py", line 516, in ensure_configuration self._support_update_avr_2016 = support_avr_2016.result() File "C:\Python39\lib\concurrent\futures_base.py", line 440, in result return self.get_result() File "C:\Python39\lib\concurrent\futures_base.py", line 389, in get_result raise self._exception File "C:\Python39\lib\concurrent\futures\thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "C:\Users\kestera\sw\denonavr.venv\lib\site-packages\denonavr\denonavr.py", line 644, in _update_avr_2016 executor.submit(self._audyssey.update()) File "C:\Users\kestera\sw\denonavr.venv\lib\site-packages\denonavr\audyssey.py", line 103, in update for param in audyssey_params: TypeError: 'NoneType' object is not iterable

With 0.9.5, this works fine:

Python 3.9.0 (tags/v3.9.0:9cf6752, Oct 5 2020, 15:34:40) [MSC v.1927 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.

import denonavr d = denonavr.DenonAVR("192.168.1.142") d.update() True d.power 'OFF'

Any idea what might be wrong?

Thanks, Kester

ol-iver commented 3 years ago

@kesteraernoudt it could be that your receiver does not support Audyssey and this case is not properly covered. Could please send the following HTTP POST request to the /goform/AppCommand0300.xml endpoint of your receiver with a tool like Postman and post the result here?

<?xml version="1.0" encoding="utf-8"?>
<tx>
  <cmd id="3">
    <name>GetAudyssyInfo</name>
    <list>
      <param name="eqname"></param>
      <param name="eqvalue"></param>
      <param name="dynamiceq"></param>
      <param name="dynamicvol"></param>
    </list>
  </cmd>
</tx>
kesteraernoudt commented 3 years ago

@JPHutchins they both return this:


<html>

<head>
    <title>Document Error: Data follows</title>
</head>

<body>
    <h2>Access Error: Data follows</h2>
    <p>Form AppCommand0300.xml is not defined</p>
</body>

</html>

Does that help?

JPHutchins commented 3 years ago

@kesteraernoudt Yes, thank you!

Can you paste the result of /goform/Deviceinfo.xml It may be lengthy.

kesteraernoudt commented 3 years ago

I was already working on that :)

<?xml version="1.0" encoding="utf-8" ?>
<Device_Info>
    <DeviceInfoVers>0001</DeviceInfoVers>
    <CommApiVers>0210</CommApiVers>
    <BrandCode>1</BrandCode>
    <ProductCategory>01</ProductCategory>
    <DeliveryCode>02</DeliveryCode>
    <ModelName>*NR1603</ModelName>
    <MacAddress>000678110996</MacAddress>
    <UpgradeVersion>00</UpgradeVersion>
    <ReloadDeviceInfo>0</ReloadDeviceInfo>
    <DeviceZones>2</DeviceZones>
    <DeviceCapabilities>
        <Setup>
            <Language>
                <lists>
                    <value>English</value>
                    <value>Spanish</value>
                    <value>French</value>
                    <value>German</value>
                    <value>Italian</value>
                    <value>Dutch</value>
                    <value>Swedish</value>
                </lists>
                <ShortcutControl>0</ShortcutControl>
            </Language>
            <NetLink>
                <Control>0</Control>
                <FuncName>NetLink</FuncName>
                <ShortcutControl>0</ShortcutControl>
            </NetLink>
            <ClockAdjust>
                <Control>0</Control>
                <FuncName>ClockAdjust</FuncName>
                <ShortcutControl>0</ShortcutControl>
            </ClockAdjust>
            <SleepTimer>
                <Control>1</Control>
                <FuncName>SleepTimer</FuncName>
                <MaxTimeMin>120</MaxTimeMin>
                <StepTimeMin>10</StepTimeMin>
                <Functions>
                    <AllZoneSleep>1</AllZoneSleep>
                </Functions>
                <ShortcutControl>1</ShortcutControl>
            </SleepTimer>
            <WakeupTimer>
                <Control>0</Control>
                <FuncName>WakeupTimer</FuncName>
                <ShortcutControl>0</ShortcutControl>
            </WakeupTimer>
            <PartyMode>
                <Control>0</Control>
                <FuncName>PartyMode</FuncName>
                <Version>01</Version>
                <ShortcutControl>0</ShortcutControl>
            </PartyMode>
            <BatteryMode>
                <Control>0</Control>
                <FuncName>BatteryMode</FuncName>
                <ShortcutControl>0</ShortcutControl>
            </BatteryMode>
            <DeviceColor>
                <Control>0</Control>
                <FuncName>DeviceColor</FuncName>
                <Color></Color>
                <ShortcutControl>0</ShortcutControl>
            </DeviceColor>
        </Setup>
        <Operation>
            <Clock>
                <Control>0</Control>
                <FuncName>Clock</FuncName>
                <ShortcutControl>0</ShortcutControl>
            </Clock>
            <AllZonePower>
                <Control>1</Control>
                <FuncName>AllZonePower</FuncName>
                <ShortcutControl>0</ShortcutControl>
            </AllZonePower>
            <AllZoneMute>
                <Control>1</Control>
                <FuncName>AllZoneMute</FuncName>
                <ShortcutControl>0</ShortcutControl>
            </AllZoneMute>
            <Favorites>
                <Control>0</Control>
                <FuncName>SystemFavorites</FuncName>
                <MaxFavorites>50</MaxFavorites>
                <Functions>
                    <FavoriteCall>0</FavoriteCall>
                </Functions>
                <ShortcutControl>0</ShortcutControl>
            </Favorites>
            <FavoriteStation>
                <Control>1</Control>
                <MaxFavorites>3</MaxFavorites>
                <Favorite1>
                    <Name>Favorite Station1</Name>
                    <FuncName>Favorite Station1</FuncName>
                    <ShortcutControl>1</ShortcutControl>
                </Favorite1>
                <Favorite2>
                    <Name>Favorite Station2</Name>
                    <FuncName>Favorite Station2</FuncName>
                    <ShortcutControl>1</ShortcutControl>
                </Favorite2>
                <Favorite3>
                    <Name>Favorite Station3</Name>
                    <FuncName>Favorite Station3</FuncName>
                    <ShortcutControl>1</ShortcutControl>
                </Favorite3>
            </FavoriteStation>
        </Operation>
    </DeviceCapabilities>
    <DeviceZoneCapabilities>
        <Zone>
            <No>0</No>
        </Zone>
        <ShortcutControl>
            <Control>1</Control>
            <EntryList>
                <Shortcut>
                    <Category>1</Category>
                    <IconId>210</IconId>
                    <DispName>M-DAX</DispName>
                    <FuncName>M-DAX</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>2</Category>
                    <IconId>110</IconId>
                    <DispName>Cursor</DispName>
                    <FuncName>Cursor</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>2</Category>
                    <IconId>107</IconId>
                    <DispName>Favorite Station1</DispName>
                    <FuncName>Favorite Station1</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>2</Category>
                    <IconId>108</IconId>
                    <DispName>Favorite Station2</DispName>
                    <FuncName>Favorite Station2</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>2</Category>
                    <IconId>109</IconId>
                    <DispName>Favorite Station3</DispName>
                    <FuncName>Favorite Station3</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>1</Category>
                    <IconId>204</IconId>
                    <DispName>Sleep Timer</DispName>
                    <FuncName>SleepTimer</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>34</IconId>
                    <DispName>Favorites</DispName>
                    <FuncName>Favorites</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>26</IconId>
                    <DispName>Internet Radio</DispName>
                    <FuncName>Internet Radio</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>55</IconId>
                    <DispName>Spotify</DispName>
                    <FuncName>SpotifyConnect</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>30</IconId>
                    <DispName>Last.fm</DispName>
                    <FuncName>Last.fm</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>25</IconId>
                    <DispName>Media Server</DispName>
                    <FuncName>Media Server</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>29</IconId>
                    <DispName>Flickr</DispName>
                    <FuncName>Flickr</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>4</IconId>
                    <DispName>CBL/SAT</DispName>
                    <FuncName>CBL/SAT</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>2</IconId>
                    <DispName>DVD</DispName>
                    <FuncName>DVD</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>1</IconId>
                    <DispName>Blu-ray</DispName>
                    <FuncName>Blu-ray</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>8</IconId>
                    <DispName>GAME</DispName>
                    <FuncName>GAME</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>10</IconId>
                    <DispName>AUX</DispName>
                    <FuncName>AUX</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>46</IconId>
                    <DispName>MEDIA PLAYER</DispName>
                    <FuncName>Media Player</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>22</IconId>
                    <DispName>iPod/USB</DispName>
                    <FuncName>iPod/USB</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>17</IconId>
                    <DispName>CD</DispName>
                    <FuncName>CD</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>19</IconId>
                    <DispName>FM</DispName>
                    <FuncName>FM</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>3</IconId>
                    <DispName>TV AUDIO</DispName>
                    <FuncName>TV AUDIO</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>15</IconId>
                    <DispName>M-XPort</DispName>
                    <FuncName>M-XPort</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>5</Category>
                    <IconId>212</IconId>
                    <DispName>DIRECT</DispName>
                    <FuncName>DIRECT</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>5</Category>
                    <IconId>212</IconId>
                    <DispName>STEREO</DispName>
                    <FuncName>STEREO</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>5</Category>
                    <IconId>213</IconId>
                    <DispName>PURE DIRECT</DispName>
                    <FuncName>PURE DIRECT</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>5</Category>
                    <IconId>214</IconId>
                    <DispName>DOLBY DIGITAL</DispName>
                    <FuncName>DOLBY DIGITAL</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>5</Category>
                    <IconId>214</IconId>
                    <DispName>DTS SURROUND</DispName>
                    <FuncName>DTS SURROUND</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>5</Category>
                    <IconId>224</IconId>
                    <DispName>AUTO</DispName>
                    <FuncName>AUTO</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>5</Category>
                    <IconId>215</IconId>
                    <DispName>MULTI CH STEREO</DispName>
                    <FuncName>MULTI CH STEREO</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>5</Category>
                    <IconId>226</IconId>
                    <DispName>VIRTUAL</DispName>
                    <FuncName>VIRTUAL</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>5</Category>
                    <IconId>220</IconId>
                    <DispName>MOVIE</DispName>
                    <FuncName>MOVIE</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>5</Category>
                    <IconId>221</IconId>
                    <DispName>MUSIC</DispName>
                    <FuncName>MUSIC</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>5</Category>
                    <IconId>222</IconId>
                    <DispName>GAME</DispName>
                    <FuncName>GAME</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>5</Category>
                    <IconId>223</IconId>
                    <DispName>PURE</DispName>
                    <FuncName>PURE</FuncName>
                </Shortcut>
            </EntryList>
            <DefaultList>
                <Shortcut>
                    <No>1</No>
                    <Category>4</Category>
                    <FuncName>Internet Radio</FuncName>
                </Shortcut>
                <Shortcut>
                    <No>2</No>
                    <Category>4</Category>
                    <FuncName>iPod/USB</FuncName>
                </Shortcut>
                <Shortcut>
                    <No>3</No>
                    <Category>4</Category>
                    <FuncName>FM</FuncName>
                </Shortcut>
                <Shortcut>
                    <No>4</No>
                    <Category>4</Category>
                    <FuncName>Media Server</FuncName>
                </Shortcut>
                <Shortcut>
                    <No>5</No>
                    <Category>4</Category>
                    <FuncName>CBL/SAT</FuncName>
                </Shortcut>
                <Shortcut>
                    <No>6</No>
                    <Category>4</Category>
                    <FuncName>Blu-ray</FuncName>
                </Shortcut>
                <Shortcut>
                    <No>7</No>
                    <Category>4</Category>
                    <FuncName>Media Player</FuncName>
                </Shortcut>
                <Shortcut>
                    <No>8</No>
                    <Category>4</Category>
                    <FuncName>GAME</FuncName>
                </Shortcut>
            </DefaultList>
        </ShortcutControl>
        <Power>
            <Control>1</Control>
        </Power>
        <Volume>
            <Control>1</Control>
            <MaxValue>98.0</MaxValue>
            <StepValue>0.5</StepValue>
            <MaxVolumeList>
                <Param>
                    <Absolute>OFF</Absolute>
                    <Relative>OFF</Relative>
                    <Value>98.0</Value>
                </Param>
                <Param>
                    <Absolute>86.0</Absolute>
                    <Relative>+6.0dB</Relative>
                    <Value>86.0</Value>
                </Param>
                <Param>
                    <Absolute>83.0</Absolute>
                    <Relative>+3.0dB</Relative>
                    <Value>83.0</Value>
                </Param>
                <Param>
                    <Absolute>80.0</Absolute>
                    <Relative>0.0dB</Relative>
                    <Value>80.0</Value>
                </Param>
                <Param>
                    <Absolute>74.0</Absolute>
                    <Relative>-6.0dB</Relative>
                    <Value>74.0</Value>
                </Param>
                <Param>
                    <Absolute>68.0</Absolute>
                    <Relative>-12.0dB</Relative>
                    <Value>68.0</Value>
                </Param>
                <Param>
                    <Absolute>60.0</Absolute>
                    <Relative>-20.0dB</Relative>
                    <Value>60.0</Value>
                </Param>
                <Param>
                    <Absolute>50.0</Absolute>
                    <Relative>-30.0dB</Relative>
                    <Value>50.0</Value>
                </Param>
                <Param>
                    <Absolute>40.0</Absolute>
                    <Relative>-40.0dB</Relative>
                    <Value>40.0</Value>
                </Param>
            </MaxVolumeList>
            <DefaultMaxVolumeValue>-6.0dB</DefaultMaxVolumeValue>
            <Functions>
                <SetMaxVolume>1</SetMaxVolume>
            </Functions>
        </Volume>
        <Mute>
            <Control>1</Control>
        </Mute>
        <InputSource>
            <Control>1</Control>
            <List>
                <Source>
                    <IconId>34</IconId>
                    <FuncName>Favorites</FuncName>
                    <DefaultName>Favorites</DefaultName>
                    <SourcePath>root/NETWORK/Favorites</SourcePath>
                    <GroupNo>2</GroupNo>
                    <RelatedFunc></RelatedFunc>
                </Source>
                <Source>
                    <IconId>26</IconId>
                    <FuncName>Internet Radio</FuncName>
                    <DefaultName>Internet Radio</DefaultName>
                    <SourcePath>root/NETWORK/Internet Radio</SourcePath>
                    <GroupNo>2</GroupNo>
                    <RelatedFunc></RelatedFunc>
                </Source>
                <Source>
                    <IconId>55</IconId>
                    <FuncName>SpotifyConnect</FuncName>
                    <DefaultName>Spotify</DefaultName>
                    <SourcePath>root/NETWORK/SpotifyConnect</SourcePath>
                    <GroupNo>2</GroupNo>
                    <RelatedFunc></RelatedFunc>
                </Source>
                <Source>
                    <IconId>30</IconId>
                    <FuncName>Last.fm</FuncName>
                    <DefaultName>Last.fm</DefaultName>
                    <SourcePath>root/NETWORK/Last.fm</SourcePath>
                    <GroupNo>2</GroupNo>
                    <RelatedFunc></RelatedFunc>
                </Source>
                <Source>
                    <IconId>25</IconId>
                    <FuncName>Media Server</FuncName>
                    <DefaultName>Media Server</DefaultName>
                    <SourcePath>root/NETWORK/Media Server</SourcePath>
                    <GroupNo>2</GroupNo>
                    <RelatedFunc></RelatedFunc>
                </Source>
                <Source>
                    <IconId>29</IconId>
                    <FuncName>Flickr</FuncName>
                    <DefaultName>Flickr</DefaultName>
                    <SourcePath>root/NETWORK/Flickr</SourcePath>
                    <GroupNo>2</GroupNo>
                    <RelatedFunc></RelatedFunc>
                </Source>
                <Source>
                    <IconId>4</IconId>
                    <FuncName>CBL/SAT</FuncName>
                    <DefaultName>CBL/SAT</DefaultName>
                    <SourcePath>root/CBLSAT</SourcePath>
                    <GroupNo>3</GroupNo>
                    <RelatedFunc></RelatedFunc>
                </Source>
                <Source>
                    <IconId>2</IconId>
                    <FuncName>DVD</FuncName>
                    <DefaultName>DVD</DefaultName>
                    <SourcePath>root/DVD</SourcePath>
                    <GroupNo>3</GroupNo>
                    <RelatedFunc></RelatedFunc>
                </Source>
                <Source>
                    <IconId>1</IconId>
                    <FuncName>Blu-ray</FuncName>
                    <DefaultName>Blu-ray</DefaultName>
                    <SourcePath>root/Blu-ray</SourcePath>
                    <GroupNo>3</GroupNo>
                    <RelatedFunc>BdOperation</RelatedFunc>
                </Source>
                <Source>
                    <IconId>8</IconId>
                    <FuncName>GAME</FuncName>
                    <DefaultName>GAME</DefaultName>
                    <SourcePath>root/GAME</SourcePath>
                    <GroupNo>3</GroupNo>
                    <RelatedFunc></RelatedFunc>
                </Source>
                <Source>
                    <IconId>10</IconId>
                    <FuncName>AUX</FuncName>
                    <DefaultName>AUX</DefaultName>
                    <SourcePath>root/AUX</SourcePath>
                    <GroupNo>3</GroupNo>
                    <RelatedFunc></RelatedFunc>
                </Source>
                <Source>
                    <IconId>46</IconId>
                    <FuncName>Media Player</FuncName>
                    <DefaultName>  Media Player</DefaultName>
                    <SourcePath>root/Media Player</SourcePath>
                    <GroupNo>3</GroupNo>
                    <RelatedFunc></RelatedFunc>
                </Source>
                <Source>
                    <IconId>22</IconId>
                    <FuncName>iPod/USB</FuncName>
                    <DefaultName>iPod/USB</DefaultName>
                    <SourcePath>root/iPodUSB</SourcePath>
                    <GroupNo>3</GroupNo>
                    <RelatedFunc>iPod</RelatedFunc>
                </Source>
                <Source>
                    <IconId>17</IconId>
                    <FuncName>CD</FuncName>
                    <DefaultName>CD</DefaultName>
                    <SourcePath>root/CD</SourcePath>
                    <GroupNo>3</GroupNo>
                    <RelatedFunc>CdOperation</RelatedFunc>
                </Source>
                <Source>
                    <IconId>19</IconId>
                    <FuncName>FM</FuncName>
                    <DefaultName>FM</DefaultName>
                    <SourcePath>root/FM</SourcePath>
                    <GroupNo>3</GroupNo>
                    <RelatedFunc>TunerOperation</RelatedFunc>
                </Source>
                <Source>
                    <IconId>23</IconId>
                    <FuncName>NETWORK</FuncName>
                    <DefaultName>NETWORK</DefaultName>
                    <SourcePath>root/NETWORK</SourcePath>
                    <GroupNo>3</GroupNo>
                    <RelatedFunc>NetUsb</RelatedFunc>
                </Source>
                <Source>
                    <IconId>3</IconId>
                    <FuncName>TV AUDIO</FuncName>
                    <DefaultName>TV AUDIO</DefaultName>
                    <SourcePath>root/TV AUDIO</SourcePath>
                    <GroupNo>3</GroupNo>
                    <RelatedFunc></RelatedFunc>
                </Source>
                <Source>
                    <IconId>15</IconId>
                    <FuncName>M-XPort</FuncName>
                    <DefaultName>M-XPort</DefaultName>
                    <SourcePath>root/M-XPort</SourcePath>
                    <GroupNo>3</GroupNo>
                    <RelatedFunc></RelatedFunc>
                </Source>
            </List>
            <Functions>
                <SourceSelect>1</SourceSelect>
                <GetRenameSource>1</GetRenameSource>
                <GetDeleteSource>1</GetDeleteSource>
            </Functions>
        </InputSource>
        <SurroundMode>
            <Control>1</Control>
            <DispName>Sound Mode</DispName>
            <GroupList>
                <Group>
                    <GroupName>DIRECT/STEREO</GroupName>
                </Group>
                <Group>
                    <GroupName>PURE DIRECT</GroupName>
                </Group>
                <Group>
                    <GroupName>Standard</GroupName>
                </Group>
                <Group>
                    <GroupName>AUTO</GroupName>
                </Group>
                <Group>
                    <GroupName>DSP Simulation</GroupName>
                </Group>
            </GroupList>
            <List>
                <Mode>
                    <IconId>212</IconId>
                    <GroupName>DIRECT/STEREO</GroupName>
                    <Name>DIRECT</Name>
                </Mode>
                <Mode>
                    <IconId>212</IconId>
                    <GroupName>DIRECT/STEREO</GroupName>
                    <Name>STEREO</Name>
                </Mode>
                <Mode>
                    <IconId>213</IconId>
                    <GroupName>PURE DIRECT</GroupName>
                    <Name>PURE DIRECT</Name>
                </Mode>
                <Mode>
                    <IconId>214</IconId>
                    <GroupName>Standard</GroupName>
                    <Name>DOLBY DIGITAL</Name>
                </Mode>
                <Mode>
                    <IconId>214</IconId>
                    <GroupName>Standard</GroupName>
                    <Name>DTS SURROUND</Name>
                </Mode>
                <Mode>
                    <IconId>224</IconId>
                    <GroupName>AUTO</GroupName>
                    <Name>AUTO</Name>
                </Mode>
                <Mode>
                    <IconId>215</IconId>
                    <GroupName>DSP Simulation</GroupName>
                    <Name>MULTI CH STEREO</Name>
                </Mode>
                <Mode>
                    <IconId>226</IconId>
                    <GroupName>DSP Simulation</GroupName>
                    <Name>VIRTUAL</Name>
                </Mode>
            </List>
            <Functions>
                <ChangeSurroundMode>1</ChangeSurroundMode>
            </Functions>
            <ShortcutControl>1</ShortcutControl>
        </SurroundMode>
        <Setup>
            <Restorer>
                <Control>1</Control>
                <DispName>M-DAX</DispName>
                <FuncName>M-DAX</FuncName>
                <List>
                    <Mode>
                        <IconId>217</IconId>
                        <Name>High</Name>
                        <No>MODE1</No>
                    </Mode>
                    <Mode>
                        <IconId>218</IconId>
                        <Name>Middle</Name>
                        <No>MODE2</No>
                    </Mode>
                    <Mode>
                        <IconId>219</IconId>
                        <Name>Low</Name>
                        <No>MODE3</No>
                    </Mode>
                    <Mode>
                        <IconId>216</IconId>
                        <Name>OFF</Name>
                        <No>OFF</No>
                    </Mode>
                </List>
                <Functions>
                    <ChangeRestorerMode>1</ChangeRestorerMode>
                </Functions>
                <ShortcutControl>1</ShortcutControl>
            </Restorer>
            <ToneControl>
                <Control>0</Control>
                <FuncName>ToneControl</FuncName>
            </ToneControl>
        </Setup>
        <Operation>
            <Cursor>
                <Control>1</Control>
                <FuncName>Cursor</FuncName>
                <CursorType>1</CursorType>
                <ShortcutControl>1</ShortcutControl>
            </Cursor>
            <TunerOperation>
                <Control>1</Control>
                <TunerType>0</TunerType>
                <Name>FM</Name>
                <MaxPresets>56</MaxPresets>
                <BandList>
                    <Band>
                        <Name>FM</Name>
                    </Band>
                </BandList>
                <Functions>
                    <SelectBand>0</SelectBand>
                    <GetPresetList>1</GetPresetList>
                    <PresetCall>1</PresetCall>
                    <PresetUpDown>1</PresetUpDown>
                    <TuneUpDown>1</TuneUpDown>
                    <FreqDirect>1</FreqDirect>
                </Functions>
                <ShortcutControl>1</ShortcutControl>
            </TunerOperation>
            <BdOperation>
                <Control>1</Control>
                <DispName>Blu-ray</DispName>
                <Functions>
                    <OpeFuncSet>1</OpeFuncSet>
                </Functions>
                <ShortcutControl>1</ShortcutControl>
            </BdOperation>
            <CdOperation>
                <Control>1</Control>
                <DispName>CD</DispName>
                <Functions>
                    <OpeFuncSet>0</OpeFuncSet>
                </Functions>
                <ShortcutControl>1</ShortcutControl>
            </CdOperation>
            <DockOperation>
                <Control>0</Control>
                <DispName>Dock</DispName>
                <Functions>
                    <OpeFuncSet>0</OpeFuncSet>
                </Functions>
                <ShortcutControl>0</ShortcutControl>
            </DockOperation>
            <PartyZone>
                <Capability>0</Capability>
                <ShortcutControl>0</ShortcutControl>
            </PartyZone>
        </Operation>
        <NetUsb>
            <Control>1</Control>
            <Favorites>
                <Control>1</Control>
                <FuncName>Favorites</FuncName>
                <IconId>34</IconId>
                <SourcePath>root/NETWORK/Favorites</SourcePath>
                <ControlMethod>1</ControlMethod>
                <MaxFavorites>100</MaxFavorites>
                <Functions>
                    <DeleteSource>1</DeleteSource>
                    <BrowseScroll>1</BrowseScroll>
                    <GoToPV>1</GoToPV>
                </Functions>
                <ShortcutControl>1</ShortcutControl>
            </Favorites>
            <InternetRadio>
                <Control>1</Control>
                <FuncName>Internet Radio</FuncName>
                <IconId>26</IconId>
                <SourcePath>root/NETWORK/Internet Radio</SourcePath>
                <ControlMethod>1</ControlMethod>
                <MaxPresets>60</MaxPresets>
                <Functions>
                    <AddToPreset>0</AddToPreset>
                    <PresetCall>0</PresetCall>
                    <AddToFavorite>1</AddToFavorite>
                    <DeleteSource>1</DeleteSource>
                    <BrowseScroll>0</BrowseScroll>
                    <PbFuncSet>0000100</PbFuncSet>
                    <PbModeSet>0</PbModeSet>
                </Functions>
                <ShortcutControl>1</ShortcutControl>
            </InternetRadio>
            <Lastfm>
                <Control>1</Control>
                <FuncName>Last.fm</FuncName>
                <IconId>30</IconId>
                <SourcePath>root/NETWORK/Last.fm</SourcePath>
                <ControlMethod>1</ControlMethod>
                <Functions>
                    <AddToFavorite>0</AddToFavorite>
                    <DeleteSource>1</DeleteSource>
                    <BrowseScroll>1</BrowseScroll>
                    <PbFuncSet>0100100</PbFuncSet>
                    <PbModeSet>0</PbModeSet>
                    <SearchType>1</SearchType>
                    <GoToPV>1</GoToPV>
                </Functions>
                <ShortcutControl>1</ShortcutControl>
            </Lastfm>
            <SpotifyConnect>
                <Control>1</Control>
                <FuncName>SpotifyConnect</FuncName>
                <IconId>55</IconId>
                <SourcePath>root/NETWORK/SpotifyConnect</SourcePath>
                <ControlMethod>3</ControlMethod>
                <ShortcutControl>1</ShortcutControl>
                <Functions></Functions>
            </SpotifyConnect>
            <MediaServer>
                <Control>1</Control>
                <FuncName>Media Server</FuncName>
                <IconId>25</IconId>
                <SourcePath>root/NETWORK/Media Server</SourcePath>
                <ControlMethod>2</ControlMethod>
                <Functions>
                    <AddToFavorite>1</AddToFavorite>
                    <GaplessPb>1</GaplessPb>
                    <DeleteSource>1</DeleteSource>
                    <BrowseScroll>0</BrowseScroll>
                    <PbFuncSet>1111100</PbFuncSet>
                    <PbModeSet>1</PbModeSet>
                </Functions>
                <ShortcutControl>1</ShortcutControl>
            </MediaServer>
            <Flickr>
                <Control>1</Control>
                <FuncName>Flickr</FuncName>
                <IconId>29</IconId>
                <SourcePath>root/NETWORK/Flickr</SourcePath>
                <ControlMethod>1</ControlMethod>
                <Functions>
                    <AddToFavorite>0</AddToFavorite>
                    <DeleteSource>1</DeleteSource>
                    <BrowseScroll>1</BrowseScroll>
                    <PbFuncSet>1111100</PbFuncSet>
                    <PbModeSet>0</PbModeSet>
                    <PicPlayView>1</PicPlayView>
                </Functions>
                <ShortcutControl>1</ShortcutControl>
            </Flickr>
            <iPod>
                <Control>1</Control>
                <FuncName>iPod/USB</FuncName>
                <IconId>22</IconId>
                <SourcePath>root/iPodUsb</SourcePath>
                <ControlMethod>1</ControlMethod>
                <Functions>
                    <AddToFavorite>0</AddToFavorite>
                    <DeleteSource>1</DeleteSource>
                    <BrowseScroll>1</BrowseScroll>
                    <PbFuncSet>1111100</PbFuncSet>
                    <PbModeSet>1</PbModeSet>
                    <PicPlayView>1</PicPlayView>
                    <GoToPV>1</GoToPV>
                    <TextSearch>1</TextSearch>
                </Functions>
                <ShortcutControl>1</ShortcutControl>
            </iPod>
        </NetUsb>
        <iPodPlayer>
            <Control>1</Control>
            <IconId>28</IconId>
            <SourcePath>root/iPodPlayer</SourcePath>
            <ControlMethod>1</ControlMethod>
            <Functions>
                <PbFuncSet>1111100</PbFuncSet>
                <PbModeSet>1</PbModeSet>
            </Functions>
            <ShortcutControl>1</ShortcutControl>
        </iPodPlayer>
    </DeviceZoneCapabilities>
    <DeviceZoneCapabilities>
        <Zone>
            <No>1</No>
        </Zone>
        <ShortcutControl>
            <Control>1</Control>
            <EntryList>
                <Shortcut>
                    <Category>1</Category>
                    <IconId>210</IconId>
                    <DispName>M-DAX</DispName>
                    <FuncName>M-DAX</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>2</Category>
                    <IconId>110</IconId>
                    <DispName>Cursor</DispName>
                    <FuncName>Cursor</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>2</Category>
                    <IconId>107</IconId>
                    <DispName>Favorite Station1</DispName>
                    <FuncName>Favorite Station1</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>2</Category>
                    <IconId>108</IconId>
                    <DispName>Favorite Station2</DispName>
                    <FuncName>Favorite Station2</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>2</Category>
                    <IconId>109</IconId>
                    <DispName>Favorite Station3</DispName>
                    <FuncName>Favorite Station3</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>1</Category>
                    <IconId>204</IconId>
                    <DispName>Sleep Timer</DispName>
                    <FuncName>SleepTimer</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>34</IconId>
                    <DispName>Favorites</DispName>
                    <FuncName>Favorites</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>26</IconId>
                    <DispName>Internet Radio</DispName>
                    <FuncName>Internet Radio</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>55</IconId>
                    <DispName>Spotify</DispName>
                    <FuncName>SpotifyConnect</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>30</IconId>
                    <DispName>Last.fm</DispName>
                    <FuncName>Last.fm</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>25</IconId>
                    <DispName>Media Server</DispName>
                    <FuncName>Media Server</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>29</IconId>
                    <DispName>Flickr</DispName>
                    <FuncName>Flickr</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>4</IconId>
                    <DispName>CBL/SAT</DispName>
                    <FuncName>CBL/SAT</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>2</IconId>
                    <DispName>DVD</DispName>
                    <FuncName>DVD</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>1</IconId>
                    <DispName>Blu-ray</DispName>
                    <FuncName>Blu-ray</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>8</IconId>
                    <DispName>GAME</DispName>
                    <FuncName>GAME</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>10</IconId>
                    <DispName>AUX</DispName>
                    <FuncName>AUX</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>46</IconId>
                    <DispName>MEDIA PLAYER</DispName>
                    <FuncName>Media Player</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>22</IconId>
                    <DispName>iPod/USB</DispName>
                    <FuncName>iPod/USB</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>17</IconId>
                    <DispName>CD</DispName>
                    <FuncName>CD</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>19</IconId>
                    <DispName>FM</DispName>
                    <FuncName>FM</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>3</IconId>
                    <DispName>TV AUDIO</DispName>
                    <FuncName>TV AUDIO</FuncName>
                </Shortcut>
                <Shortcut>
                    <Category>4</Category>
                    <IconId>15</IconId>
                    <DispName>M-XPort</DispName>
                    <FuncName>M-XPort</FuncName>
                </Shortcut>
            </EntryList>
            <DefaultList>
                <Shortcut>
                    <No>1</No>
                    <Category>4</Category>
                    <FuncName>Internet Radio</FuncName>
                </Shortcut>
                <Shortcut>
                    <No>2</No>
                    <Category>4</Category>
                    <FuncName>iPod/USB</FuncName>
                </Shortcut>
                <Shortcut>
                    <No>3</No>
                    <Category>4</Category>
                    <FuncName>FM</FuncName>
                </Shortcut>
                <Shortcut>
                    <No>4</No>
                    <Category>4</Category>
                    <FuncName>Media Server</FuncName>
                </Shortcut>
                <Shortcut>
                    <No>5</No>
                    <Category>4</Category>
                    <FuncName>CBL/SAT</FuncName>
                </Shortcut>
                <Shortcut>
                    <No>6</No>
                    <Category>4</Category>
                    <FuncName>Blu-ray</FuncName>
                </Shortcut>
                <Shortcut>
                    <No>7</No>
                    <Category>4</Category>
                    <FuncName>Media Player</FuncName>
                </Shortcut>
                <Shortcut>
                    <No>8</No>
                    <Category>4</Category>
                    <FuncName>GAME</FuncName>
                </Shortcut>
            </DefaultList>
        </ShortcutControl>
        <Power>
            <Control>1</Control>
        </Power>
        <Volume>
            <Control>1</Control>
            <MaxValue>98.0</MaxValue>
            <StepValue>0.5</StepValue>
            <MaxVolumeList>
                <Param>
                    <Absolute>OFF</Absolute>
                    <Relative>OFF</Relative>
                    <Value>98.0</Value>
                </Param>
                <Param>
                    <Absolute>86.0</Absolute>
                    <Relative>+6.0dB</Relative>
                    <Value>86.0</Value>
                </Param>
                <Param>
                    <Absolute>83.0</Absolute>
                    <Relative>+3.0dB</Relative>
                    <Value>83.0</Value>
                </Param>
                <Param>
                    <Absolute>80.0</Absolute>
                    <Relative>0.0dB</Relative>
                    <Value>80.0</Value>
                </Param>
                <Param>
                    <Absolute>74.0</Absolute>
                    <Relative>-6.0dB</Relative>
                    <Value>74.0</Value>
                </Param>
                <Param>
                    <Absolute>68.0</Absolute>
                    <Relative>-12.0dB</Relative>
                    <Value>68.0</Value>
                </Param>
                <Param>
                    <Absolute>60.0</Absolute>
                    <Relative>-20.0dB</Relative>
                    <Value>60.0</Value>
                </Param>
                <Param>
                    <Absolute>50.0</Absolute>
                    <Relative>-30.0dB</Relative>
                    <Value>50.0</Value>
                </Param>
                <Param>
                    <Absolute>40.0</Absolute>
                    <Relative>-40.0dB</Relative>
                    <Value>40.0</Value>
                </Param>
            </MaxVolumeList>
            <DefaultMaxVolumeValue>-6.0dB</DefaultMaxVolumeValue>
            <Functions>
                <SetMaxVolume>1</SetMaxVolume>
            </Functions>
        </Volume>
        <Mute>
            <Control>1</Control>
        </Mute>
        <InputSource>
            <Control>1</Control>
            <List>
                <Source>
                    <IconId>34</IconId>
                    <FuncName>Favorites</FuncName>
                    <DefaultName>Favorites</DefaultName>
                    <SourcePath>root/NETWORK/Favorites</SourcePath>
                    <GroupNo>2</GroupNo>
                    <RelatedFunc></RelatedFunc>
                </Source>
                <Source>
                    <IconId>26</IconId>
                    <FuncName>Internet Radio</FuncName>
                    <DefaultName>Internet Radio</DefaultName>
                    <SourcePath>root/NETWORK/Internet Radio</SourcePath>
                    <GroupNo>2</GroupNo>
                    <RelatedFunc></RelatedFunc>
                </Source>
                <Source>
                    <IconId>30</IconId>
                    <FuncName>Last.fm</FuncName>
                    <DefaultName>Last.fm</DefaultName>
                    <SourcePath>root/NETWORK/Last.fm</SourcePath>
                    <GroupNo>2</GroupNo>
                    <RelatedFunc></RelatedFunc>
                </Source>
                <Source>
                    <IconId>25</IconId>
                    <FuncName>Media Server</FuncName>
                    <DefaultName>Media Server</DefaultName>
                    <SourcePath>root/NETWORK/Media Server</SourcePath>
                    <GroupNo>2</GroupNo>
                    <RelatedFunc></RelatedFunc>
                </Source>
                <Source>
                    <IconId>29</IconId>
                    <FuncName>Flickr</FuncName>
                    <DefaultName>Flickr</DefaultName>
                    <SourcePath>root/NETWORK/Flickr</SourcePath>
                    <GroupNo>2</GroupNo>
                    <RelatedFunc></RelatedFunc>
                </Source>
                <Source>
                    <IconId>0</IconId>
                    <FuncName>SOURCE</FuncName>
                    <DefaultName>SOURCE</DefaultName>
                    <SourcePath>root/SOURCE</SourcePath>
                    <GroupNo>3</GroupNo>
                    <RelatedFunc></RelatedFunc>
                </Source>
                <Source>
                    <IconId>4</IconId>
                    <FuncName>CBL/SAT</FuncName>
                    <DefaultName>CBL/SAT</DefaultName>
                    <SourcePath>root/CBLSAT</SourcePath>
                    <GroupNo>3</GroupNo>
                    <RelatedFunc></RelatedFunc>
                </Source>
                <Source>
                    <IconId>2</IconId>
                    <FuncName>DVD</FuncName>
                    <DefaultName>DVD</DefaultName>
                    <SourcePath>root/DVD</SourcePath>
                    <GroupNo>3</GroupNo>
                    <RelatedFunc></RelatedFunc>
                </Source>
                <Source>
                    <IconId>1</IconId>
                    <FuncName>Blu-ray</FuncName>
                    <DefaultName>Blu-ray</DefaultName>
                    <SourcePath>root/Blu-ray</SourcePath>
                    <GroupNo>3</GroupNo>
                    <RelatedFunc>BdOperation</RelatedFunc>
                </Source>
                <Source>
                    <IconId>8</IconId>
                    <FuncName>GAME</FuncName>
                    <DefaultName>GAME</DefaultName>
                    <SourcePath>root/GAME</SourcePath>
                    <GroupNo>3</GroupNo>
                    <RelatedFunc></RelatedFunc>
                </Source>
                <Source>
                    <IconId>10</IconId>
                    <FuncName>AUX</FuncName>
                    <DefaultName>AUX</DefaultName>
                    <SourcePath>root/AUX</SourcePath>
                    <GroupNo>3</GroupNo>
                    <RelatedFunc></RelatedFunc>
                </Source>
                <Source>
                    <IconId>46</IconId>
                    <FuncName>Media Player</FuncName>
                    <DefaultName>  Media Player</DefaultName>
                    <SourcePath>root/Media Player</SourcePath>
                    <GroupNo>3</GroupNo>
                    <RelatedFunc></RelatedFunc>
                </Source>
                <Source>
                    <IconId>22</IconId>
                    <FuncName>iPod/USB</FuncName>
                    <DefaultName>iPod/USB</DefaultName>
                    <SourcePath>root/iPodUSB</SourcePath>
                    <GroupNo>3</GroupNo>
                    <RelatedFunc>iPod</RelatedFunc>
                </Source>
                <Source>
                    <IconId>17</IconId>
                    <FuncName>CD</FuncName>
                    <DefaultName>CD</DefaultName>
                    <SourcePath>root/CD</SourcePath>
                    <GroupNo>3</GroupNo>
                    <RelatedFunc>CdOperation</RelatedFunc>
                </Source>
                <Source>
                    <IconId>19</IconId>
                    <FuncName>FM</FuncName>
                    <DefaultName>FM</DefaultName>
                    <SourcePath>root/FM</SourcePath>
                    <GroupNo>3</GroupNo>
                    <RelatedFunc>TunerOperation</RelatedFunc>
                </Source>
                <Source>
                    <IconId>23</IconId>
                    <FuncName>NETWORK</FuncName>
                    <DefaultName>NETWORK</DefaultName>
                    <SourcePath>root/NETWORK</SourcePath>
                    <GroupNo>3</GroupNo>
                    <RelatedFunc>NetUsb</RelatedFunc>
                </Source>
                <Source>
                    <IconId>3</IconId>
                    <FuncName>TV AUDIO</FuncName>
                    <DefaultName>TV AUDIO</DefaultName>
                    <SourcePath>root/TV AUDIO</SourcePath>
                    <GroupNo>3</GroupNo>
                    <RelatedFunc></RelatedFunc>
                </Source>
                <Source>
                    <IconId>15</IconId>
                    <FuncName>M-XPort</FuncName>
                    <DefaultName>M-XPort</DefaultName>
                    <SourcePath>root/M-XPort</SourcePath>
                    <GroupNo>3</GroupNo>
                    <RelatedFunc></RelatedFunc>
                </Source>
            </List>
            <Functions>
                <SourceSelect>1</SourceSelect>
                <GetRenameSource>1</GetRenameSource>
                <GetDeleteSource>1</GetDeleteSource>
            </Functions>
        </InputSource>
        <SurroundMode>
            <Control>0</Control>
        </SurroundMode>
        <Setup>
            <Restorer>
                <Control>0</Control>
                <DispName>M-DAX</DispName>
                <FuncName>M-DAX</FuncName>
                <List>
                    <Mode>
                        <IconId>217</IconId>
                        <Name>High</Name>
                        <No>MODE1</No>
                    </Mode>
                    <Mode>
                        <IconId>218</IconId>
                        <Name>Middle</Name>
                        <No>MODE2</No>
                    </Mode>
                    <Mode>
                        <IconId>219</IconId>
                        <Name>Low</Name>
                        <No>MODE3</No>
                    </Mode>
                    <Mode>
                        <IconId>216</IconId>
                        <Name>OFF</Name>
                        <No>OFF</No>
                    </Mode>
                </List>
                <Functions>
                    <ChangeRestorerMode>1</ChangeRestorerMode>
                </Functions>
                <ShortcutControl>1</ShortcutControl>
            </Restorer>
            <ToneControl>
                <Control>0</Control>
                <FuncName>ToneControl</FuncName>
            </ToneControl>
        </Setup>
        <Operation>
            <Cursor>
                <Control>1</Control>
                <FuncName>Cursor</FuncName>
                <CursorType>1</CursorType>
                <ShortcutControl>1</ShortcutControl>
            </Cursor>
            <TunerOperation>
                <Control>1</Control>
                <TunerType>0</TunerType>
                <Name>FM</Name>
                <MaxPresets>56</MaxPresets>
                <BandList>
                    <Band>
                        <Name>FM</Name>
                    </Band>
                </BandList>
                <Functions>
                    <SelectBand>0</SelectBand>
                    <GetPresetList>1</GetPresetList>
                    <PresetCall>1</PresetCall>
                    <PresetUpDown>1</PresetUpDown>
                    <TuneUpDown>1</TuneUpDown>
                    <FreqDirect>1</FreqDirect>
                </Functions>
                <ShortcutControl>1</ShortcutControl>
            </TunerOperation>
            <BdOperation>
                <Control>1</Control>
                <DispName>Blu-ray</DispName>
                <Functions>
                    <OpeFuncSet>1</OpeFuncSet>
                </Functions>
                <ShortcutControl>1</ShortcutControl>
            </BdOperation>
            <CdOperation>
                <Control>1</Control>
                <DispName>CD</DispName>
                <Functions>
                    <OpeFuncSet>0</OpeFuncSet>
                </Functions>
                <ShortcutControl>1</ShortcutControl>
            </CdOperation>
            <DockOperation>
                <Control>0</Control>
                <DispName>Dock</DispName>
                <Functions>
                    <OpeFuncSet>0</OpeFuncSet>
                </Functions>
                <ShortcutControl>0</ShortcutControl>
            </DockOperation>
            <PartyZone>
                <Capability>0</Capability>
                <ShortcutControl>0</ShortcutControl>
            </PartyZone>
        </Operation>
        <NetUsb>
            <Control>1</Control>
            <Favorites>
                <Control>1</Control>
                <FuncName>Favorites</FuncName>
                <IconId>34</IconId>
                <SourcePath>root/NETWORK/Favorites</SourcePath>
                <ControlMethod>1</ControlMethod>
                <MaxFavorites>100</MaxFavorites>
                <Functions>
                    <DeleteSource>1</DeleteSource>
                    <BrowseScroll>1</BrowseScroll>
                    <GoToPV>1</GoToPV>
                </Functions>
                <ShortcutControl>1</ShortcutControl>
            </Favorites>
            <InternetRadio>
                <Control>1</Control>
                <FuncName>Internet Radio</FuncName>
                <IconId>26</IconId>
                <SourcePath>root/NETWORK/Internet Radio</SourcePath>
                <ControlMethod>1</ControlMethod>
                <MaxPresets>60</MaxPresets>
                <Functions>
                    <AddToPreset>0</AddToPreset>
                    <PresetCall>0</PresetCall>
                    <AddToFavorite>1</AddToFavorite>
                    <DeleteSource>1</DeleteSource>
                    <BrowseScroll>0</BrowseScroll>
                    <PbFuncSet>0000100</PbFuncSet>
                    <PbModeSet>0</PbModeSet>
                </Functions>
                <ShortcutControl>1</ShortcutControl>
            </InternetRadio>
            <Lastfm>
                <Control>1</Control>
                <FuncName>Last.fm</FuncName>
                <IconId>30</IconId>
                <SourcePath>root/NETWORK/Last.fm</SourcePath>
                <ControlMethod>1</ControlMethod>
                <Functions>
                    <AddToFavorite>0</AddToFavorite>
                    <DeleteSource>1</DeleteSource>
                    <BrowseScroll>1</BrowseScroll>
                    <PbFuncSet>0100100</PbFuncSet>
                    <PbModeSet>0</PbModeSet>
                    <SearchType>1</SearchType>
                    <GoToPV>1</GoToPV>
                </Functions>
                <ShortcutControl>1</ShortcutControl>
            </Lastfm>
            <SpotifyConnect>
                <Control>1</Control>
                <FuncName>SpotifyConnect</FuncName>
                <IconId>55</IconId>
                <SourcePath>root/NETWORK/SpotifyConnect</SourcePath>
                <ControlMethod>3</ControlMethod>
                <ShortcutControl>1</ShortcutControl>
                <Functions></Functions>
            </SpotifyConnect>
            <MediaServer>
                <Control>1</Control>
                <FuncName>Media Server</FuncName>
                <IconId>25</IconId>
                <SourcePath>root/NETWORK/Media Server</SourcePath>
                <ControlMethod>2</ControlMethod>
                <Functions>
                    <AddToFavorite>1</AddToFavorite>
                    <GaplessPb>1</GaplessPb>
                    <DeleteSource>1</DeleteSource>
                    <BrowseScroll>0</BrowseScroll>
                    <PbFuncSet>1111100</PbFuncSet>
                    <PbModeSet>1</PbModeSet>
                </Functions>
                <ShortcutControl>1</ShortcutControl>
            </MediaServer>
            <Flickr>
                <Control>1</Control>
                <FuncName>Flickr</FuncName>
                <IconId>29</IconId>
                <SourcePath>root/NETWORK/Flickr</SourcePath>
                <ControlMethod>1</ControlMethod>
                <Functions>
                    <AddToFavorite>0</AddToFavorite>
                    <DeleteSource>1</DeleteSource>
                    <BrowseScroll>1</BrowseScroll>
                    <PbFuncSet>1111100</PbFuncSet>
                    <PbModeSet>0</PbModeSet>
                    <PicPlayView>1</PicPlayView>
                </Functions>
                <ShortcutControl>1</ShortcutControl>
            </Flickr>
            <iPod>
                <Control>1</Control>
                <FuncName>iPod/USB</FuncName>
                <IconId>22</IconId>
                <SourcePath>root/iPodUsb</SourcePath>
                <ControlMethod>1</ControlMethod>
                <Functions>
                    <AddToFavorite>0</AddToFavorite>
                    <DeleteSource>1</DeleteSource>
                    <BrowseScroll>1</BrowseScroll>
                    <PbFuncSet>1111100</PbFuncSet>
                    <PbModeSet>1</PbModeSet>
                    <PicPlayView>1</PicPlayView>
                    <GoToPV>1</GoToPV>
                    <TextSearch>1</TextSearch>
                </Functions>
                <ShortcutControl>1</ShortcutControl>
            </iPod>
        </NetUsb>
    </DeviceZoneCapabilities>
</Device_Info>
JPHutchins commented 3 years ago

@kesteraernoudt Great! I am coincidentally working on a generalization of AV Receiver interfaces that will use data like this to determine capabilities. Here we see no support for "Audyssey" and a differing API version, 0210, vs mine, 0301.

@scarface-4711 It seems like this receiver is being misclassified as supporting all of the features of AVR-X-2016.

Is it possible that we can use the API versions to classify them? It seems that 0210 supports AppCommand.xml and that 0301 supports the newer AppCommand0300.xml commands.

ol-iver commented 3 years ago

@JPHutchins I suggest a quick fix which prevents the update from crashing and your nicer version later. I'll do the first 😄

JPHutchins commented 3 years ago

@scarface-4711

if audyssey_params is None:
    return False

At line 102 of audyssey.py should do it but I wouldn't second guess wrapping self._audyssey.update() in a try/catch lol

kesteraernoudt commented 3 years ago

That works as a quick fix for me! Thanks!

ol-iver commented 3 years ago

done @kesteraernoudt could you test please?

ol-iver commented 3 years ago

Related Home Assistant PR

kesteraernoudt commented 3 years ago

@scarface-4711 tested this latest version and it works fine for my marantz! Thanks!

ol-iver commented 3 years ago

Glad to hear that 😄