summaryrefslogtreecommitdiffstats
path: root/snapserver/config.json
blob: 4c931f91fce2271b39c61233b494b28c96f0780c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
  "name": "snapcast-server",
  "version": "0.25",
  "slug": "snapcastserver",
  "description": "Snapcast Server (with librespot)",
  "startup": "system",
  "boot": "auto",
  "map": ["share:rw"],
  "options": { 
    "stream": {
        "streams": ["pipe:///share/snapfifo/librespot?name=SpotifyConnect&sampleformat=44100:16:2", "pipe:///share/snapfifo/mopidy?name=Mopidy&sampleformat=44100:16:2", "tcp://0.0.0.0?port=4953&name=snapbroadcast"],
        "buffer": "1000",
        "codec": "flac",
        "send_to_muted": "false",
        "sampleformat": "48000:16:2"
        },
    "http": {
        "enabled": "true",
        "doc_root": " "
        },
    "tcp": {
        "enabled": "true"
        },
    "logging": {
        "enabled": "true"
        },
    "server": {
        "threads": "-1",
        "datadir": "/share/snapcast/"
        }
  },
  "schema": {
    "stream": {
        "streams": ["str"],
        "buffer": "int",
        "codec": "str",
        "send_to_muted": "str",
        "sampleformat": "str"
        },
    "http": {
        "enabled": "str",
        "doc_root": "str"
        },
    "tcp": {
        "enabled": "str"
        },
    "logging": {
        "enabled": "str"
        },
    "server": {
        "threads": "int",
        "datadir": "str"
        }
   },
  "ports": {"1704/tcp": 1704, "1705/tcp": 1705, "1780/tcp": 1780, "4953/tcp": 4953},
  "arch": ["armhf", "armv7", "aarch64", "amd64", "i386"]
  }