Crates.io | yamaha_avr |
lib.rs | yamaha_avr |
version | 0.2.0 |
source | src |
created_at | 2017-10-05 08:30:33.531128 |
updated_at | 2017-10-06 10:45:01.772861 |
description | A Library and CLI Tool for interaction with Yamaha AVRs |
homepage | |
repository | https://github.com/maxjoehnk/yamaha-avr-rs |
max_upload_size | |
id | 34469 |
size | 58,960 |
yamaha-avr-rs
provides a Library and a CLI for interaction with Yamaha AVRs.
Add this to your Cargo.toml
:
[dependencies]
yamaha_avr = "0.2"
Next add this to your crate root:
extern crate yamaha_avr;
Now you are able to connect to your avr via
yamaha::connect("ip".to_owned()); // connect takes a String instead of a str
Soon you will also be able to discover your local AVRs via
yamaha::discover();
which will return a List of found Receivers.
Requires Rust
cargo install yamaha_avr
USAGE:
yamaha-avr [OPTIONS] [SUBCOMMAND]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
--ip <ip> Set the AVR Ip
SUBCOMMANDS:
help Prints this message or the help of the given subcommand(s)
inputs Get available Inputs
mute Mute/Unmute
power Get/Set Power
select Select Input
volume Get/set the volume