Return to ices.conf.dist CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / elwix / config / etc / default |
1.1 ! misho 1: <?xml version="1.0"?> ! 2: <ices:Configuration xmlns:ices="http://www.icecast.org/projects/ices"> ! 3: <Playlist> ! 4: <!-- This is the filename used as a playlist when using the builtin ! 5: playlist handler. --> ! 6: <File>playlist.txt</File> ! 7: <!-- Set this to 0 if you don't want to randomize your playlist, and to ! 8: 1 if you do. --> ! 9: <Randomize>1</Randomize> ! 10: <!-- One of builtin, perl, or python. --> ! 11: <Type>builtin</Type> ! 12: <!-- Module name to pass to the playlist handler if using perl or python. ! 13: If you use the builtin playlist handler then this is ignored --> ! 14: <Module>ices</Module> ! 15: <!-- Set this to the number of seconds to crossfade between tracks. ! 16: Leave out or set to zero to disable crossfading (the default). ! 17: <Crossfade>5</Crossfade> ! 18: --> ! 19: </Playlist> ! 20: ! 21: <Execution> ! 22: <!-- Set this to 1 if you want ices to launch in the background as a ! 23: daemon --> ! 24: <Background>0</Background> ! 25: <!-- Set this to 1 if you want to see more verbose output from ices --> ! 26: <Verbose>0</Verbose> ! 27: <!-- This directory specifies where ices should put the logfile, cue file ! 28: and pid file (if daemonizing). Don't use /tmp if you have l33t h4x0rz ! 29: on your server. --> ! 30: <BaseDirectory>/tmp</BaseDirectory> ! 31: </Execution> ! 32: ! 33: <Stream> ! 34: <Server> ! 35: <!-- Hostname or ip of the icecast server you want to connect to --> ! 36: <Hostname>localhost</Hostname> ! 37: <!-- Port of the same --> ! 38: <Port>8000</Port> ! 39: <!-- Encoder password on the icecast server --> ! 40: <Password>letmein</Password> ! 41: <!-- Header protocol to use when communicating with the server. ! 42: Shoutcast servers need "icy", icecast 1.x needs "xaudiocast", and ! 43: icecast 2.x needs "http". --> ! 44: <Protocol>http</Protocol> ! 45: </Server> ! 46: ! 47: <!-- The name of the mountpoint on the icecast server --> ! 48: <Mountpoint>/ices</Mountpoint> ! 49: <!-- The name of the dumpfile on the server for your stream. DO NOT set ! 50: this unless you know what you're doing. ! 51: <Dumpfile>ices.dump</Dumpfile> ! 52: --> ! 53: <!-- The name of you stream, not the name of the song! --> ! 54: <Name>Default stream</Name> ! 55: <!-- Genre of your stream, be it rock or pop or whatever --> ! 56: <Genre>Default genre</Genre> ! 57: <!-- Longer description of your stream --> ! 58: <Description>Default description</Description> ! 59: <!-- URL to a page describing your stream --> ! 60: <URL>http://localhost/</URL> ! 61: <!-- 0 if you don't want the icecast server to publish your stream on ! 62: the yp server, 1 if you do --> ! 63: <Public>0</Public> ! 64: ! 65: <!-- Stream bitrate, used to specify bitrate if reencoding, otherwise ! 66: just used for display on YP and on the server. Try to keep it ! 67: accurate --> ! 68: <Bitrate>128</Bitrate> ! 69: <!-- If this is set to 1, and ices is compiled with liblame support, ! 70: ices will reencode the stream on the fly to the stream bitrate. --> ! 71: <Reencode>0</Reencode> ! 72: <!-- Number of channels to reencode to, 1 for mono or 2 for stereo --> ! 73: <!-- Sampe rate to reencode to in Hz. Leave out for LAME's best choice ! 74: <Samplerate>44100</Samplerate> ! 75: --> ! 76: <Channels>2</Channels> ! 77: </Stream> ! 78: </ices:Configuration>