summaryrefslogtreecommitdiff
path: root/templates/icecast2/ices-playlist.xml.j2
blob: ae9a6bea947da936aad2c6da11fd37fd5e4c11e3 (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
<?xml version="1.0"?>
<ices>
    <background>1</background>
    <logpath>/var/log/ices</logpath>
    <logfile>ices.log</logfile>
    <loglevel>4</loglevel>
    <consolelog>1</consolelog>

    <!-- <pidfile>/home/ices/ices.pid</pidfile> -->

    <stream>
        <metadata>
            <name>Example stream name</name>
            <genre>Example genre</genre>
            <description>A short description of your stream</description>
        </metadata>

        <input>
            <module>playlist</module>
            <param name="type">basic</param>
            <param name="file">playlist.txt</param>
            <param name="random">1</param>
            <param name="restart-after-reread">0</param>
            <param name="once">0</param>
        </input>

        <instance>
            <hostname>localhost</hostname>
            <port>8000</port>
            <password>password</password>
            <mount>/stream</mount>
	    <yp>0</yp>
            <reconnectdelay>60</reconnectdelay>
            <reconnectattempts>10</reconnectattempts> 
            <maxqueuelength>80</maxqueuelength>

	    <!--<encode>  
		<nominal-bitrate>64000</nominal-bitrate>
                <samplerate>44100</samplerate>
                <channels>2</channels>
	    </encode>-->
        </instance>
	</stream>
</ices>