File: index.html

package info (click to toggle)
snapcast 0.34.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,252 kB
  • sloc: cpp: 40,067; python: 3,260; sh: 455; makefile: 16
file content (64 lines) | stat: -rw-r--r-- 1,715 bytes parent folder | download | duplicates (6)
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
58
59
60
61
62
63
64
<html>

<head>
  <title>Snapcast Default Page</title>
  <style>
    body {
      background: #ffffff;
      color: rgb(0, 0, 0);
      font-family: 'Arial', sans-serif;
      margin: 20px;
      font-size: 20px;
    }

    pre {
      margin: 8px 0px 8px 0px;
      padding: 20px;
      border-width: 1px;
      border-style: dotted;
      border-color: #000000;
      background-color: #F5F6F7;
      font-style: italic;
      display: inline-block;
    }

    h1 {
      margin: 15px 0px 0px 50px;
      font-size: 180%;
      font-weight: bold;
    }
  </style>
</head>

<body>
  <h1>Snapcast Default Page</h1>
  <p>
    This is the default welcome page used to test the correct operation of the Snapcast built-in webserver.
  </p>
  <p>
    This webserver is a websocket endpoint for control clients (ws://<i>host</i>:1780/jsonrpc) and streaming clients
    (ws://<i>host</i>:1780/stream), but it can also host simple web pages. To serve a web page, you must configure the
    document root in the snapserver configuration file <b>snapserver.conf</b>, usually located in
    <b>/etc/snapserver.conf</b>
  </p>
  <p>
    The Snapserver installation should include a copy of <a href="https://github.com/badaix/snapweb">Snapweb</a>,
    located in
    <b>/usr/share/snapserver/snapweb/</b><br>
    To activate it, please configure the <b>doc_root</b> as follows, and restart Snapserver to activate the changes:
  </p>
  <pre>
# HTTP RPC #####################################
#
[http]

...

# serve a website from the doc_root location
doc_root = /usr/share/snapserver/snapweb/

#
################################################</pre>
</body>

</html>