<icecast>

    <limits>
        <sources>2</sources>
    </limits>

    <location>ServidorEarth</location>

    <admin>icemaster@Slocalhost</admin>

    <authentication>
        <!-- Configure the shoutcast DSP to use this password -->
        <!-- This is used for icecast's web interface -->
        <admin-user>admin</admin-user>
        <admin-password>hackme</admin-password>
        <source-password>hackme</source-password>
    </authentication>

    <!-- This is the hostname other people will use to connect to your server.
    It affects mainly the urls generated by Icecast for playlists and yp
    listings. -->
    <hostname>localhost</hostname>
    <!-- You MUST define 2 ports, port and port +1 -->
        <mount>
                <mount-name>/live</mount-name>
                <stream-name>Radio Ao Vivo</stream-name>
                <max-listeners>1000</max-listeners>
<!--            <intro>/example_intro.ogg</intro> -->
                <dump-file>/tmp/live</dump-file>
                <burst-size>65536</burst-size>
                <fallback-mount>/autodj</fallback-mount>
                <fallback-override>1</fallback-override>
                <fallback-when-full>1</fallback-when-full>
        </mount>

        <shoutcast-mount>/live</shoutcast-mount>

        <listen-socket>
                <port>8000</port>
        </listen-socket>

        <listen-socket>
                <port>8001</port>
                <shoutcast-compat>1</shoutcast-compat>
        </listen-socket>

        <mount>
                <mount-name>/autodj</mount-name>
                <stream-name>Radio M7B</stream-name>
                <max-listeners>1000</max-listeners>
<!--            <intro>/example_intro.ogg</intro> -->
                <dump-file>/tmp/autodj</dump-file>
                <burst-size>65536</burst-size>
        </mount>
    
    <fileserve>1</fileserve>

    <paths>
        <!-- basedir is only used if chroot is enabled -->
        <basedir>/usr/local/share/icecast</basedir>
        <!-- Note that if <chroot> is turned on below, these paths must both
             be relative to the new root, not the original root -->
        <logdir>/usr/local/var/log/icecast</logdir>
        <webroot>/usr/local/share/icecast/web</webroot>
        <adminroot>/usr/local/share/icecast/admin</adminroot>
        <!-- <pidfile>/usr/local/share/icecast/icecast.pid</pidfile> -->
        <!-- Aliases: treat requests for 'source' path as being for 'dest' path
             May be made specific to a port or bound address using the "port"
             and "bind-address" attributes.
          -->
        <!--
        <alias source="/foo" destination="/bar"/>
        -->
        <!-- Aliases: can also be used for simple redirections as well,
             this example will redirect all requests for http://server:port/ to
             the status page
        -->
        <alias source="/" destination="/status.xsl"/>
        <!-- The certificate file needs to contain both public and private part.
             Both should be PEM encoded.
        <ssl-certificate>/usr/local/share/icecast/icecast.pem</ssl-certificate>
        -->
    </paths>

    <logging>
        <accesslog>access.log</accesslog>
        <errorlog>error.log</errorlog>
        <loglevel>2</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
    </logging>

    <security>
        <chroot>0</chroot>
    </security>

</icecast>

