75 lines
2.2 KiB
Django/Jinja
75 lines
2.2 KiB
Django/Jinja
<icecast>
|
|
<location>Earth</location>
|
|
<admin>icemaster@localhost</admin>
|
|
|
|
<limits>
|
|
<clients>100</clients>
|
|
<sources>2</sources>
|
|
<queue-size>524288</queue-size>
|
|
<client-timeout>30</client-timeout>
|
|
<header-timeout>15</header-timeout>
|
|
<source-timeout>10</source-timeout>
|
|
<burst-on-connect>1</burst-on-connect>
|
|
<burst-size>65535</burst-size>
|
|
</limits>
|
|
|
|
<authentication>
|
|
<!-- Admin logs in with the username given below -->
|
|
<admin-user>{{ admin_user }}</admin-user>
|
|
<admin-password>{{ admin_password }}</admin-password>
|
|
</authentication>
|
|
|
|
<hostname>{{ hostname }}</hostname>
|
|
|
|
<listen-socket>
|
|
<port>{{ port }}</port>
|
|
</listen-socket>
|
|
<http-headers>
|
|
<header name="Access-Control-Allow-Origin" value="*" />
|
|
</http-headers>
|
|
|
|
|
|
<mount type="normal">
|
|
<mount-name>/radio-bullshit</mount-name>
|
|
|
|
<username>{{ source_username }}</username>
|
|
<password>{{ source_password }}</password>
|
|
|
|
<max-listeners>{{ max_listeners }}</max-listeners>
|
|
<dump-file>/tmp/dump-example1.ogg</dump-file>
|
|
<burst-size>65536</burst-size>
|
|
<fallback-mount>/example2.ogg</fallback-mount>
|
|
<fallback-override>1</fallback-override>
|
|
<fallback-when-full>1</fallback-when-full>
|
|
<intro>/example_intro.ogg</intro>
|
|
<hidden>1</hidden>
|
|
<public>1</public>
|
|
<http-headers>
|
|
<header name="Access-Control-Allow-Origin" value="http://webplayer.example.org" />
|
|
<header name="baz" value="quux" />
|
|
</http-headers>
|
|
</mount>
|
|
|
|
<fileserve>1</fileserve>
|
|
|
|
<paths>
|
|
<basedir>/usr/share/icecast2</basedir>
|
|
|
|
<logdir>/var/log/icecast</logdir>
|
|
<webroot>/usr/share/icecast2/web</webroot>
|
|
<adminroot>/usr/share/icecast2/admin</adminroot>
|
|
<alias source="/" destination="/index.html"/>
|
|
</paths>
|
|
|
|
<logging>
|
|
<accesslog>access.log</accesslog>
|
|
<errorlog>error.log</errorlog>
|
|
<loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
|
|
<logsize>10000</logsize> <!-- Max size of a logfile -->
|
|
</logging>
|
|
|
|
<security>
|
|
<chroot>0</chroot>
|
|
</security>
|
|
</icecast>
|