Skip to main content

Control your Denon AVR amplifier from the command line

Project description

Funiculi

Funiculi is a tiny command-line utility which lets you interact with Denon AVR amplifiers over your local network.

It currently supports turning the unit on and off, querying its power status, changing its volume, and streaming music to it over DLNA.

Prerequisites

You need the following software installed on your system:

Installation

Installing from PyPI

To install Funiculi from PyPI, open a shell and run:

pip install funiculi

If that doesn’t work, try:

python3 -m pip install funiculi

Installing from the AUR

Direct your favorite AUR helper to the funiculi package.

Usage

funiculi [FLAGS] COMMAND

COMMAND is one of the following:

  • off
    Turns the device off.

  • on
    Turns the device on.

  • down
    Turns the volume down one step.

  • up
    Turns the volume up one step.

  • source [get | set NAME]
    Selects or queries the audio source.

  • status
    Queries whether the device is on standby.

  • dlna
    Sets up a local virtual output device that relays all audio to the receiver via DLNA.

See USAGE.md or man 1 funiculi for details.

Contributing to Funiculi

See CONTRIBUTING.md.

License

Copyright (c) 2024 Claudia Pellegrino

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. For a copy of the License, see LICENSE.

Synopsis

funiculi [FLAGS] COMMAND

Commands

COMMAND is one of the following:

off : Turns the device off.

on : Turns the device on.

down : Turns the volume down one step.

up : Turns the volume up one step.

source [get | set NAME] : Selects or queries the audio source. The get subcommand returns the current source. The set subcommand accepts a source name according to Denon’s protocol; the name is case-insensitive. Acceptable values vary by model. To find out the values for a specific model, omit this parameter while your device is set to a known source. Repeat for each source.

status : Queries whether the device is on standby.

dlna : Sets up a local virtual output device that relays all audio to the : receiver via DLNA.

Flags

The following flags are supported:

-h, --host=HOST

The AVR host to connect to.

Mandatory if no AVR_HOST environment variable is defined.

The parameter takes precedence over the environment variable.

-c, --ctrlport=CTRLPORT

The AVR control port to connect to.

The default is 23.

-w, --webport=WEBPORT

The AVR web port from which to obtain DLNA metadata.

The default is 60006.

-t, --timeout=TIMEOUT

The timeout for commands in milliseconds.

The default timeout is 100 ms.

-p, --path=PATH

The remote path to the UPnP XML descriptor.

The default value is: /upnp/desc/aios_device/aios_device.xml

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

funiculi-0.2.0.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

funiculi-0.2.0-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file funiculi-0.2.0.tar.gz.

File metadata

  • Download URL: funiculi-0.2.0.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for funiculi-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4ed174f264a1fb4750e99d159bde89eef284495f552a5fdf888bac3f058565dc
MD5 d519ad3d91a4bf898df2b6e3d15cd988
BLAKE2b-256 762b0228bb8930a02eba3076e57e1d8c88cf2565bc26d2f0d9bf132374507b93

See more details on using hashes here.

File details

Details for the file funiculi-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: funiculi-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for funiculi-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 597073518e4d456617ee04ed1543e60dcd5191e1e96f9dd265b7142dd61156d6
MD5 34a61e01f7f0b5b49135b5ef289f8be8
BLAKE2b-256 c6fc480d0a9f0bb7603ccd795bb7f593465f691c9a06ef05a1cf9b91993554fa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page