|
1 |
| -# snapcontrol |
2 |
| -SDK and CLI client for Snapcast API |
| 1 | +# Snapcontrol |
3 | 2 |
|
4 |
| -## Download .deb packages (Version 0.3.1) |
| 3 | +Snapcontrol is a little CLI tool to control snapserver. It aims to be a full implementation of the snapcast API. |
| 4 | + |
| 5 | +## Usage |
| 6 | +Note: `<id>` for clients and groups can be found in the output of `server status` |
| 7 | +``` |
| 8 | +Commands: |
| 9 | +client status <id> |
| 10 | + Show status of a specific client |
| 11 | +
|
| 12 | +client volume <id> <volume> |
| 13 | + Set volume of a specific client |
| 14 | +
|
| 15 | +client name <id> <name> |
| 16 | + Change name of a specific client |
| 17 | +
|
| 18 | +client latency <id> <latency> |
| 19 | + Set latency of a specific client |
| 20 | +
|
| 21 | +group status <id> |
| 22 | +group mute <id> <true|false> |
| 23 | +group clients <id> |
| 24 | +group name <id> <name> |
| 25 | +
|
| 26 | +server status |
| 27 | + Show all groups and clients |
| 28 | +server version |
| 29 | + Show RPC version of server |
| 30 | +server deleteclient <id> |
| 31 | +
|
| 32 | +stream addstream <id> |
| 33 | +stream removestream <id> |
| 34 | +stream control <id> <play|pause|stop |
| 35 | +``` |
| 36 | + |
| 37 | +## Installation |
| 38 | +### Download .deb packages (Version 0.3.1) |
5 | 39 |
|
6 | 40 | * [amd64](http://deb.flupps.net/pool/main/s/snapcontrol/snapcontrol_0.3.1_amd64.deb)
|
7 | 41 | * [arm64](http://deb.flupps.net/pool/main/s/snapcontrol/snapcontrol_0.3.1_arm64.deb)
|
8 | 42 | * [armhf](http://deb.flupps.net/pool/main/s/snapcontrol/snapcontrol_0.3.1_armhf.deb)
|
9 | 43 | * [i386](http://deb.flupps.net/pool/main/s/snapcontrol/snapcontrol_0.3.1_i386.deb)
|
| 44 | + |
| 45 | +### Installation via apt |
| 46 | + |
| 47 | +Debian packages for all of the above architectures are available on the repository at deb.flupps.net |
| 48 | + |
| 49 | +``` |
| 50 | +sudo echo 'deb http://deb.flupps.net/ stable main' > /etc/apt/sources.list.d/flupps.list |
| 51 | +apt update |
| 52 | +apt install snapcontrol |
| 53 | +``` |
| 54 | + |
| 55 | +### Building snapcontrol |
| 56 | +```aiignore |
| 57 | +go build |
| 58 | +``` |
0 commit comments