<?xml version="1.0"?>
<ices>

    <background>0</background> <!-- run in background? (unimplemented) -->
    <logpath>/tmp</logpath> <!-- where logs, etc go. -->
    <logfile>ices.log</logfile>
    <logsize>2048</logsize> <!-- the size the log file must be before rotation -->
    <loglevel>4</loglevel> <!-- 1=error,2=warn,3=info,4=debug -->
    <consolelog>0</consolelog> <!-- logfile is ignored if this is set to 1 -->
    <pidfile>/var/ices/ices.pid</pidfile> <!-- file to write process id to -->

	<stream>

        <input>
            <module>pcm</module>
            <param name="rate">44100</param>
            <param name="channels">2</param>
            <param name="metadatafilename">test</param>
            <param name="command">/usr/bin/ogg123</param>
            <param name="arg">--device=raw</param>
            <param name="arg">--quiet</param>
            <param name="arg">--file=-</param>
            <param name="arg">/path/or/url.ogg</param>
            <!-- limit of about 10 args currently, needs to be implemented better -->
        </input>

        <runner>
            <instance>
                <shout>
                    <hostname>localhost</hostname>
                    <port>8000</port>
                    <password>hackme</password>
                    <mount>/example1.ogg</mount>
                    <reconnectdelay>5</reconnectdelay>
                    <reconnectattempts>-1</reconnectattempts> 
                <shout>

                <shout>
                    <hostname>other.host</hostname>
                    <port>8000</port>
                    <password>hackme</password>
                    <mount>/example1.ogg</mount>
                </shout>

                <encode>  
                    <quality>0</quality>
                </encode>
            </instance>

            <instance>
                <hostname>localhost</hostname>
                <port>8000</port>
                <password>hackme</password>
                <mount>/example2.ogg</mount>

                <reconnectdelay>5</reconnectdelay>
                <reconnectattempts>-1</reconnectattempts> 

                <encode>  
                    <quality>-1</quality>
                </encode>
            </instance>
        </runner>

	</stream>
</ices>
