Skip to content

petercv/ucr2-integration-dunehd

Repository files navigation

Dune-HD integration for Remote Two

Using uc-integration-api

The driver lets you enter the IP address of a Dune-HD device and exposes a media player entity to the Remote Two.

Supported attributes:

  • State (on, standby, playing, paused, seeking, buffering, unknown)
  • Title
  • Artwork
  • Media duration
  • Media position

Supported commands:

  • Turn on & off (device will be put into standby)
  • Next / Previous
  • Rewind / Fast-forward
  • Volume up / down / Mute
  • Channel up / down
  • Play / pause
  • Back
  • Directional pad navigation and select
  • Digits
  • Context menu
  • Top menu
  • Subtitle
  • Audio track

Usage

Setup

  • Requires Python 3.11
  • Install required libraries:
    (using a virtual environment is highly recommended)
pip3 install -r requirements.txt

Run

python3 intg-dunehd/driver.py

See available environment variables in the Python integration library to control certain runtime features like listening interface and configuration directory.

The configuration file is loaded & saved from the path specified in the environment variable UC_CONFIG_HOME. Otherwise, the HOME path is used or the working directory as fallback.

Build Docker image

Simply run:

docker build .

Versioning

We use SemVer for versioning. For the versions available, see the tags and releases in this repository.

Changelog

The major changes found in each new release are listed in the changelog and under the GitHub releases.

License

This project is licensed under the Mozilla Public License 2.0. See the LICENSE file for details.