Skip to content

Commit

Permalink
Marrantz SR5006 & SR5006 treated as AVR-X device | Fixed Mapping of M…
Browse files Browse the repository at this point in the history
…edia Player and AUX input functions
  • Loading branch information
ol-iver committed Jul 8, 2017
1 parent 71ca751 commit 29bbaef
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion HELP.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ DATA
__title__ = 'denonavr'

VERSION
0.5.1
0.5.2

====================================================================================

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.5.1
Automation Library for Denon AVR receivers - current version 0.5.2

## Installation

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ denonavr

|Build Status|

Automation Library for Denon AVR receivers - current version 0.5.1
Automation Library for Denon AVR receivers - current version 0.5.2

Installation
------------
Expand Down
2 changes: 1 addition & 1 deletion denonavr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
logging.getLogger(__name__).addHandler(logging.NullHandler())

__title__ = "denonavr"
__version__ = "0.5.1"
__version__ = "0.5.2"


def discover():
Expand Down
10 changes: 5 additions & 5 deletions denonavr/denonavr.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@

_LOGGER = logging.getLogger("DenonAVR")

DEVICEINFO_AVR_X_PATTERN = r"(.*AVR-X.*|.*SR500[8-9]|.*NR1604)"
DEVICEINFO_AVR_X_PATTERN = r"(.*AVR-X.*|.*SR500[6-9]|.*NR1604)"

SOURCE_MAPPING = {"TV AUDIO": "TV", "iPod/USB": "USB/IPOD", "Bluetooth": "BT",
"Blu-ray": "BD", "CBL/SAT": "SAT/CBL", "NETWORK": "NET"}
"Blu-ray": "BD", "CBL/SAT": "SAT/CBL", "NETWORK": "NET",
"Media Player": "MPLAY", "AUX": "AUX1"}

CHANGE_INPUT_MAPPING = {"Internet Radio": "IRP", "Online Music": "NET",
"Media Player": "MPLAY", "Media Server": "SERVER",
"Spotify": "SPOTIFY", "Flickr": "FLICKR",
"Favorites": "FAVORITES"}
"Media Server": "SERVER", "Spotify": "SPOTIFY",
"Flickr": "FLICKR", "Favorites": "FAVORITES"}

PLAYING_SOURCES = ("Online Music", "Media Server", "iPod/USB", "Bluetooth",
"Internet Radio", "Favorites", "SpotifyConnect", "Flickr",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from setuptools import find_packages, setup

setup(name='denonavr',
version='0.5.1',
version='0.5.2',
description='Automation Library for Denon AVR receivers',
long_description='Automation Library for Denon AVR receivers',
url='https://github.com/scarface-4711/denonavr',
Expand Down

0 comments on commit 29bbaef

Please sign in to comment.