<html><div style='background-color:'><DIV class=RTE>
<P>Hi all</P>
<P>I am new in this list and I just start playing with icecast and ices. </P>
<P>icescast run on Fedorra 2 for 3 weeks as Rock.</P>
<P>my problem is with ices 2.0:</P>
<P>this is my ices-playlist.xml</P>
<P> </P><FONT size=2>
<P><?xml version="1.0"?></P>
<P><ices></P>
<P><!-- run in background --></P>
<P><background>0</background></P>
<P><!-- where logs, etc go. --></P>
<P><logpath>/usr/local/var/log/ices</logpath></P>
<P><logfile>ices.log</logfile></P>
<P><!-- 1=error,2=warn,3=info,4=debug --></P>
<P><loglevel>4</loglevel></P>
<P><!-- set this to 1 to log to the console instead of to the file above --></P>
<P><consolelog>0</consolelog></P>
<P><!-- optional filename to write process id to --></P>
<P><!-- <pidfile>/home/ices/ices.pid</pidfile> --></P>
<P><stream></P>
<P><!-- metadata used for stream listing (not currently used) --></P>
<P><metadata></P>
<P><name>Example stream name</name></P>
<P><genre>Example genre</genre></P>
<P><description></description></P>
<P></metadata></P>
<P><!-- input module</P>
<P>The module used here is the playlist module - it has </P>
<P>'submodules' for different types of playlist. There are</P>
<P>two currently implemented, 'basic', which is a simple</P>
<P>file-based playlist, and 'script' which invokes a command</P>
<P>to returns a filename to start playing. --></P>
<P><input></P>
<P><module>playlist</module></P>
<P><param name="type">basic</param></P>
<P><param name="file">/usr/local/etc/playlist.txt</param></P>
<P><!-- random play --></P>
<P><param name="random">0</param></P>
<P><!-- if the playlist get updated that start at the beginning --></P>
<P><param name="restart-after-reread">0</param></P>
<P><!-- if set to 1 , plays once through, then exits. --></P>
<P><param name="once">1</param></P>
<P></input></P>
<P><!-- Stream instance</P>
<P>You may have one or more instances here. This allows you to </P>
<P>send the same input data to one or more servers (or to different</P>
<P>mountpoints on the same server). Each of them can have different</P>
<P>parameters. This is primarily useful for a) relaying to multiple</P>
<P>independent servers, and b) encoding/reencoding to multiple</P>
<P>bitrates.</P>
<P>If one instance fails (for example, the associated server goes</P>
<P>down, etc), the others will continue to function correctly.</P>
<P>This example defines two instances as two mountpoints on the</P>
<P>same server. --></P>
<P><instance></P>
<P><!-- Server details:</P>
<P>You define hostname and port for the server here, along with</P>
<P>the source password and mountpoint. --></P>
<P><hostname>10.0.0.2</hostname></P>
<P><port>8000</port></P>
<P><password>hackme</password></P>
<P><mount>/example2.ogg</mount></P>
<P><!-- Reconnect parameters:</P>
<P>When something goes wrong (e.g. the server crashes, or the</P>
<P>network drops) and ices disconnects from the server, these</P>
<P>control how often it tries to reconnect, and how many times</P>
<P>it tries to reconnect. Delay is in seconds.</P>
<P>If you set reconnectattempts to -1, it will continue </P>
<P>indefinately. Suggest setting reconnectdelay to a large value</P>
<P>if you do this.</P>
<P>--></P>
<P><reconnectdelay>2</reconnectdelay></P>
<P><reconnectattempts>15</reconnectattempts> </P>
<P><!-- maxqueuelength:</P>
<P>This describes how long the internal data queues may be. This</P>
<P>basically lets you control how much data gets buffered before</P>
<P>ices decides it can't send to the server fast enough, and </P>
<P>either shuts down or flushes the queue (dropping the data)</P>
<P>and continues. </P>
<P>For advanced users only.</P>
<P>--></P>
<P><maxqueuelength>100</maxqueuelength></P>
<P><!-- Live encoding/reencoding:</P>
<P>Currrently, the parameters given here for encoding MUST</P>
<P>match the input data for channels and sample rate. That </P>
<P>restriction will be relaxed in the future.</P>
<P>--></P>
<P><encode> </P>
<P><nominal-bitrate>32000</nominal-bitrate> <!-- bps. e.g. 64000 for 64 kbps --></P>
<P><samplerate>22050</samplerate></P>
<P><channels>2</channels></P>
<P></encode></P>
<P></instance></P>
<P></stream></P>
<P></ices></P>
<P>after the first song finish ices Shutdown </P>
<P>this is the ices.log</P><FONT size=2>
<P>[2005-04-25 11:55:43] INFO ices-core/main IceS 2.0.1 started...</P>
<P>[2005-04-25 11:55:43] INFO signals/signal_usr1_handler Metadata update requested</P>
<P>[2005-04-25 11:55:43] INFO playlist-basic/playlist_basic_get_next_filename Loading playlist from file "/usr/local/etc/playlist.txt"</P>
<P>[2005-04-25 11:55:43] INFO playlist-builtin/playlist_read Currently playing "/home/admin/002.ogg"</P>
<P>[2005-04-25 11:55:43] INFO stream/ices_instance_stream Connected to server: 10.0.0.2:8000/example2.ogg</P>
<P>[2005-04-25 11:55:43] DBUG reencode/reencode_page Reinitialising reencoder for new logical stream</P>
<P>[2005-04-25 11:55:43] INFO encode/encode_initialise Encoder initialising in VBR mode: 2 channels, 22050 Hz, nominal 32000</P>
<P>[2005-04-25 11:55:43] INFO audio/resample_initialise Initialised resampler for 2 channels, from 44100 Hz to 22050 Hz</P>
<P>[2005-04-25 16:02:59] INFO playlist-builtin/playlist_read Currently playing "/home/admin/003.ogg"</P>
<P>[2005-04-25 16:02:59] WARN playlist-builtin/playlist_read Skipping "/home/admin/003.ogg" as the serial number is the same as previous</P>
<P>[2005-04-25 16:02:59] INFO playlist-builtin/playlist_read Currently playing "/home/admin/004.ogg"</P>
<P>[2005-04-25 16:02:59] WARN playlist-builtin/playlist_read Skipping "/home/admin/004.ogg" as the serial number is the same as previous</P>
<P>[2005-04-25 16:02:59] INFO playlist-builtin/playlist_read Currently playing "/home/admin/005.ogg"</P>
<P>[2005-04-25 16:02:59] WARN playlist-builtin/playlist_read Skipping "/home/admin/005.ogg" as the serial number is the same as previous</P>
<P>[2005-04-25 16:02:59] INFO playlist-builtin/playlist_read Currently playing "/home/admin/002.ogg"</P>
<P>[2005-04-25 16:02:59] WARN playlist-builtin/playlist_read Skipping "/home/admin/002.ogg" as the serial number is the same as previous</P>
<P>[2005-04-25 16:02:59] INFO playlist-builtin/playlist_read Currently playing "/home/admin/003.ogg"</P>
<P>[2005-04-25 16:02:59] WARN playlist-builtin/playlist_read Skipping "/home/admin/003.ogg" as the serial number is the same as previous</P>
<P>[2005-04-25 16:02:59] INFO playlist-builtin/playlist_read Currently playing "/home/admin/004.ogg"</P>
<P>[2005-04-25 16:02:59] WARN playlist-builtin/playlist_read Skipping "/home/admin/004.ogg" as the serial number is the same as previous</P>
<P>[2005-04-25 16:02:59] WARN playlist-builtin/playlist_read Too many consecutive errors - exiting</P>
<P>[2005-04-25 16:02:59] DBUG stream-shared/stream_wait_for_data Shutdown signalled: thread shutting down</P>
<P>[2005-04-25 16:02:59] DBUG reencode/reencode_clear Clearing reencoder</P>
<P>[2005-04-25 16:02:59] DBUG input/input_loop An instance died, removing it</P>
<P>[2005-04-25 16:02:59] DBUG input/input_flush_queue Input queue flush requested</P>
<P>[2005-04-25 16:02:59] INFO input/input_loop All instances removed, shutting down...</P>
<P>[2005-04-25 16:02:59] INFO ices-core/main Shutdown complete</P></FONT>
<P> </P>
<P>any help welcome </P>
<P>thanks</P>
<P> </P>
<P> </P>
<P> </P></FONT>
<P><BR><BR> </P></DIV></div></html>