Metadata-Version: 2.1
Name: denonavr_cli
Version: 1
Summary: A simple CLI for Denon AV receivers
Author-email: Michał Górny <mgorny@gentoo.org>
Requires-Python: >=3.6
Description-Content-Type: text/x-rst
Classifier: License :: OSI Approved :: MIT License
Requires-Dist: denonavr
Project-URL: Homepage, https://github.com/mgorny/denonavr-cli/

============
denonavr-cli
============

denonavr-cli is a trivial CLI client for Denon AV receivers based
on the denonavr_ library.  Its biggest advantage is receiver
autodiscovery, so you don't have to specify the IP address.

When run without arguments, it scans the network for AVRs.  If it finds
exactly one, it displays its status::

    $ denonavr-cli
    Power: ON       Volume: -54.0 dB         Input: HEOS Music

Note that if there are more AVRs on the network or if you wish to
eliminate the autodiscovery delay, you need to specify the host
explicitly::

    $ denonavr-cli -H 192.168.1.6

To see the available commands and options::

    $ denonavr-cli --help

In general, commands without additional arguments print the current
status in a machine-readable format, e.g.::

    $ denonavr-cli volume
    -54.0

The commands that alter the state generally print the new value
after performing the action::

    $ denonavr-cli volume -r 4
    -50.0


.. _denonavr: https://pypi.org/project/denonavr/

