diff --git a/HELP.md b/HELP.md index a8a111e..192732d 100644 --- a/HELP.md +++ b/HELP.md @@ -29,7 +29,7 @@ DATA __title__ = 'denonavr' VERSION - 0.4.0 + 0.4.1 ==================================================================================== diff --git a/README.md b/README.md index 3c84f39..c8b303f 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.4.0 +Automation Library for Denon AVR receivers - current version 0.4.1 ## Installation diff --git a/README.rst b/README.rst index 3699653..bbc6aed 100644 --- a/README.rst +++ b/README.rst @@ -3,7 +3,7 @@ denonavr |Build Status| -Automation Library for Denon AVR receivers - current version 0.4.0 +Automation Library for Denon AVR receivers - current version 0.4.1 Installation ------------ diff --git a/denonavr/__init__.py b/denonavr/__init__.py index 2fed2aa..05c8d84 100644 --- a/denonavr/__init__.py +++ b/denonavr/__init__.py @@ -18,7 +18,7 @@ logging.getLogger(__name__).addHandler(logging.NullHandler()) __title__ = "denonavr" -__version__ = "0.4.0" +__version__ = "0.4.1" def discover(): diff --git a/denonavr/denonavr.py b/denonavr/denonavr.py index 39f2b26..815003b 100644 --- a/denonavr/denonavr.py +++ b/denonavr/denonavr.py @@ -462,12 +462,19 @@ def _get_renamed_deleted_sourcesapp(self): return (renamed_sources, deleted_sources, False) for child in root.findall("./cmd/functionrename/list"): - renamed_sources[child.find("name").text.strip()] = ( - child.find("rename").text.strip()) + try: + renamed_sources[child.find("name").text.strip()] = ( + child.find("rename").text.strip()) + except AttributeError: + continue for child in root.findall("./cmd/functiondelete/list"): - deleted_sources[child.find("FuncName").text.strip()] = "DEL" if ( - child.find("use").text.strip() == "0") else None + try: + deleted_sources[child.find("FuncName").text.strip( + )] = "DEL" if ( + child.find("use").text.strip() == "0") else None + except AttributeError: + continue return (renamed_sources, deleted_sources, True) diff --git a/setup.py b/setup.py index b2ae643..e7fa7cc 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import find_packages, setup setup(name='denonavr', - version='0.4.0', + version='0.4.1', description='Automation Library for Denon AVR receivers', long_description='Automation Library for Denon AVR receivers', url='https://github.com/scarface-4711/denonavr', diff --git a/tests/test_denonavr.py b/tests/test_denonavr.py index b501a25..bb43359 100644 --- a/tests/test_denonavr.py +++ b/tests/test_denonavr.py @@ -14,7 +14,7 @@ FAKE_IP = "10.0.0.0" TESTING_RECEIVERS = ("AVR-X4100W", "AVR-2312CI", "AVR-1912", "AVR-3311CI", - "M-RC610") + "M-RC610", "AVR-X4100W-2") APPCOMMAND_URL = "/goform/AppCommand.xml" STATUS_URL = "/goform/formMainZone_MainZoneXmlStatus.xml" diff --git a/tests/xml/AVR-X2100W-2-AppCommand.xml b/tests/xml/AVR-X2100W-2-AppCommand.xml new file mode 100644 index 0000000..4184e16 --- /dev/null +++ b/tests/xml/AVR-X2100W-2-AppCommand.xml @@ -0,0 +1,132 @@ + + + + + +CBL/SAT +TV + + +DVD +DVD + + +Blu-ray +Dune + + +GAME +Xbox360 + + +AUX1 +AUX1 + + +AUX2 +AUX2 + + +Media Player +AndroidTV + + +iPod/USB +iPod/USB + + +CD +CD + + +TUNER +Tuner + + +NETWORK +Online Music + + +TV AUDIO +TV Audio + + +Bluetooth +Bluetooth + + +SpotifyConnect +Spotify + + + + + + +CBL/SAT +CBL/SAT +1 + + +DVD +DVD +0 + + +Blu-ray +Blu-ray +1 + + +GAME +GAME +1 + + +AUX1 +AUX1 +1 + + +AUX2 +AUX2 +1 + + +Media Player +Media Player +1 + + +iPod/USB +iPod/USB +1 + + +CD +CD +0 + + +TUNER +TUNER +1 + + +NETWORK +NETWORK +1 + + +TV AUDIO +TV AUDIO +0 + + +Bluetooth +Bluetooth +1 + + + + diff --git a/tests/xml/AVR-X2100W-2-Deviceinfo.xml b/tests/xml/AVR-X2100W-2-Deviceinfo.xml new file mode 100644 index 0000000..784c2a8 --- /dev/null +++ b/tests/xml/AVR-X2100W-2-Deviceinfo.xml @@ -0,0 +1,2683 @@ + + +0001 +0300 +0 +01 +AV RECEIVER +*AVR-X2100W +02 +*AVR-X2100W +0005CD4556F4 +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 + + + +0 +Inputs +Inputs +265 + +1 +SourceRename + + + +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 + + + +0 +SetupAssistant +Setup Assistant +269 + + + + + +English +German +French +Italian +Spanish +Dutch +Swedish +Russian +Polish + +0 + + +0 +NetLink +0 + + +0 +ClockAdjust +0 + + +1 +SleepTimer +120 +10 + +1 + +1 + + +0 +WakeupTimer +0 + + +0 +PartyMode +01 +0 + + +0 +BatteryMode +0 + + +0 +DeviceColor + +0 + + +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 +Dialog Level +DialogLevel +0 +48 +24 +0.5 + +1 +1 + + + +1 +Subwoofer Level +SubwooferLevel +1 + +Level + +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 + + +SBL +Surround Back L +0 +48 +24 +0.5 + + +SBR +Surround Back R +0 +48 +24 +0.5 + + +SB +Surround Back +0 +48 +24 +0.5 + + +FHL +Front Height L +0 +48 +24 +0.5 + + +FHR +Front Height R +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 +UserManualViewer +UserManualViewer +0 + + +1 +Front Display +FrontDisplay + +1 +Dimmer + + +Bright +3 + + +Dim +2 + + +Dark +1 + + +Off +0 + + + +1 +1 + + + + +1 +Slideshow +Slideshow + +1 +1 + + + +1 +Slideshow Interval +SlideshowInterval + +OFF +5 +10 +15 +20 +30 +60 + + +1 +1 + + + +1 +Information +NetworkInfo +0 + +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 +Restorer +Restorer +0 + + +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 +Video Output +HdmiVideoOut + + +Auto(Dual) +3 + + +Monitor 1 +1 + + +Monitor 2 +2 + + + + +1 +1 + + + +1 +Graphic EQ +GraphicEQ +0 + + +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 + + +Rear Height L/R +12 + + +Surround Height L/R +10 + + +Front Dolby L/R +13 + + +Surround Dolby L/R +14 + + +Back Dolby L/R +15 + + +Top Surround +11 + + + + +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 + + +Rear Height L +22 + + +Rear Height R +25 + + +Surround Height L +19 + + +Surround Height R +20 + + +Front Dolby L +23 + + +Front Dolby R +24 + + +Surround Dolby L +26 + + +Surround Dolby R +27 + + +Back Dolby L +28 + + +Back Dolby R +29 + + +Top Surround +21 + + + + +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 +0 + +1 +MultEQ XT +MultEq + + +Reference +3 + + +L/R Bypass +2 + + +Flat +1 + + +Off +0 + + + + +1 +Dynamic EQ +DynamicEq + + +Off +0 + + +On +1 + + + + +1 +Dynamic Volume +DynamicVolume + + +Off +0 + + +Light +1 + + +Medium +2 + + +Heavy +3 + + + + +1 +1 + + + +1 +Surround Parameter +SurroundParameter +0 + +1 +Cinema EQ +CinemaEq + + +Off +0 + + +On +1 + + + + +1 +1 + + + +1 +Audio Delay +AudioDelay +0 +0 +200 +1 + +1 +1 + + + +1 +External Contol +ExternalContol +0 + +1 +1 + + + +1 +Source Rename +SourceRename +0 + +1 +1 +1 + + + +1 +Zone2 Setup +Zone2Setup +0 + +1 +Lch Level +LchLevel +-12 +12 +1 + + +1 +Rch Level +RchLevel +-12 +12 +1 + + +1 +1 + + + +1 +Sound Mode +SoundMode +0 + + + +MOVIE +1 + + +MOVIE +MUSIC + + +MUS +MUSIC + + +3 +GAM + + + + +1 +1 +1 +1 + + + +1 +INFO +StatusInfo +0 + +1 +1 +1 +1 +1 + + + +1 +Asynchronous Favorites +AsynchronousFavorites +0 + +1 +1 + + + +1 +Front Speaker +SpeakerAB + + +Speaker A +1 + + +Speaker B +2 + + +Speaker A+B +3 + + + +1 + + + + + +0 +Clock +0 + + +1 +AllZonePower +0 + + +1 +AllZoneMute +0 + + +0 +SystemFavorites +50 + +0 + +0 + + + + + +0 + + +1 + + +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 +34 +Favorites +Favorites + + +4 +26 +Internet Radio +Internet Radio + + +4 +55 +Spotify +SpotifyConnect + + +4 +25 +Media Server +Media Server + + +4 +29 +Flickr +Flickr + + +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 + + +5 +212 +Direct +DIRECT + + +5 +212 +Stereo +STEREO + + +5 +213 +Pure Direct +PURE DIRECT + + +5 +214 +Dolby Digital +DOLBY DIGITAL + + +5 +214 +DTS Surround +DTS SURROUND + + +5 +224 +Auto +AUTO + + +5 +215 +Multi Ch Stereo +MULTI CH STEREO + + +5 +215 +Rock Arena +ROCK ARENA + + +5 +215 +Jazz Club +JAZZ CLUB + + +5 +215 +Mono Movie +MONO MOVIE + + +5 +215 +Video Game +VIDEO GAME + + +5 +215 +Matrix +MATRIX + + +5 +215 +Virtual +VIRTUAL + + +5 +220 +Movie +MOVIE + + +5 +221 +Music +MUSIC + + +5 +222 +Game +GAME + + +5 +223 +Pure +PURE + + + + +1 +4 +Internet Radio + + +2 +4 +iPod/USB + + +3 +4 +TUNER + + +4 +4 +Media Server + + +5 +4 +CBL/SAT + + +6 +4 +Blu-ray + + +7 +4 +Media Player + + +8 +4 +GAME + + + + +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 + + +34 +Favorites +Favorites +root/NETWORK/Favorites +2 + + + +26 +Internet Radio +Internet Radio +root/NETWORK/Internet Radio +2 + + + +55 +SpotifyConnect +Spotify +root/NETWORK/SpotifyConnect +2 + + + +25 +Media Server +Media Server +root/NETWORK/Media Server +2 + + + +29 +Flickr +Flickr +root/NETWORK/Flickr +2 + + + +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 + + + +22 +iPod/USB +iPod/USB +root/iPodUSB +3 +iPod + + +17 +CD +CD +root/CD +3 + + + +19 +TUNER +Tuner +root/TUNER +3 +TunerOperation + + +23 +NETWORK +Online Music +root/NETWORK +3 +NetUsb + + +3 +TV AUDIO +TV Audio +root/TV AUDIO +3 + + + +59 +Bluetooth +Bluetooth +root/Bluetooth +3 + + + + +1 +1 +1 + + + +1 +Sound Mode + + +Direct/Stereo + + +Pure Direct + + +Standard + + +Auto + + +DSP Simulation + + + + +212 +Direct/Stereo +Direct + + +212 +Direct/Stereo +Stereo + + +213 +Pure Direct +Pure Direct + + +214 +Standard +Dolby Digital + + +214 +Standard +DTS Surround + + +224 +Auto +Auto + + +215 +DSP Simulation +Multi Ch Stereo + + +215 +DSP Simulation +Rock Arena + + +215 +DSP Simulation +Jazz Club + + +215 +DSP Simulation +Mono Movie + + +215 +DSP Simulation +Video Game + + +215 +DSP Simulation +Matrix + + +215 +DSP Simulation +Virtual + + + +1 + +1 + + + +1 +Restorer +Restorer + + +217 +High +MODE1 + + +218 +Medium +MODE2 + + +219 +Low +MODE3 + + +216 +OFF +OFF + + + +1 + +1 + + +0 +ToneControl + + + + +1 +Cursor +1 +1 + + +1 +4 + +Quick Select 1 +Quick Select1 +1 +1 + + +Quick Select 2 +Quick Select2 +1 +2 + + +Quick Select 3 +Quick Select3 +1 +3 + + +Quick Select 4 +Quick Select4 +1 +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 +Blu-ray + +1 + +1 + + +0 +CD + +0 + +0 + + +0 +Dock + +0 + +0 + + +0 +0 + + + +1 + +1 +Favorites +34 +root/NETWORK/Favorites +1 +100 + +1 +1 +1 + +1 + + +1 +Internet Radio +26 +root/NETWORK/Internet Radio +1 +60 + +0 +0 +1 +1 +0 +0000100 +0 + +1 + + +1 +SpotifyConnect +55 +root/NETWORK/SpotifyConnect +3 + + +1 + + +1 +Media Server +25 +root/NETWORK/Media Server +2 + +1 +1 +1 +0 +1001100 +1 +1 + +1 + + +1 +Flickr +29 +root/NETWORK/Flickr +1 + +0 +1 +1 +1111100 +0 +1 + +1 + + +1 +iPod/USB +22 +root/iPodUsb +1 + +0 +1 +1 +1111111 +1 +1 +1 +1 + +1 + + + +1 +28 +root/iPodPlayer +1 + +1111100 +1 + +1 + + + + +1 + + +1 + + +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 +34 +Favorites +Favorites + + +4 +26 +Internet Radio +Internet Radio + + +4 +55 +Spotify +SpotifyConnect + + +4 +25 +Media Server +Media Server + + +4 +29 +Flickr +Flickr + + +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 + + + + +1 +4 +Internet Radio + + +2 +4 +iPod/USB + + +3 +4 +TUNER + + +4 +4 +Media Server + + +5 +4 +CBL/SAT + + +6 +4 +Blu-ray + + +7 +4 +Media Player + + +8 +4 +GAME + + + + +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 + + +34 +Favorites +Favorites +root/NETWORK/Favorites +2 + + + +26 +Internet Radio +Internet Radio +root/NETWORK/Internet Radio +2 + + + +25 +Media Server +Media Server +root/NETWORK/Media Server +2 + + + +29 +Flickr +Flickr +root/NETWORK/Flickr +2 + + + +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 + + + +22 +iPod/USB +iPod/USB +root/iPodUSB +3 +iPod + + +17 +CD +CD +root/CD +3 + + + +19 +TUNER +Tuner +root/TUNER +3 +TunerOperation + + +23 +NETWORK +Online Music +root/NETWORK +3 +NetUsb + + +3 +TV AUDIO +TV Audio +root/TV AUDIO +3 + + + +59 +Bluetooth +Bluetooth +root/Bluetooth +3 + + + + +1 +1 +1 + + + +0 + + + +0 +Restorer +Restorer + + +217 +High +MODE1 + + +218 +Medium +MODE2 + + +219 +Low +MODE3 + + +216 +OFF +OFF + + + +1 + +1 + + +0 +ToneControl + + + + +1 +Cursor +1 +1 + + +1 +4 + +Quick Select 1 +Quick Select1 +1 +1 + + +Quick Select 2 +Quick Select2 +1 +2 + + +Quick Select 3 +Quick Select3 +1 +3 + + +Quick Select 4 +Quick Select4 +1 +4 + + +1 +1 + + + +1 +0 +TUNER +56 + + +FM + + +AM + + + + +Auto +AUTO + + +Manual +MANUAL + + + +1 +1 +1 +1 +1 +1 +1 +1 + +1 + + +1 +Blu-ray + +1 + +1 + + +0 +CD + +0 + +0 + + +0 +Dock + +0 + +0 + + +0 +0 + + + +1 + +1 +Favorites +34 +root/NETWORK/Favorites +1 +100 + +1 +1 +1 + +1 + + +1 +Internet Radio +26 +root/NETWORK/Internet Radio +1 +60 + +0 +0 +1 +1 +0 +0000100 +0 + +1 + + +1 +SpotifyConnect +55 +root/NETWORK/SpotifyConnect +3 + + +1 + + +1 +Media Server +25 +root/NETWORK/Media Server +2 + +1 +1 +1 +0 +1001100 +1 +1 + +1 + + +1 +Flickr +29 +root/NETWORK/Flickr +1 + +0 +1 +1 +1111100 +0 +1 + +1 + + +1 +iPod/USB +22 +root/iPodUsb +1 + +0 +1 +1 +1111111 +1 +1 +1 +1 + +1 + + + + diff --git a/tests/xml/AVR-X2100W-2-formMainZone_MainZoneXml.xml b/tests/xml/AVR-X2100W-2-formMainZone_MainZoneXml.xml new file mode 100644 index 0000000..1bc8425 --- /dev/null +++ b/tests/xml/AVR-X2100W-2-formMainZone_MainZoneXml.xml @@ -0,0 +1,35 @@ + + +Denon AVR-X2100W +ON +ON +SALON +ON +OFF + +OFF + + + + +ON + + + + + + +FALSE +2 +DENON_MODEL +6 +TV +NET +PLII Cinema +Absolute +-28.0 +off + +FALSE +TRUE + diff --git a/tests/xml/AVR-X2100W-2-formMainZone_MainZoneXmlStatus.xml b/tests/xml/AVR-X2100W-2-formMainZone_MainZoneXmlStatus.xml new file mode 100644 index 0000000..9c38dce --- /dev/null +++ b/tests/xml/AVR-X2100W-2-formMainZone_MainZoneXmlStatus.xml @@ -0,0 +1,57 @@ + + +SALON +ON + +CBL/SAT +DVD +Blu-ray +GAME +AUX1 +AUX2 +Media Player +iPod/USB +CD +TUNER +NETWORK +TV AUDIO +Bluetooth + + +TV +DVD +Dune +Xbox360 +AUX1 +AUX2 +AndroidTV +iPod/USB +CD +Tuner +Online Music +TV Audio +Bluetooth + + +USE +DEL +USE +USE +USE +USE +USE +USE +DEL +USE + +DEL +USE + +SAT/CBL +Absolute +---- +PLII Cinema +-28.0 +off + + diff --git a/tests/xml/AVR-X2100W-2-formNetAudio_StatusXml.xml b/tests/xml/AVR-X2100W-2-formNetAudio_StatusXml.xml new file mode 100644 index 0000000..6f759ea --- /dev/null +++ b/tests/xml/AVR-X2100W-2-formNetAudio_StatusXml.xml @@ -0,0 +1,80 @@ + + +0 + +0 +8 +0 +0 +0 +0 +0 +0 +0 +0 + + +Online Music +Favorites +Internet Radio +Flickr +Media Server + + + + [ 0/4 ] + + +-1 + +1 + +4 +../img/favorite_off.png +../img/favorite_on.png +FAVORITES +../img/Internetradio_off.png +../img/Internetradio_on.png +IRADIO +../img/Mediaserver_off.png +../img/Mediaserver_on.png +SERVER +../img/flickr_off.png +../img/flickr_on.png +FLICKR + +0 +0 + +0 + + + + + + + + + + + +0 +0 +0 +0 +0 +OFF +OFF +2 +DENON_MODEL +6 +TV +NET +PLII Cinema +Absolute +-28.0 +off + +FALSE +TRUE +