diff --git a/HELP.md b/HELP.md index 576f75c..98e9b16 100644 --- a/HELP.md +++ b/HELP.md @@ -29,7 +29,7 @@ DATA __title__ = 'denonavr' VERSION - 0.9.6 + 0.9.7 ==================================================================================== diff --git a/README.md b/README.md index 68e81ab..13deb72 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # denonavr -[![Version](https://img.shields.io/badge/version-v0.9.6-orange.svg)](https://github.com/scarface-4711/denonavr) +[![Version](https://img.shields.io/badge/version-v0.9.7-orange.svg)](https://github.com/scarface-4711/denonavr) [![Build Status](https://travis-ci.com/scarface-4711/denonavr.svg?branch=master)](https://travis-ci.com/scarface-4711/denonavr) [![PyPi](https://img.shields.io/pypi/v/denonavr.svg)](https://pypi.org/project/denonavr) [![License](https://img.shields.io/github/license/scarface-4711/denonavr.svg)](LICENSE) -Automation Library for Denon AVR receivers - current version 0.9.6 +Automation Library for Denon AVR receivers - current version 0.9.7 ## Installation diff --git a/README.rst b/README.rst index 5b09876..b2f9837 100644 --- a/README.rst +++ b/README.rst @@ -4,7 +4,7 @@ denonavr .. |Build Status| .. image:: https://travis-ci.com/scarface-4711/denonavr.svg?branch=master :target: https://travis-ci.com/scarface-4711/denonavr -Automation Library for Denon AVR receivers - current version 0.9.6 +Automation Library for Denon AVR receivers - current version 0.9.7 Installation ------------ diff --git a/denonavr/__init__.py b/denonavr/__init__.py index ee6e771..171d11f 100644 --- a/denonavr/__init__.py +++ b/denonavr/__init__.py @@ -17,7 +17,7 @@ logging.getLogger(__name__).addHandler(logging.NullHandler()) __title__ = "denonavr" -__version__ = "0.9.6" +__version__ = "0.9.7" def discover(): diff --git a/denonavr/audyssey.py b/denonavr/audyssey.py index e9e6218..ca3f30a 100644 --- a/denonavr/audyssey.py +++ b/denonavr/audyssey.py @@ -95,9 +95,9 @@ def update(self): if response is None: return False - try: - audyssey_params = response.find("./cmd/list") - except (AttributeError, IndexError, TypeError): + audyssey_params = response.find("./cmd/list") + + if audyssey_params is None: return False for param in audyssey_params: @@ -132,8 +132,11 @@ def _set_audyssey(self, parameter, value): if response is None: return False - if response.find("cmd").text == "OK": - return True + try: + if response.find("cmd").text == "OK": + return True + except AttributeError: + pass return False diff --git a/doc/XML_data_dump.txt b/doc/XML_data_dump.txt index c6d150e..cbb6830 100644 --- a/doc/XML_data_dump.txt +++ b/doc/XML_data_dump.txt @@ -164,7 +164,7 @@ Upon success the AVR replies with: (needs more testing) - GetAudyssyInfo + GetAudysseyInfo diff --git a/setup.py b/setup.py index 8f7be9d..7521c96 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import find_packages, setup setup(name='denonavr', - version='0.9.6', + version='0.9.7', description='Automation Library for Denon AVR receivers', long_description='Automation Library for Denon AVR receivers', url='https://github.com/scarface-4711/denonavr', @@ -27,4 +27,5 @@ "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9" ])