Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HEOS CLI Protocol Specification 1.17 Updates #27

Merged
merged 3 commits into from
May 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.16 for players with firmware 1.583.145 or newer).
An async python library for controlling HEOS devices through the HEOS CLI Protocol (version 1.17 for players with firmware 2.41.140 or newer).

## Installation
```bash
Expand Down
80 changes: 42 additions & 38 deletions pyheos/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@


# Inputs
INPUT_ANALOG_IN_1 = "inputs/analog_in_1"
INPUT_ANALOG_IN_2 = "inputs/analog_in_2"
INPUT_AUX_8K = "inputs/aux_8k"
INPUT_AUX_IN_1 = "inputs/aux_in_1"
INPUT_AUX_IN_2 = "inputs/aux_in_2"
INPUT_AUX_IN_3 = "inputs/aux_in_3"
Expand All @@ -113,37 +116,39 @@
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"
INPUT_LINE_IN_4 = "inputs/line_in_4"
INPUT_BLURAY = "inputs/bluray"
INPUT_CABLE_SAT = "inputs/cable_sat"
INPUT_CD = "inputs/cd"
INPUT_COAX_IN_1 = "inputs/coax_in_1"
INPUT_COAX_IN_2 = "inputs/coax_in_2"
INPUT_OPTICAL_IN_1 = "inputs/optical_in_1"
INPUT_OPTICAL_IN_2 = "inputs/optical_in_2"
INPUT_DVD = "inputs/dvd"
INPUT_GAME = "inputs/game"
INPUT_GAME_2 = "inputs/game2"
INPUT_HD_RADIO = "inputs/hdradio"
INPUT_HDMI_ARC_1 = "inputs/hdmi_arc_1"
INPUT_HDMI_IN_1 = "inputs/hdmi_in_1"
INPUT_HDMI_IN_2 = "inputs/hdmi_in_2"
INPUT_HDMI_IN_3 = "inputs/hdmi_in_3"
INPUT_HDMI_IN_4 = "inputs/hdmi_in_4"
INPUT_HDMI_ARC_1 = "inputs/hdmi_arc_1"
INPUT_CABLE_SAT = "inputs/cable_sat"
INPUT_DVD = "inputs/dvd"
INPUT_BLURAY = "inputs/bluray"
INPUT_GAME = "inputs/game"
INPUT_LINE_IN_1 = "inputs/line_in_1"
INPUT_LINE_IN_2 = "inputs/line_in_2"
INPUT_LINE_IN_3 = "inputs/line_in_3"
INPUT_LINE_IN_4 = "inputs/line_in_4"
INPUT_MEDIA_PLAYER = "inputs/mediaplayer"
INPUT_CD = "inputs/cd"
INPUT_TUNER = "inputs/tuner"
INPUT_HD_RADIO = "inputs/hdradio"
INPUT_TV_AUDIO = "inputs/tvaudio"
INPUT_OPTICAL_IN_1 = "inputs/optical_in_1"
INPUT_OPTICAL_IN_2 = "inputs/optical_in_2"
INPUT_OPTICAL_IN_3 = "inputs/optical_in_3"
INPUT_PHONO = "inputs/phono"
INPUT_USB_AC = "inputs/usbdac"
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_TUNER = "inputs/tuner"
INPUT_TV = "inputs/tv"
INPUT_TV_AUDIO = "inputs/tvaudio"
INPUT_USB_AC = "inputs/usbdac"

VALID_INPUTS = (
INPUT_ANALOG_IN_1,
INPUT_ANALOG_IN_2,
INPUT_AUX_8K,
INPUT_AUX_IN_1,
INPUT_AUX_IN_2,
INPUT_AUX_IN_3,
Expand All @@ -156,35 +161,34 @@
INPUT_AUX5,
INPUT_AUX6,
INPUT_AUX7,
INPUT_AUX_8K,
INPUT_LINE_IN_1,
INPUT_LINE_IN_2,
INPUT_LINE_IN_3,
INPUT_LINE_IN_4,
INPUT_BLURAY,
INPUT_CABLE_SAT,
INPUT_CD,
INPUT_COAX_IN_1,
INPUT_COAX_IN_2,
INPUT_OPTICAL_IN_1,
INPUT_OPTICAL_IN_2,
INPUT_DVD,
INPUT_GAME_2,
INPUT_GAME,
INPUT_HD_RADIO,
INPUT_HDMI_ARC_1,
INPUT_HDMI_IN_1,
INPUT_HDMI_IN_2,
INPUT_HDMI_IN_3,
INPUT_HDMI_IN_4,
INPUT_HDMI_ARC_1,
INPUT_CABLE_SAT,
INPUT_DVD,
INPUT_BLURAY,
INPUT_GAME,
INPUT_LINE_IN_1,
INPUT_LINE_IN_2,
INPUT_LINE_IN_3,
INPUT_LINE_IN_4,
INPUT_MEDIA_PLAYER,
INPUT_CD,
INPUT_TUNER,
INPUT_HD_RADIO,
INPUT_TV_AUDIO,
INPUT_OPTICAL_IN_1,
INPUT_OPTICAL_IN_2,
INPUT_OPTICAL_IN_3,
INPUT_PHONO,
INPUT_USB_AC,
INPUT_ANALOG_IN_1,
INPUT_ANALOG_IN_2,
INPUT_RECORDER_IN_1,
INPUT_TUNER,
INPUT_TV_AUDIO,
INPUT_TV,
INPUT_USB_AC,
)

# Add to Queue Options
Expand Down