|
|
@@ -0,0 +1,58 @@
|
|
|
+<icecast>
|
|
|
+ <admin>mopidy@icecast</admin>
|
|
|
+ <fileserve>1</fileserve>
|
|
|
+ <hostname>localhost</hostname>
|
|
|
+ <location>Mopidy</location>
|
|
|
+ <shoutcast-mount>/mopidy</shoutcast-mount>
|
|
|
+
|
|
|
+ <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>
|
|
|
+ <source-password>mopidy</source-password>
|
|
|
+ <relay-password>mopidy</relay-password>
|
|
|
+ <admin-user>admin</admin-user>
|
|
|
+ <admin-password>mopidy</admin-password>
|
|
|
+ </authentication>
|
|
|
+
|
|
|
+ <listen-socket>
|
|
|
+ <port>8000</port>
|
|
|
+ </listen-socket>
|
|
|
+
|
|
|
+ <http-headers>
|
|
|
+ <header name="Access-Control-Allow-Origin" value="*" />
|
|
|
+ </http-headers>
|
|
|
+
|
|
|
+ <mount>
|
|
|
+ <mount-name>/mopidy</mount-name>
|
|
|
+ <fallback-mount>/silence.mp3</fallback-mount>
|
|
|
+ <fallback-override>1</fallback-override>
|
|
|
+ </mount>
|
|
|
+
|
|
|
+ <paths>
|
|
|
+ <basedir>/usr/share/icecast2</basedir>
|
|
|
+ <logdir>/var/log/icecast2</logdir>
|
|
|
+ <webroot>/usr/share/icecast2/web</webroot>
|
|
|
+ <adminroot>/usr/share/icecast2/admin</adminroot>
|
|
|
+ <alias source="/" destination="/status.xsl"/>
|
|
|
+ </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>
|