Skip to content

Commit

Permalink
Update inputs for CLI 1.16 to support TV and 8K sources (#23)
Browse files Browse the repository at this point in the history
* Update inputs for CLI 1.16

* Update readme for 1.16
  • Loading branch information
omarlatief authored May 26, 2024
1 parent 7e5c753 commit f500cf5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![image](https://img.shields.io/pypi/pyversions/pyheos.svg)](https://pypi.org/project/pyheos/)
[![image](https://img.shields.io/pypi/l/pyheos.svg)](https://pypi.org/project/pyheos/)

An async python library for controlling HEOS devices through the HEOS CLI Protocol (version 1.14 for players with firmware 1.505.140 or newer).
An async python library for controlling HEOS devices through the HEOS CLI Protocol (version 1.16 for players with firmware 1.583.145 or newer).

## Installation
```bash
Expand Down
4 changes: 4 additions & 0 deletions pyheos/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
INPUT_AUX5 = "inputs/aux5"
INPUT_AUX6 = "inputs/aux6"
INPUT_AUX7 = "inputs/aux7"
INPUT_AUX_8K = "inputs/aux_8k"
INPUT_LINE_IN_1 = "inputs/line_in_1"
INPUT_LINE_IN_2 = "inputs/line_in_2"
INPUT_LINE_IN_3 = "inputs/line_in_3"
Expand Down Expand Up @@ -140,6 +141,7 @@
INPUT_ANALOG_IN_1 = "inputs/analog_in_1"
INPUT_ANALOG_IN_2 = "inputs/analog_in_2"
INPUT_RECORDER_IN_1 = "inputs/recorder_in_1"
INPUT_TV = "inputs/tv"

VALID_INPUTS = (
INPUT_AUX_IN_1,
Expand All @@ -154,6 +156,7 @@
INPUT_AUX5,
INPUT_AUX6,
INPUT_AUX7,
INPUT_AUX_8K,
INPUT_LINE_IN_1,
INPUT_LINE_IN_2,
INPUT_LINE_IN_3,
Expand Down Expand Up @@ -181,6 +184,7 @@
INPUT_ANALOG_IN_1,
INPUT_ANALOG_IN_2,
INPUT_RECORDER_IN_1,
INPUT_TV,
)

# Add to Queue Options
Expand Down

0 comments on commit f500cf5

Please sign in to comment.