Skip to content

Commit f4a59bf

Browse files
committed
write documentation
1 parent 656d556 commit f4a59bf

File tree

1 file changed

+52
-3
lines changed

1 file changed

+52
-3
lines changed

README.md

Lines changed: 52 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,58 @@
1-
# snapcontrol
2-
SDK and CLI client for Snapcast API
1+
# Snapcontrol
32

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)
539

640
* [amd64](http://deb.flupps.net/pool/main/s/snapcontrol/snapcontrol_0.3.1_amd64.deb)
741
* [arm64](http://deb.flupps.net/pool/main/s/snapcontrol/snapcontrol_0.3.1_arm64.deb)
842
* [armhf](http://deb.flupps.net/pool/main/s/snapcontrol/snapcontrol_0.3.1_armhf.deb)
943
* [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

Comments
 (0)