From 65e03b1a23408d67d78cb2b2688e91bb19307944 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 23 Mar 2020 00:58:45 +0100 Subject: [PATCH] Additional tests / push to version 0.8.1 --- .travis.yml | 2 - HELP.md | 2 +- README.md | 2 +- README.rst | 2 +- denonavr/__init__.py | 2 +- denonavr/denonavr.py | 31 +- setup.py | 5 +- test-requirements.txt | 2 +- tests/test_denonavr.py | 119 +- tests/xml/AVC-8500H-AppCommand-8080.xml | 217 ++ tests/xml/AVC-8500H-Deviceinfo-8080.xml | 3428 +++++++++++++++++++++++ tests/xml/NR1609-AppCommand-8080.xml | 160 ++ tests/xml/NR1609-Deviceinfo-8080.xml | 2697 ++++++++++++++++++ tox.ini | 2 +- 14 files changed, 6606 insertions(+), 65 deletions(-) create mode 100644 tests/xml/AVC-8500H-AppCommand-8080.xml create mode 100644 tests/xml/AVC-8500H-Deviceinfo-8080.xml create mode 100644 tests/xml/NR1609-AppCommand-8080.xml create mode 100644 tests/xml/NR1609-Deviceinfo-8080.xml diff --git a/.travis.yml b/.travis.yml index 3e45cc8..44f18d6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,8 +2,6 @@ language: python matrix: fast_finish: true include: - - python: "3.4" - env: TOXENV=py34 - python: "3.5" env: TOXENV=py35 - python: "3.6" diff --git a/HELP.md b/HELP.md index 306855a..b5fcea1 100644 --- a/HELP.md +++ b/HELP.md @@ -29,7 +29,7 @@ DATA __title__ = 'denonavr' VERSION - 0.8.0 + 0.8.1 ==================================================================================== diff --git a/README.md b/README.md index 41de040..d362b17 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # denonavr [![Build Status](https://travis-ci.org/scarface-4711/denonavr.svg?branch=master)](https://travis-ci.org/scarface-4711/denonavr) -Automation Library for Denon AVR receivers - current version 0.8.0 +Automation Library for Denon AVR receivers - current version 0.8.1 ## Installation diff --git a/README.rst b/README.rst index 9a85833..9238274 100644 --- a/README.rst +++ b/README.rst @@ -3,7 +3,7 @@ denonavr |Build Status| -Automation Library for Denon AVR receivers - current version 0.8.0 +Automation Library for Denon AVR receivers - current version 0.8.1 Installation ------------ diff --git a/denonavr/__init__.py b/denonavr/__init__.py index 553c2a7..f86b7fa 100644 --- a/denonavr/__init__.py +++ b/denonavr/__init__.py @@ -17,7 +17,7 @@ logging.getLogger(__name__).addHandler(logging.NullHandler()) __title__ = "denonavr" -__version__ = "0.8.0" +__version__ = "0.8.1" def discover(): diff --git a/denonavr/denonavr.py b/denonavr/denonavr.py index eede10e..f8dd895 100644 --- a/denonavr/denonavr.py +++ b/denonavr/denonavr.py @@ -356,15 +356,16 @@ def exec_appcommand_post(self, attribute_list): # Buffered XML not needed anymore: close body.close() - try: - # Return XML ElementTree - root = ET.fromstring(res) - except (ET.ParseError, TypeError): - _LOGGER.error( - "End point %s on host %s returned malformed XML.", - self._urls.appcommand, self._host) - else: - return root + if res is not None: + try: + # Return XML ElementTree + root = ET.fromstring(res) + except (ET.ParseError, TypeError): + _LOGGER.error( + "End point %s on host %s returned malformed XML.", + self._urls.appcommand, self._host) + else: + return root def get_status_xml(self, command, suppress_errors=False): """Get status XML via HTTP and return it as XML ElementTree.""" @@ -417,7 +418,6 @@ def send_post_command(self, command, body): _LOGGER.error(( "Host %s returned HTTP status code %s to POST command at " "end point %s"), self._host, res.status_code, command) - return False def create_zones(self, add_zones): """Create instances of additional zones for the receiver.""" @@ -1036,8 +1036,12 @@ def _get_receiver_sources(self): self._favorite_func_list.append(func_name) receiver_sources[func_name] = child.find("Name").text for xml_zonecapa in root.findall("DeviceZoneCapabilities"): - # Currently only Main Zone (No=0) supported - if xml_zonecapa.find("./Zone/No").text == "0": + zone_no = "0" + if self._zone == "Zone2": + zone_no = "1" + elif self._zone == "Zone3": + zone_no = "2" + if xml_zonecapa.find("./Zone/No").text == zone_no: # Get list of all input sources of receiver xml_list = xml_zonecapa.find("./InputSource/List") for xml_source in xml_list.findall("Source"): @@ -1046,6 +1050,9 @@ def _get_receiver_sources(self): "FuncName").text] = xml_source.find( "DefaultName").text + # Invalid source "SOURCE" needs to be deleted + receiver_sources.pop("SOURCE", None) + return receiver_sources def _get_own_zone(self): diff --git a/setup.py b/setup.py index ece1523..304bc71 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import find_packages, setup setup(name='denonavr', - version='0.8.0', + version='0.8.1', description='Automation Library for Denon AVR receivers', long_description='Automation Library for Denon AVR receivers', url='https://github.com/scarface-4711/denonavr', @@ -23,7 +23,8 @@ "Operating System :: OS Independent", "Topic :: Software Development :: Libraries", "Topic :: Home Automation", - "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", ]) diff --git a/test-requirements.txt b/test-requirements.txt index 0affd00..eed85d6 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5,5 +5,5 @@ pytest-cov pytest-timeout flake8-docstrings flake8 -requests_mock +requests-mock testtools \ No newline at end of file diff --git a/tests/test_denonavr.py b/tests/test_denonavr.py index ef2c81d..33e32bd 100644 --- a/tests/test_denonavr.py +++ b/tests/test_denonavr.py @@ -7,6 +7,7 @@ :license: MIT, see LICENSE for more details. """ +from urllib.parse import urlparse import testtools import requests import requests_mock @@ -25,7 +26,8 @@ "AVR-X2000": ZONE2_ZONE3, "AVR-X2000-2": NO_ZONES, "SR5008": NO_ZONES, "M-CR603": NO_ZONES, "NR1604": ZONE2_ZONE3, "AVR-4810": NO_ZONES, - "AVR-3312": NO_ZONES} + "AVR-3312": NO_ZONES, "NR1609": ZONE2, + "AVC-8500H": ZONE2_ZONE3} APPCOMMAND_URL = "/goform/AppCommand.xml" STATUS_URL = "/goform/formMainZone_MainZoneXmlStatus.xml" @@ -62,50 +64,63 @@ def setUp(self, mocker): def custom_matcher(self, request): """Match URLs to sample files.""" - if request.path_url == STATUS_URL: - content = get_sample_content( - "{receiver}-formMainZone_MainZoneXmlStatus.xml".format( - receiver=self._testing_receiver)) - elif request.path_url == STATUS_Z2_URL: - content = get_sample_content( - "{receiver}-formZone2_Zone2XmlStatus.xml".format( - receiver=self._testing_receiver)) - elif request.path_url == STATUS_Z3_URL: - content = get_sample_content( - "{receiver}-formZone3_Zone3XmlStatus.xml".format( - receiver=self._testing_receiver)) - elif request.path_url == MAINZONE_URL: - content = get_sample_content( - "{receiver}-formMainZone_MainZoneXml.xml".format( - receiver=self._testing_receiver)) - elif request.path_url == DEVICEINFO_URL: - content = get_sample_content( - "{receiver}-Deviceinfo.xml".format( - receiver=self._testing_receiver)) - elif request.path_url == NETAUDIOSTATUS_URL: - content = get_sample_content( - "{receiver}-formNetAudio_StatusXml.xml".format( - receiver=self._testing_receiver)) - elif request.path_url == TUNERSTATUS_URL: - content = get_sample_content( - "{receiver}-formTuner_TunerXml.xml".format( - receiver=self._testing_receiver)) - elif request.path_url == HDTUNERSTATUS_URL: - content = get_sample_content( - "{receiver}-formTuner_HdXml.xml".format( - receiver=self._testing_receiver)) - elif request.path_url == APPCOMMAND_URL: - content = get_sample_content( - "{receiver}-AppCommand.xml".format( - receiver=self._testing_receiver)) - else: - content = "DATA" + port_suffix = "" + + if urlparse(request.url).port == 8080: + port_suffix = "-8080" resp = requests.Response() resp.encoding = "utf-8" - # pylint: disable=protected-access - resp._content = content.encode() - resp.status_code = 200 + + try: + if request.path_url == STATUS_URL: + content = get_sample_content( + "{receiver}-formMainZone_MainZoneXmlStatus{port}" + ".xml".format( + receiver=self._testing_receiver, port=port_suffix)) + elif request.path_url == STATUS_Z2_URL: + content = get_sample_content( + "{receiver}-formZone2_Zone2XmlStatus{port}.xml".format( + receiver=self._testing_receiver, port=port_suffix)) + elif request.path_url == STATUS_Z3_URL: + content = get_sample_content( + "{receiver}-formZone3_Zone3XmlStatus{port}.xml".format( + receiver=self._testing_receiver, port=port_suffix)) + elif request.path_url == MAINZONE_URL: + content = get_sample_content( + "{receiver}-formMainZone_MainZoneXml{port}.xml".format( + receiver=self._testing_receiver, port=port_suffix)) + elif request.path_url == DEVICEINFO_URL: + content = get_sample_content( + "{receiver}-Deviceinfo{port}.xml".format( + receiver=self._testing_receiver, port=port_suffix)) + elif request.path_url == NETAUDIOSTATUS_URL: + content = get_sample_content( + "{receiver}-formNetAudio_StatusXml{port}.xml".format( + receiver=self._testing_receiver, port=port_suffix)) + elif request.path_url == TUNERSTATUS_URL: + content = get_sample_content( + "{receiver}-formTuner_TunerXml{port}.xml".format( + receiver=self._testing_receiver, port=port_suffix)) + elif request.path_url == HDTUNERSTATUS_URL: + content = get_sample_content( + "{receiver}-formTuner_HdXml{port}.xml".format( + receiver=self._testing_receiver, port=port_suffix)) + elif request.path_url == APPCOMMAND_URL: + content = get_sample_content( + "{receiver}-AppCommand{port}.xml".format( + receiver=self._testing_receiver, port=port_suffix)) + else: + content = "DATA" + except FileNotFoundError: + resp = requests.Response() + content = "Error 403: Forbidden\nAccess Forbidden" + resp.status_code = 403 + else: + resp.status_code = 200 + + resp._content = content.encode() # pylint: disable=protected-access + return resp @requests_mock.mock() @@ -118,9 +133,27 @@ def test_input_func_switch(self, mock): self.denon = denonavr.DenonAVR(FAKE_IP, add_zones=zones) # Switch through all functions and check if successful for zone in self.denon.zones.values(): + if receiver == 'AVC-8500H': + print(receiver, zone.input_func_list) for input_func in zone.input_func_list: self.denon.set_input_func(input_func) self.assertEqual( input_func, self.denon.input_func, ("Input function change to {func} " - "not successful").format(func=input_func)) + "not successful for {receiver}").format( + func=input_func, receiver=receiver)) + + @requests_mock.mock() + def test_attributes_not_none(self, mock): + """Check that certain attributes are not None.""" + mock.add_matcher(self.custom_matcher) + for receiver, zones in TESTING_RECEIVERS.items(): + # Switch receiver and update to load new sample files + self._testing_receiver = receiver + self.denon = denonavr.DenonAVR(FAKE_IP, add_zones=zones) + self.assertIsNotNone( + self.denon.power, + "Power status is None for receiver {}".format(receiver)) + self.assertIsNotNone( + self.denon.state, + "State is None for receiver {}".format(receiver)) diff --git a/tests/xml/AVC-8500H-AppCommand-8080.xml b/tests/xml/AVC-8500H-AppCommand-8080.xml new file mode 100644 index 0000000..9282982 --- /dev/null +++ b/tests/xml/AVC-8500H-AppCommand-8080.xml @@ -0,0 +1,217 @@ + + + +ON +OFF +OFF + + + +NET + + +NET + + +NET + + + + +-40.0 +variable +OFF +ABSOLUTE +40.0 + + +-21 +variable +-10.0 +ABSOLUTE + 59 + + +-40 +variable +-10.0 +ABSOLUTE + 40 + + + +off +off +off + + + + +CBL/SAT +SKY Q + + +DVD +Apple telly + + +Blu-ray +Blu-ray + + +GAME +PS4 + + +AUX1 +Front HDMI + + +AUX2 +XBox + + +AUX3 + + + +AUX4 + + + +AUX5 + + + +AUX6 + + + +AUX7 + + + +Media Player +Dune + + +CD +CD+PS4 VR + + +TUNER +Tuner + + +NETWORK +HEOS Music + + +TV AUDIO +Telly Audio + + +Bluetooth +Bluetooth + + +PHONO +Phono + + + + + + +CBL/SAT +CBL/SAT +1 + + +DVD +DVD +1 + + +Blu-ray +Blu-ray +1 + + +GAME +GAME +1 + + +AUX1 +AUX1 +1 + + +AUX2 +AUX2 +1 + + +AUX3 +AUX3 +0 + + +AUX4 +AUX4 +0 + + +AUX5 +AUX5 +0 + + +AUX6 +AUX6 +0 + + +AUX7 +AUX7 +0 + + +Media Player +Media Player +1 + + +CD +CD +1 + + +TUNER +TUNER +1 + + +NETWORK +NETWORK +1 + + +TV AUDIO +TV AUDIO +1 + + +Bluetooth +Bluetooth +1 + + +PHONO +PHONO +1 + + + + diff --git a/tests/xml/AVC-8500H-Deviceinfo-8080.xml b/tests/xml/AVC-8500H-Deviceinfo-8080.xml new file mode 100644 index 0000000..486be85 --- /dev/null +++ b/tests/xml/AVC-8500H-Deviceinfo-8080.xml @@ -0,0 +1,3428 @@ + + +0001 +0301 +0002 +0 +01 +AV RECEIVER +AVC-X8500H +02 +AVC-X8500H +0005CDA60D0C +00 +0 +3 + + + +0 +Audio +Audio +263 + +1 +SubwooferLevel + + +1 +BassSync + + +1 +SurroundParameter + + +1 +Restorer + + +1 +AudioDelay + + +1 +Audyssey + + +1 +GraphicEQ + + + +0 +Video +Video +264 + +1 +HdmiSetup + + +1 +OutputSettings + + + +0 +Inputs +Inputs +265 + +1 +SourceRename + + +1 +HideSources + + +1 +InputSelect + + + +0 +Speakers +Speakers +266 + +1 +SpeakerAB + + + +0 +Network +Network +267 + +1 +NetworkInfo + + + +0 +General +General +268 + +1 +ECO + + +1 +Zone2Setup + + +1 +Zone3Setup + + +1 +ZoneRename + + +1 +QuickSelectName + + +1 +FrontDisplay + + +1 +FirmwareUpdate + + +1 +SetupLock + + + +0 +SetupAssistant +Setup Assistant +269 + + + + + +English +German +French +Italian +Spanish +Dutch +Swedish +Russian +Polish + + + +0 +NetLink + + +0 +ClockAdjust + + +1 +SleepTimer +120 +10 + +1 + + + +0 +WakeupTimer + + +0 +PartyMode +01 + + +0 +BatteryMode + + +0 +DeviceColor + + + +1 +ECO + + +Main + +0 +15 +30 +60 + + + +Zone2 + +0 +120 +240 +480 + + + +Zone3 + +0 +120 +240 +480 + + + + +1 +1 +1 +1 +1 +1 +1 + + + +1 + +ToneControlSet_AVR + + +Tone Control +0 +12 +6 +1 +0 +12 +6 +1 + + +1 +1 + + + +1 +Subwoofer Level Adjust +SubwooferLevel +2 + +Subwoofer1 +Subwoofer2 + +0 +48 +24 +0.5 + +1 +1 + + + +1 +Bass Sync +BassSync +0 +16 +0 +1 + +1 +1 + + + +1 +Channel Level +ChannelLevel + + +C +Center +0 +48 +24 +0.5 + + +SW +Subwoofer 1 +0 +48 +24 +0.5 + + +SW2 +Subwoofer 2 +0 +48 +24 +0.5 + + +FL +Front L +0 +48 +24 +0.5 + + +FR +Front R +0 +48 +24 +0.5 + + +SL +Surround L +0 +48 +24 +0.5 + + +SR +Surround R +0 +48 +24 +0.5 + + +SB +Surround Back +0 +48 +24 +0.5 + + +SBL +Surround Back L +0 +48 +24 +0.5 + + +SBR +Surround Back R +0 +48 +24 +0.5 + + +FHL +Front Height L +0 +48 +24 +0.5 + + +FHR +Front Height R +0 +48 +24 +0.5 + + +FWL +Front Wide L +0 +48 +24 +0.5 + + +FWR +Front Wide R +0 +48 +24 +0.5 + + +TFL +Top Front L +0 +48 +24 +0.5 + + +TFR +Top Front R +0 +48 +24 +0.5 + + +TML +Top Middle L +0 +48 +24 +0.5 + + +TMR +Top Middle R +0 +48 +24 +0.5 + + +TRL +Top Rear L +0 +48 +24 +0.5 + + +TRR +Top Rear R +0 +48 +24 +0.5 + + +RHL +Rear Height L +0 +48 +24 +0.5 + + +RHR +Rear Height R +0 +48 +24 +0.5 + + +SHL +Surround Height L +0 +48 +24 +0.5 + + +SHR +Surround Height R +0 +48 +24 +0.5 + + +FDL +Front Dolby L +0 +48 +24 +0.5 + + +FDR +Front Dolby R +0 +48 +24 +0.5 + + +SDL +Surround Dolby L +0 +48 +24 +0.5 + + +SDR +Surround Dolby R +0 +48 +24 +0.5 + + +BDL +Back Dolby L +0 +48 +24 +0.5 + + +BDR +Back Dolby R +0 +48 +24 +0.5 + + +TS +Top Surround +0 +48 +24 +0.5 + + +CH +Center Height +0 +48 +24 +0.5 + + +ZRL +Reest +24 +24 +24 +24 + + + +1 +1 + + + +1 +All Zone Stereo +AllZoneStereo + +STEREO +MULTI CH STEREO + + +1 +1 +1 + + + +1 +UserManualViewer +UserManualViewer + + +1 +Front Display +FrontDisplay + +1 +Dimmer + + +Bright +3 + + +Dim +2 + + +Dark +1 + + +Off +0 + + + +1 +1 + + + +1 +Channel Indicators + + +Output +1 + + +Input +2 + + + +1 +1 + + + + +1 +Information +NetworkInfo + +1 + + +1 + + + +1 +Picture Mode +PictureMode + + +Standard +1 + + +Movie +2 + + +Vivid +3 + + +Streaming +4 + + +ISF Day +5 + + +ISF Night +6 + + +Custom +7 + + +Off +0 + + + +1 +1 + + + +1 +Video Select +VideoSelect + + +Off +0 + + +On +1 + + + +1 +1 + + + +1 +Zone Rename +ZoneRename + + +Main +MAIN ZONE + + +Zone2 +ZONE2 + + +Zone3 +ZONE3 + + + +1 +1 +1 + + +1 + + + +1 +Restorer +Restorer + + +High +3 + + +Medium +2 + + +Low +1 + + +Off +0 + + + +1 +1 + + + +1 +HDMI Setup +HdmiSetup +0 + +1 +HDMI Audio Out +HdmiAudioOut + + +AVR +1 + + +TV +2 + + + + +1 +1 + + + +1 +Output Settings +OutputSettings + +1 +HDMI Video Output +HdmiVideoOut + + +Auto(Dual) +3 + + +Monitor 1 +1 + + +Monitor 2 +2 + + + + +1 +Video Mode +VideoMode + + +Auto +1 + + +Game +2 + + +Movie +3 + + + + +1 +i/p Scaler +IpScaler + + +Off +0 + + +On +1 + + +Analog +2 + + +Analog & HDMI +3 + + +HDMI +4 + + + + +1 +Resolution (analog) +ResolutionAnalog + + +Auto +1 + + +480p/576p +2 + + +1080i +3 + + +720p +4 + + +1080p +5 + + +1080p:24Hz +6 + + +4K +7 + + +4K(60/50) +8 + + + + +1 +Resolution (HDMI) +ResolutionHdmi + + +Auto +1 + + +480p/576p +2 + + +1080i +3 + + +720p +4 + + +1080p +5 + + +1080p:24Hz +6 + + +4K +7 + + +4K(60/50) +8 + + + + +1 +Progressive Mode +ProgressiveMode + + +Auto +1 + + +Video +2 + + +Video and Film +3 + + + + +1 +Aspect Ratio +AspectRatio + + +16:9 +1 + + +4:3 +2 + + + + +1 +1 +1 + + + +1 +Graphic EQ +GraphicEQ + + +Off +0 + + +On +1 + + + +1 +Speaker Selection +SpeakerSelection + + +Left/Right +1 + + +Each +2 + + +All +3 + + + + +1 +Speaker Selection All +SpeakerSelectionAll + + +All +1 + + + + +1 +Speaker Selection LR +SpeakerSelectionLR + + +Front L/R +1 + + +Center +2 + + +Surround L/R +3 + + +Surround Back L/R +4 + + +Surround Back +16 + + +Front Wide L/R +5 + + +Front Height L/R +6 + + +Top Front L/R +7 + + +Top Middle L/R +8 + + +Top Rear L/R +9 + + +Surround Height L/R +10 + + +Rear Height L/R +12 + + +Center Height +17 + + +Top Surround +11 + + +Front Dolby L/R +13 + + +Surround Dolby L/R +14 + + +Back Dolby L/R +15 + + + + +1 +Speaker Selection Each +SpeakerSelectionEach + + +Front L +1 + + +Front R +2 + + +Center +3 + + +Surround L +4 + + +Surround R +5 + + +Surround Back L +6 + + +Surround Back R +7 + + +Surround Back +8 + + +Front Wide L +9 + + +Front Wide R +10 + + +Front Height L +11 + + +Front Height R +12 + + +Top Front L +13 + + +Top Front R +14 + + +Top Middle L +15 + + +Top Middle R +16 + + +Top Rear L +17 + + +Top Rear R +18 + + +Surround Height L +19 + + +Surround Height R +20 + + +Rear Height L +22 + + +Rear Height R +25 + + +Center Height +30 + + +Top Surround +21 + + +Front Dolby L +23 + + +Front Dolby R +24 + + +Surround Dolby L +26 + + +Surround Dolby R +27 + + +Back Dolby L +28 + + +Back Dolby R +29 + + + + +1 +EQ Band +EQBand + + +63 Hz +1 + + +125 Hz +2 + + +250 Hz +3 + + +500 Hz +4 + + +1 kHz +5 + + +2 kHz +6 + + +4 kHz +7 + + +8 kHz +8 + + +16 kHz +9 + + + + +1 +EQAdjustDB +EQAdjustDB +-20.0 +6.0 +0.5 + + +1 +1 +1 +1 +1 +1 +1 + + + +1 +Audyssey +Audyssey + +1 +MultEQ XT32 +MultEq + + +Reference +3 + + +L/R Bypass +2 + + +Flat +1 + + +Off +0 + + + + +1 +Dynamic EQ +DynamicEq + + +Off +0 + + +On +1 + + + + +1 +Reference Level Offset +RefLevOffset + + +0dB +0 + + ++5dB +1 + + ++10dB +2 + + ++15dB +3 + + + + +1 +Dynamic Volume +DynamicVolume + + +Off +0 + + +Light +1 + + +Medium +2 + + +Heavy +3 + + + + +1 +Audyssey LFC +AudysseyLfc + + +Off +0 + + +On +1 + + + + +1 +Containment Amount +ContainmentAmount +1 +7 +4 +1 + + +1 +1 +1 + + + +1 +Surround Parameter +SurroundParameter + +1 +Cinema EQ +CinemaEq + + +Off +0 + + +On +1 + + + + +1 +Loudness Management +Loudness + + +Off +0 + + +On +1 + + + + +1 +Dynamic Compression +DynamicCompression + + +Off +0 + + +Low +1 + + +Medium +2 + + +High +3 + + +Auto +4 + + + + +1 +Dialog Control +DialogControl +0 +6 +0 +1 + + +1 +Low Frequency Effects +LFE + +-10 +0 +0 +1 + + +0 +15 +15 +5 + + + +1 +Center Spread +CenterSpread + + +Off +0 + + +On +1 + + + + +1 +DTS Neural:X +DTSNeuralX + + +Off +0 + + +On +1 + + + + +1 +Auro-Matic 3D Preset +AuroMatic3DPreset + + +Small +1 + + +Medium +2 + + +Large +3 + + +Movie +5 + + +Speech +4 + + + + +1 +Auro-Matic 3D Strength +AuroMatic3DStrength +1 +16 +10 +1 + + +1 +Auro-3D Mode +Auro3DMode + + +Channel Expansion +1 + + +Direct +2 + + + + +1 +Delay Time +DelayTime +0 +300 +30 +3 +10 + + +1 +Effect Level +EffectLevel +1 +15 +10 +1 + + +1 +Room Size +RoomSize + + +Small +1 + + +Medium small +2 + + +Medium +3 + + +Medium large +4 + + +Large +5 + + + + +1 +Speaker Select +SpeakerSelect + + +Floor +1 + + +Floor&Height +2 + + + + +1 +Subwoofer +Subwoofer + + +Off +0 + + +On +1 + + + + +1 +1 + + + +1 +Audio Delay +AudioDelay + +1 +Auto Lip Sync +AutoLipSync + + +Off +0 + + +On +1 + + + + +1 +Adjust +Adjust +0 +500 +1 + + +1 +1 + + + +1 +External Contol +ExternalContol + +1 +1 + + + +1 +Dialog Enhancer +DialogEnhancer + + +High +3 + + +Medium +2 + + +Low +1 + + +Off +0 + + + +1 +1 + + + +1 +Source Rename +SourceRename + +1 +1 +1 + + + +1 +Hide Sources +HideSources + + +Show +1 + + +Hide +0 + + + +1 +1 + + + +1 +Input Select +InputSelect + +1 +Input Mode +InputMode + + +No Input +0 + + +Auto +1 + + +HDMI +2 + + +Digital +3 + + +Analog +4 + + +7.1CH IN +5 + + +ARC +6 + + + + +1 +1 + + + +1 +Zone2 Setup +Zone2Setup + +1 +Bass +Bass +-10 +10 +1 + + +1 +Treble +Treble +-10 +10 +1 + + +1 +Lch Level +LchLevel +-12 +12 +1 + + +1 +Rch Level +RchLevel +-12 +12 +1 + + +1 +1 +1 +1 + + + +1 +Zone3 Setup +Zone3Setup + +1 +Bass +Bass +-10 +10 +1 + + +1 +Treble +Treble +-10 +10 +1 + + +1 +Lch Level +LchLevel +-12 +12 +1 + + +1 +Rch Level +RchLevel +-12 +12 +1 + + +1 +1 +1 +1 + + + +1 +Firmware +FirmwareUpdate + +1 +Check for Update +Update + + +1 +Auto-Update +AutoUpdate + + +1 +Allow Update +AllowUpdate + + +1 +1 +1 +1 +1 + + + +1 +Setup Lock +SetupLock + +1 +Lock +Lock + + +Off +0 + + +On +1 + + + + +1 +1 + + + +1 +Sound Mode +SoundMode + + + +MOVIE +1 + + +MUSIC +2 + + +GAME +3 + + +PURE +4 + + + + +1 +1 +1 +1 + + + +1 +INFO +StatusInfo + +1 +1 +1 +1 +1 + + + +1 +Front Speaker +SpeakerAB + + +Speaker A +1 + + +Speaker B +2 + + +Speaker A+B +3 + + + +1 + + + +1 +Auto SetupMenu Off +AutoSetupMenuOff + + + + +0 +Clock + + +1 +AllZonePower + + +1 +AllZoneMute + + +0 +SystemFavorites +50 + +0 + + + + + + +0 + + +1 + + +1 +240 +Dialog Enhancer +Dialog Enhancer + + +1 +210 +Restorer +Restorer + + +1 +204 +Sleep Timer +SleepTimer + + +2 +110 +Cursor +Cursor + + +3 +111 +Quick Select 1 +Quick Select1 + + +3 +111 +Quick Select 2 +Quick Select2 + + +3 +111 +Quick Select 3 +Quick Select3 + + +3 +111 +Quick Select 4 +Quick Select4 + + +4 +4 +CBL/SAT +CBL/SAT + + +4 +2 +DVD +DVD + + +4 +1 +Blu-ray +Blu-ray + + +4 +8 +Game +GAME + + +4 +42 +AUX1 +AUX1 + + +4 +43 +AUX2 +AUX2 + + +4 +46 +Media Player +Media Player + + +4 +22 +iPod/USB +iPod/USB + + +4 +17 +CD +CD + + +4 +19 +Tuner +TUNER + + +4 +3 +TV Audio +TV AUDIO + + +4 +59 +Bluetooth +Bluetooth + + +4 +16 +Phono +PHONO + + + + +1 + + +1 +98.0 +0.5 + + +OFF +OFF +98.0 + + +86.0 ++6.0dB +86.0 + + +83.0 ++3.0dB +83.0 + + +80.0 +0.0dB +80.0 + + +74.0 +-6.0dB +74.0 + + +68.0 +-12.0dB +68.0 + + +60.0 +-20.0dB +60.0 + + +50.0 +-30.0dB +50.0 + + +40.0 +-40.0dB +40.0 + + +-6.0dB + +1 + + + +1 + + +1 + + +4 +CBL/SAT +CBL/SAT +root/CBLSAT +3 + + + +2 +DVD +DVD +root/DVD +3 + + + +1 +Blu-ray +Blu-ray +root/Blu-ray +3 +BdOperation + + +8 +GAME +Game +root/GAME +3 + + + +42 +AUX1 +AUX1 +root/AUX1 +3 + + + +43 +AUX2 +AUX2 +root/AUX2 +3 + + + +44 +AUX3 +AUX3 +root/AUX3 +3 + + + +45 +AUX4 +AUX4 +root/AUX4 +3 + + + +52 +AUX5 +AUX5 +root/AUX5 +3 + + + +53 +AUX6 +AUX6 +root/AUX6 +3 + + + +54 +AUX7 +AUX7 +root/AUX7 +3 + + + +46 +Media Player +Media Player +root/Media Player +3 + + + +17 +CD +CD +root/CD +3 + + + +19 +TUNER +Tuner +root/TUNER +3 +TunerOperation + + +23 +NETWORK +HEOS Music +root/NETWORK +3 +NetUsb + + +3 +TV AUDIO +TV Audio +root/TV AUDIO +3 + + + +59 +Bluetooth +Bluetooth +root/Bluetooth +3 + + + +16 +PHONO +Phono +root/PHONO +3 + + + + +1 +1 +1 + + + + +1 +Restorer +Restorer + + +217 +High +MODE1 + + +218 +Medium +MODE2 + + +219 +Low +MODE3 + + +216 +OFF +OFF + + + +1 + + + +0 +ToneControl + + +1 +Dialog Enhancer +Dialog Enhancer + + +High +3 + + +Medium +2 + + +Low +1 + + +OFF +0 + + + + + + +1 +Cursor +1 + + +1 +4 + +Quick Select 1 +Quick Select1 +1 + + +Quick Select 2 +Quick Select2 +2 + + +Quick Select 3 +Quick Select3 +3 + + +Quick Select 4 +Quick Select4 +4 + + +1 +1 +1 +1 +1 + + + +1 +Blu-ray + +1 + + + +0 +CD + +0 + + + +0 + + + + + +1 + + +1 + + +1 +240 +Dialog Enhancer +Dialog Enhancer + + +1 +210 +Restorer +Restorer + + +1 +204 +Sleep Timer +SleepTimer + + +2 +110 +Cursor +Cursor + + +3 +111 +Quick Select 1 +Quick Select1 + + +3 +111 +Quick Select 2 +Quick Select2 + + +3 +111 +Quick Select 3 +Quick Select3 + + +3 +111 +Quick Select 4 +Quick Select4 + + +4 +4 +CBL/SAT +CBL/SAT + + +4 +2 +DVD +DVD + + +4 +1 +Blu-ray +Blu-ray + + +4 +8 +Game +GAME + + +4 +42 +AUX1 +AUX1 + + +4 +43 +AUX2 +AUX2 + + +4 +46 +Media Player +Media Player + + +4 +22 +iPod/USB +iPod/USB + + +4 +17 +CD +CD + + +4 +19 +Tuner +TUNER + + +4 +3 +TV Audio +TV AUDIO + + +4 +59 +Bluetooth +Bluetooth + + +4 +16 +Phono +PHONO + + + + +1 + + +1 +98.0 +0.5 + + +OFF +OFF +98.0 + + +86.0 ++6.0dB +86.0 + + +83.0 ++3.0dB +83.0 + + +80.0 +0.0dB +80.0 + + +74.0 +-6.0dB +74.0 + + +68.0 +-12.0dB +68.0 + + +60.0 +-20.0dB +60.0 + + +50.0 +-30.0dB +50.0 + + +40.0 +-40.0dB +40.0 + + +-6.0dB + +1 + + + +1 + + +1 + + +0 +SOURCE +SOURCE +root/SOURCE +3 + + + +4 +CBL/SAT +CBL/SAT +root/CBLSAT +3 + + + +2 +DVD +DVD +root/DVD +3 + + + +1 +Blu-ray +Blu-ray +root/Blu-ray +3 +BdOperation + + +8 +GAME +Game +root/GAME +3 + + + +42 +AUX1 +AUX1 +root/AUX1 +3 + + + +43 +AUX2 +AUX2 +root/AUX2 +3 + + + +44 +AUX3 +AUX3 +root/AUX3 +3 + + + +45 +AUX4 +AUX4 +root/AUX4 +3 + + + +52 +AUX5 +AUX5 +root/AUX5 +3 + + + +53 +AUX6 +AUX6 +root/AUX6 +3 + + + +54 +AUX7 +AUX7 +root/AUX7 +3 + + + +46 +Media Player +Media Player +root/Media Player +3 + + + +17 +CD +CD +root/CD +3 + + + +19 +TUNER +Tuner +root/TUNER +3 +TunerOperation + + +23 +NETWORK +HEOS Music +root/NETWORK +3 +NetUsb + + +3 +TV AUDIO +TV Audio +root/TV AUDIO +3 + + + +59 +Bluetooth +Bluetooth +root/Bluetooth +3 + + + +16 +PHONO +Phono +root/PHONO +3 + + + + +1 +1 +1 + + + + +0 +Restorer +Restorer + + +217 +High +MODE1 + + +218 +Medium +MODE2 + + +219 +Low +MODE3 + + +216 +OFF +OFF + + + +1 + + + +0 +ToneControl + + +1 +Dialog Enhancer +Dialog Enhancer + + +High +3 + + +Medium +2 + + +Low +1 + + +OFF +0 + + + + + + +1 +Cursor +1 + + +1 +4 + +Quick Select 1 +Quick Select1 +1 + + +Quick Select 2 +Quick Select2 +2 + + +Quick Select 3 +Quick Select3 +3 + + +Quick Select 4 +Quick Select4 +4 + + +1 +1 + + + +1 +Blu-ray + +1 + + + +0 +CD + +0 + + + +0 + + + + + +2 + + +1 + + +1 +240 +Dialog Enhancer +Dialog Enhancer + + +1 +210 +Restorer +Restorer + + +1 +204 +Sleep Timer +SleepTimer + + +2 +110 +Cursor +Cursor + + +3 +111 +Quick Select 1 +Quick Select1 + + +3 +111 +Quick Select 2 +Quick Select2 + + +3 +111 +Quick Select 3 +Quick Select3 + + +3 +111 +Quick Select 4 +Quick Select4 + + +4 +4 +CBL/SAT +CBL/SAT + + +4 +2 +DVD +DVD + + +4 +1 +Blu-ray +Blu-ray + + +4 +8 +Game +GAME + + +4 +42 +AUX1 +AUX1 + + +4 +43 +AUX2 +AUX2 + + +4 +46 +Media Player +Media Player + + +4 +22 +iPod/USB +iPod/USB + + +4 +17 +CD +CD + + +4 +19 +Tuner +TUNER + + +4 +3 +TV Audio +TV AUDIO + + +4 +59 +Bluetooth +Bluetooth + + +4 +16 +Phono +PHONO + + + + +1 + + +1 +98.0 +0.5 + + +OFF +OFF +98.0 + + +86.0 ++6.0dB +86.0 + + +83.0 ++3.0dB +83.0 + + +80.0 +0.0dB +80.0 + + +74.0 +-6.0dB +74.0 + + +68.0 +-12.0dB +68.0 + + +60.0 +-20.0dB +60.0 + + +50.0 +-30.0dB +50.0 + + +40.0 +-40.0dB +40.0 + + +-6.0dB + +1 + + + +1 + + +1 + + +0 +SOURCE +SOURCE +root/SOURCE +3 + + + +4 +CBL/SAT +CBL/SAT +root/CBLSAT +3 + + + +2 +DVD +DVD +root/DVD +3 + + + +1 +Blu-ray +Blu-ray +root/Blu-ray +3 +BdOperation + + +8 +GAME +Game +root/GAME +3 + + + +42 +AUX1 +AUX1 +root/AUX1 +3 + + + +43 +AUX2 +AUX2 +root/AUX2 +3 + + + +44 +AUX3 +AUX3 +root/AUX3 +3 + + + +45 +AUX4 +AUX4 +root/AUX4 +3 + + + +52 +AUX5 +AUX5 +root/AUX5 +3 + + + +53 +AUX6 +AUX6 +root/AUX6 +3 + + + +54 +AUX7 +AUX7 +root/AUX7 +3 + + + +46 +Media Player +Media Player +root/Media Player +3 + + + +17 +CD +CD +root/CD +3 + + + +19 +TUNER +Tuner +root/TUNER +3 +TunerOperation + + +23 +NETWORK +HEOS Music +root/NETWORK +3 +NetUsb + + +3 +TV AUDIO +TV Audio +root/TV AUDIO +3 + + + +59 +Bluetooth +Bluetooth +root/Bluetooth +3 + + + +16 +PHONO +Phono +root/PHONO +3 + + + + +1 +1 +1 + + + + +0 +Restorer +Restorer + + +217 +High +MODE1 + + +218 +Medium +MODE2 + + +219 +Low +MODE3 + + +216 +OFF +OFF + + + +1 + + + +0 +ToneControl + + +1 +Dialog Enhancer +Dialog Enhancer + + +High +3 + + +Medium +2 + + +Low +1 + + +OFF +0 + + + + + + +1 +Cursor +1 + + +1 +4 + +Quick Select 1 +Quick Select1 +1 + + +Quick Select 2 +Quick Select2 +2 + + +Quick Select 3 +Quick Select3 +3 + + +Quick Select 4 +Quick Select4 +4 + + +1 +1 + + + +1 +Blu-ray + +1 + + + +0 +CD + +0 + + + +0 + + + + diff --git a/tests/xml/NR1609-AppCommand-8080.xml b/tests/xml/NR1609-AppCommand-8080.xml new file mode 100644 index 0000000..9229cb5 --- /dev/null +++ b/tests/xml/NR1609-AppCommand-8080.xml @@ -0,0 +1,160 @@ + + + +ON +OFF + + + +NET + + +NET + + + + +-70.0 +variable +OFF +ABSOLUTE +10.0 + + +-70 +variable +-20.0 +ABSOLUTE + 10 + + + +off +off + + + + +CBL/SAT +CBL/SAT + + +DVD +DVD + + +Blu-ray +Blu-ray + + +GAME +Game + + +AUX1 +AUX1 + + +AUX2 +AUX2 + + +Media Player +Media Player + + +CD +CD + + +TUNER +Tuner + + +NETWORK +HEOS Music + + +TV AUDIO +TV Audio + + +Bluetooth +Bluetooth + + +PHONO +Phono + + + + + + +CBL/SAT +CBL/SAT +1 + + +DVD +DVD +0 + + +Blu-ray +Blu-ray +1 + + +GAME +GAME +0 + + +AUX1 +AUX1 +1 + + +AUX2 +AUX2 +0 + + +Media Player +Media Player +1 + + +CD +CD +0 + + +TUNER +TUNER +1 + + +NETWORK +NETWORK +1 + + +TV AUDIO +TV AUDIO +1 + + +Bluetooth +Bluetooth +1 + + +PHONO +PHONO +0 + + + + diff --git a/tests/xml/NR1609-Deviceinfo-8080.xml b/tests/xml/NR1609-Deviceinfo-8080.xml new file mode 100644 index 0000000..cc6ea28 --- /dev/null +++ b/tests/xml/NR1609-Deviceinfo-8080.xml @@ -0,0 +1,2697 @@ + + +0001 +0301 +0002 +1 +01 +AV RECEIVER +NR1609 +02 +NR1609 +0005CDC2D4B0 +00 +0 +2 + + + +0 +Audio +Audio +263 + +1 +DialogLevel + + +1 +SubwooferLevel + + +1 +SurroundParameter + + +1 +Restorer + + +1 +AudioDelay + + +1 +Audyssey + + +1 +GraphicEQ + + + +0 +Video +Video +264 + +1 +HdmiSetup + + +1 +OutputSettings + + + +0 +Inputs +Inputs +265 + +1 +SourceRename + + +1 +HideSources + + +1 +InputSelect + + + +0 +Speakers +Speakers +266 + +1 +SpeakerAB + + + +0 +Network +Network +267 + +1 +NetworkInfo + + + +0 +General +General +268 + +1 +ECO + + +1 +Zone2Setup + + +1 +ZoneRename + + +1 +QuickSelectName + + +1 +FrontDisplay + + +1 +FirmwareUpdate + + +1 +SetupLock + + + +0 +SetupAssistant +Setup Assistant +269 + + + + + +English +German +French +Italian +Spanish +Dutch +Swedish +Russian +Polish + + + +0 +NetLink + + +0 +ClockAdjust + + +1 +SleepTimer +120 +10 + +1 + + + +0 +WakeupTimer + + +0 +PartyMode +01 + + +0 +BatteryMode + + +0 +DeviceColor + + + +1 +ECO + + +Main + +0 +15 +30 +60 + + + +Zone2 + +0 +120 +240 +480 + + + + +1 +1 +1 +1 +1 +1 +1 + + + +1 + +ToneControlSet_AVR + + +Tone Control +0 +12 +6 +1 +0 +12 +6 +1 + + +1 +1 + + + +1 +Center Level Adjust +DialogLevel +0 +48 +24 +0.5 + +1 +1 + + + +1 +Subwoofer Level Adjust +SubwooferLevel +1 + +Subwoofer + +0 +48 +24 +0.5 + +1 +1 + + + +1 +Channel Level +ChannelLevel + + +C +Center +0 +48 +24 +0.5 + + +SW +Subwoofer +0 +48 +24 +0.5 + + +FL +Front L +0 +48 +24 +0.5 + + +FR +Front R +0 +48 +24 +0.5 + + +SL +Surround L +0 +48 +24 +0.5 + + +SR +Surround R +0 +48 +24 +0.5 + + +SB +Surround Back +0 +48 +24 +0.5 + + +SBL +Surround Back L +0 +48 +24 +0.5 + + +SBR +Surround Back R +0 +48 +24 +0.5 + + +FHL +Front Height L +0 +48 +24 +0.5 + + +FHR +Front Height R +0 +48 +24 +0.5 + + +TFL +Top Front L +0 +48 +24 +0.5 + + +TFR +Top Front R +0 +48 +24 +0.5 + + +TML +Top Middle L +0 +48 +24 +0.5 + + +TMR +Top Middle R +0 +48 +24 +0.5 + + +FDL +Front Dolby L +0 +48 +24 +0.5 + + +FDR +Front Dolby R +0 +48 +24 +0.5 + + +SDL +Surround Dolby L +0 +48 +24 +0.5 + + +SDR +Surround Dolby R +0 +48 +24 +0.5 + + +ZRL +Reset +24 +24 +24 +24 + + + +1 +1 + + + +1 +All Zone Stereo +AllZoneStereo + +STEREO +MULTI CH STEREO + + +1 +1 +1 + + + +1 +UserManualViewer +UserManualViewer + + +1 +Front Display +FrontDisplay + +1 +Dimmer + + +Bright +3 + + +Dim +2 + + +Dark +1 + + +Off +0 + + + +1 +1 + + + + +1 +Information +NetworkInfo + +1 + + +1 + + + +1 +Picture Mode +PictureMode + + +Standard +1 + + +Movie +2 + + +Vivid +3 + + +Streaming +4 + + +ISF Day +5 + + +ISF Night +6 + + +Custom +7 + + +Off +0 + + + +1 +1 + + + +1 +Video Select +VideoSelect + + +Off +0 + + +On +1 + + + +1 +1 + + + +1 +Zone Rename +ZoneRename + + +Main +MAIN ZONE + + +Zone2 +ZONE2 + + + +1 +1 +1 + + +1 + + + +1 +M-DAX +Restorer + + +High +3 + + +Medium +2 + + +Low +1 + + +Off +0 + + + +1 +1 + + + +1 +HDMI Setup +HdmiSetup +0 + +1 +HDMI Audio Out +HdmiAudioOut + + +AVR +1 + + +TV +2 + + + + +1 +1 + + + +1 +Output Settings +OutputSettings + +1 +Video Mode +VideoMode + + +Auto +1 + + +Game +2 + + +Movie +3 + + + + +1 +i/p Scaler +IpScaler + + +Off +0 + + +On +1 + + +Analog +2 + + +Analog & HDMI +3 + + +HDMI +4 + + + + +1 +Resolution (analog) +ResolutionAnalog + + +Auto +1 + + +480p/576p +2 + + +1080i +3 + + +720p +4 + + +1080p +5 + + +1080p:24Hz +6 + + +4K +7 + + + + +1 +Resolution (HDMI) +ResolutionHdmi + + +Auto +1 + + +480p/576p +2 + + +1080i +3 + + +720p +4 + + +1080p +5 + + +1080p:24Hz +6 + + +4K +7 + + + + +1 +Progressive Mode +ProgressiveMode + + +Auto +1 + + +Video +2 + + +Video and Film +3 + + + + +1 +Aspect Ratio +AspectRatio + + +16:9 +1 + + +4:3 +2 + + + + +1 +1 +1 + + + +1 +Graphic EQ +GraphicEQ + + +Off +0 + + +On +1 + + + +1 +Speaker Selection +SpeakerSelection + + +Left/Right +1 + + +Each +2 + + +All +3 + + + + +1 +Speaker Selection All +SpeakerSelectionAll + + +All +1 + + + + +1 +Speaker Selection LR +SpeakerSelectionLR + + +Front L/R +1 + + +Center +2 + + +Surround L/R +3 + + +Surround Back L/R +4 + + +Surround Back +16 + + +Front Height L/R +6 + + +Top Front L/R +7 + + +Top Middle L/R +8 + + +Front Dolby L/R +13 + + +Surround Dolby L/R +14 + + + + +1 +Speaker Selection Each +SpeakerSelectionEach + + +Front L +1 + + +Front R +2 + + +Center +3 + + +Surround L +4 + + +Surround R +5 + + +Surround Back L +6 + + +Surround Back R +7 + + +Surround Back +8 + + +Front Height L +11 + + +Front Height R +12 + + +Top Front L +13 + + +Top Front R +14 + + +Top Middle L +15 + + +Top Middle R +16 + + +Front Dolby L +23 + + +Front Dolby R +24 + + +Surround Dolby L +26 + + +Surround Dolby R +27 + + + + +1 +EQ Band +EQBand + + +63 Hz +1 + + +125 Hz +2 + + +250 Hz +3 + + +500 Hz +4 + + +1 kHz +5 + + +2 kHz +6 + + +4 kHz +7 + + +8 kHz +8 + + +16 kHz +9 + + + + +1 +EQAdjustDB +EQAdjustDB +-20.0 +6.0 +0.5 + + +1 +1 +1 +1 +1 +1 +1 + + + +1 +Audyssey +Audyssey + +1 +MultEQ +MultEq + + +Reference +3 + + +L/R Bypass +2 + + +Flat +1 + + +Off +0 + + + + +1 +Dynamic EQ +DynamicEq + + +Off +0 + + +On +1 + + + + +1 +Reference Level Offset +RefLevOffset + + +0dB +0 + + ++5dB +1 + + ++10dB +2 + + ++15dB +3 + + + + +1 +Dynamic Volume +DynamicVolume + + +Off +0 + + +Light +1 + + +Medium +2 + + +Heavy +3 + + + + +1 +1 +1 + + + +1 +Surround Parameter +SurroundParameter + +1 +Cinema EQ +CinemaEq + + +Off +0 + + +On +1 + + + + +1 +Loudness Management +Loudness + + +Off +0 + + +On +1 + + + + +1 +Dynamic Compression +DynamicCompression + + +Off +0 + + +Low +1 + + +Medium +2 + + +High +3 + + +Auto +4 + + + + +1 +Dialog Control +DialogControl +0 +6 +0 +1 + + +1 +Low Frequency Effects +LFE + +-10 +0 +0 +1 + + +0 +15 +15 +5 + + + +1 +Center Spread +CenterSpread + + +Off +0 + + +On +1 + + + + +1 +DTS Neural:X +DTSNeuralX + + +Off +0 + + +On +1 + + + + +1 +Subwoofer +Subwoofer + + +Off +0 + + +On +1 + + + + +1 +1 +1 + + + +1 +Audio Delay +AudioDelay + +1 +Auto Lip Sync +AutoLipSync + + +Off +0 + + +On +1 + + + + +1 +Adjust +Adjust +0 +500 +1 + + +1 +1 + + + +1 +External Contol +ExternalContol + +1 +1 + + + +1 +Source Rename +SourceRename + +1 +1 +1 + + + +1 +Hide Sources +HideSources + + +Show +1 + + +Hide +0 + + + +1 +1 + + + +1 +Input Select +InputSelect + +1 +Input Mode +InputMode + + +No Input +0 + + +Auto +1 + + +HDMI +2 + + +Digital +3 + + +Analog +4 + + +7.1CH IN +5 + + +ARC +6 + + +eARC +7 + + + + +1 +1 + + + +1 +Zone2 Setup +Zone2Setup + +1 +Lch Level +LchLevel +-12 +12 +1 + + +1 +Rch Level +RchLevel +-12 +12 +1 + + +1 +1 + + + +1 +Firmware +FirmwareUpdate + +1 +Check for Update +Update + + +1 +Auto-Update +AutoUpdate + + +1 +Allow Update +AllowUpdate + + +1 +1 +1 +1 +1 + + + +1 +Setup Lock +SetupLock + +1 +Lock +Lock + + +Off +0 + + +On +1 + + + + +1 +1 + + + +1 +Sound Mode +SoundMode + + + +MOVIE +1 + + +MUSIC +2 + + +GAME +3 + + +PURE +4 + + + + +1 +1 +1 +1 + + + +1 +INFO +StatusInfo + +1 +1 +1 +1 +1 + + + +1 +Front Speaker +SpeakerAB + + +Speaker A +1 + + +Speaker B +2 + + +Speaker A+B +3 + + + +1 + + + +1 +Auto SetupMenu Off +AutoSetupMenuOff + + + + +0 +Clock + + +1 +AllZonePower + + +1 +AllZoneMute + + +0 +SystemFavorites +50 + +0 + + + + + + +0 + + +1 + + +1 +210 +M-DAX +M-DAX + + +1 +204 +Sleep Timer +SleepTimer + + +2 +110 +Cursor +Cursor + + +3 +111 +Smart Select 1 +Quick Select1 + + +3 +111 +Smart Select 2 +Quick Select2 + + +3 +111 +Smart Select 3 +Quick Select3 + + +3 +111 +Smart Select 4 +Quick Select4 + + +4 +4 +CBL/SAT +CBL/SAT + + +4 +2 +DVD +DVD + + +4 +1 +Blu-ray +Blu-ray + + +4 +8 +Game +GAME + + +4 +42 +AUX1 +AUX1 + + +4 +43 +AUX2 +AUX2 + + +4 +46 +Media Player +Media Player + + +4 +22 +iPod/USB +iPod/USB + + +4 +17 +CD +CD + + +4 +19 +Tuner +TUNER + + +4 +3 +TV Audio +TV AUDIO + + +4 +59 +Bluetooth +Bluetooth + + +4 +16 +Phono +PHONO + + + + +1 + + +1 +98.0 +0.5 + + +OFF +OFF +98.0 + + +86.0 ++6.0dB +86.0 + + +83.0 ++3.0dB +83.0 + + +80.0 +0.0dB +80.0 + + +74.0 +-6.0dB +74.0 + + +68.0 +-12.0dB +68.0 + + +60.0 +-20.0dB +60.0 + + +50.0 +-30.0dB +50.0 + + +40.0 +-40.0dB +40.0 + + +-6.0dB + +1 + + + +1 + + +1 + + +4 +CBL/SAT +CBL/SAT +root/CBLSAT +3 + + + +2 +DVD +DVD +root/DVD +3 + + + +1 +Blu-ray +Blu-ray +root/Blu-ray +3 +BdOperation + + +8 +GAME +Game +root/GAME +3 + + + +42 +AUX1 +AUX1 +root/AUX1 +3 + + + +43 +AUX2 +AUX2 +root/AUX2 +3 + + + +46 +Media Player +Media Player +root/Media Player +3 + + + +17 +CD +CD +root/CD +3 +CdOperation + + +19 +TUNER +Tuner +root/TUNER +3 +TunerOperation + + +23 +NETWORK +HEOS Music +root/NETWORK +3 +NetUsb + + +3 +TV AUDIO +TV Audio +root/TV AUDIO +3 + + + +59 +Bluetooth +Bluetooth +root/Bluetooth +3 + + + +16 +PHONO +Phono +root/PHONO +3 + + + + +1 +1 +1 + + + + +1 +M-DAX +M-DAX + + +217 +High +MODE1 + + +218 +Medium +MODE2 + + +219 +Low +MODE3 + + +216 +OFF +OFF + + + +1 + + + +0 +ToneControl + + + + +1 +Cursor +1 + + +1 +4 + +Smart Select 1 +Quick Select1 +1 + + +Smart Select 2 +Quick Select2 +2 + + +Smart Select 3 +Quick Select3 +3 + + +Smart Select 4 +Quick Select4 +4 + + +1 +1 +1 +1 +1 + + + +1 +0 +TUNER +56 + + +FM + + +AM + + + + +Auto +AUTO + + +Manual +MANUAL + + + +1 +1 +1 +1 +1 +1 +1 +1 +1 +1 +1 +1 +1 + + + +1 +Blu-ray + +1 + + + +1 +CD + +0 + + + +1 +CD Control +ExtCdControl + + + +Power +2 + + + + + + +Play +1 + + +Pause +2 + + +Stop +3 + + +Previous +4 + + +Next +5 + + +Repeat +6 + + +Shuffle +7 + + + + + + +0 +0 + + +1 +1 + + +2 +2 + + +3 +3 + + +4 +4 + + +5 +5 + + +6 +6 + + +7 +7 + + +8 +8 + + +9 +9 + + ++10 +10 + + +Clear +11 + + + + + + +COAX In +2 + + +OPT In +3 + + +USB-DAC +4 + + +iPod/USB +5 + + +Disc Mode +6 + + + + + + +Open/Close +1 + + + + +1 + + +0 + + + + + +1 + + +1 + + +1 +210 +M-DAX +M-DAX + + +1 +204 +Sleep Timer +SleepTimer + + +2 +110 +Cursor +Cursor + + +3 +111 +Smart Select 1 +Quick Select1 + + +3 +111 +Smart Select 2 +Quick Select2 + + +3 +111 +Smart Select 3 +Quick Select3 + + +3 +111 +Smart Select 4 +Quick Select4 + + +4 +4 +CBL/SAT +CBL/SAT + + +4 +2 +DVD +DVD + + +4 +1 +Blu-ray +Blu-ray + + +4 +8 +Game +GAME + + +4 +42 +AUX1 +AUX1 + + +4 +43 +AUX2 +AUX2 + + +4 +46 +Media Player +Media Player + + +4 +22 +iPod/USB +iPod/USB + + +4 +17 +CD +CD + + +4 +19 +Tuner +TUNER + + +4 +3 +TV Audio +TV AUDIO + + +4 +59 +Bluetooth +Bluetooth + + +4 +16 +Phono +PHONO + + + + +1 + + +1 +98.0 +0.5 + + +OFF +OFF +98.0 + + +86.0 ++6.0dB +86.0 + + +83.0 ++3.0dB +83.0 + + +80.0 +0.0dB +80.0 + + +74.0 +-6.0dB +74.0 + + +68.0 +-12.0dB +68.0 + + +60.0 +-20.0dB +60.0 + + +50.0 +-30.0dB +50.0 + + +40.0 +-40.0dB +40.0 + + +-6.0dB + +1 + + + +1 + + +1 + + +0 +SOURCE +SOURCE +root/SOURCE +3 + + + +4 +CBL/SAT +CBL/SAT +root/CBLSAT +3 + + + +2 +DVD +DVD +root/DVD +3 + + + +1 +Blu-ray +Blu-ray +root/Blu-ray +3 +BdOperation + + +8 +GAME +Game +root/GAME +3 + + + +42 +AUX1 +AUX1 +root/AUX1 +3 + + + +43 +AUX2 +AUX2 +root/AUX2 +3 + + + +46 +Media Player +Media Player +root/Media Player +3 + + + +17 +CD +CD +root/CD +3 +CdOperation + + +19 +TUNER +Tuner +root/TUNER +3 +TunerOperation + + +23 +NETWORK +HEOS Music +root/NETWORK +3 +NetUsb + + +3 +TV AUDIO +TV Audio +root/TV AUDIO +3 + + + +59 +Bluetooth +Bluetooth +root/Bluetooth +3 + + + +16 +PHONO +Phono +root/PHONO +3 + + + + +1 +1 +1 + + + + +0 +M-DAX +M-DAX + + +217 +High +MODE1 + + +218 +Medium +MODE2 + + +219 +Low +MODE3 + + +216 +OFF +OFF + + + +1 + + + +0 +ToneControl + + + + +1 +Cursor +1 + + +1 +4 + +Smart Select 1 +Quick Select1 +1 + + +Smart Select 2 +Quick Select2 +2 + + +Smart Select 3 +Quick Select3 +3 + + +Smart Select 4 +Quick Select4 +4 + + +1 +1 + + + +1 +0 +TUNER +56 + + +FM + + +AM + + + + +Auto +AUTO + + +Manual +MANUAL + + + +1 +1 +1 +1 +1 +1 +1 +1 +1 +1 +1 +1 +1 + + + +1 +Blu-ray + +1 + + + +1 +CD + +0 + + + +1 +CD Control +ExtCdControl + + + +Power +2 + + + + + + +Play +1 + + +Pause +2 + + +Stop +3 + + +Previous +4 + + +Next +5 + + +Repeat +6 + + +Shuffle +7 + + + + + + +0 +0 + + +1 +1 + + +2 +2 + + +3 +3 + + +4 +4 + + +5 +5 + + +6 +6 + + +7 +7 + + +8 +8 + + +9 +9 + + ++10 +10 + + +Clear +11 + + + + + + +COAX In +2 + + +OPT In +3 + + +USB-DAC +4 + + +iPod/USB +5 + + +Disc Mode +6 + + + + + + +Open/Close +1 + + + + +1 + + +0 + + + + diff --git a/tox.ini b/tox.ini index d694c6b..c3e1847 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ # content of: tox.ini , put in same dir as setup.py [tox] -envlist = py34,py35,py36,py37,py38,pylint,lint +envlist = py35,py36,py37,py38,pylint,lint skip_missing_interpreters = True [testenv:pylint]