[icecast] Problem connecting to icecast2

Joe Jones joe_jones64 at hotmail.com
Thu Apr 15 08:37:00 PDT 2004



I'm no expert on Ices0.3 but that config doesn't look right to me.

I'm guessing that it's imperative to have the server config as part of the 
stream section since you can have multiple streams from one source going to 
multiple destinations (I think anyways.. :)

Take a look at my config for ices0.3 below :

---------------------------------------------------
<?xml version="1.0"?>
<ices:Configuration xmlns:ices="http://www.icecast.org/projects/ices">
  <Playlist>
    <File>playlist.txt</File>
    <Randomize>0</Randomize>
    <Type>builtin</Type>
    <Module>ices</Module>
  </Playlist>

  <Execution>
    <Background>0</Background>
    <Verbose>1</Verbose>
    <BaseDirectory>/local/icecast2/logs</BaseDirectory>
  </Execution>

  <Stream>
    <Server>
      <Hostname>localhost</Hostname>
      <Port>8000</Port>
      <Password>hackme</Password>
      <Protocol>http</Protocol>
    </Server>

    <Mountpoint>/stream.mp3</Mountpoint>
    <Name>Name</Name>
    <Genre>Genre</Genre>
    <Description>Default description</Description>
    <URL><a href="http://81.103.61.14/</URL">http://81.103.61.14/</URL</a>>
    <Public>0</Public>

    <Bitrate>128</Bitrate>
    <Reencode>0</Reencode>
    <Channels>2</Channels>
  </Stream>
</ices:Configuration>
---------------------------------------------------

<p><p>Joe.

<p>>From: "Kristoffer R. Munroe" <krism at ragemp3.com>
>Reply-To: icecast at xiph.org
>To: icecast at xiph.org
>Subject: Re: [icecast] Problem connecting to icecast2
>Date: Thu, 15 Apr 2004 08:23:45 -0700
>
>I see that I don't understand why it is still using the xaudiocast protocol 
>here is my config file located
>in this same directory.
>
><?xml version="1.0"?>
><ices:Configuration xmlns:ices="http://www.icecast.org/projects/ices">
>         <ices:Playlist>
>                 <ices:File>test.txt</ices:File>
>                 <ices:Randomize>1</ices:Randomize>
>                 <ices:Type>builtin</ices:Type>
>                 <ices:Module>mymp3stream</ices:Module>
>         </ices:Playlist>
>         <ices:Server>
>                 <ices:Hostname>localhost</ices:Hostname>
>                 <ices:Port>8000</ices:Port>
>                 <ices:Password>hackme</ices:Password>
>                 <ices:Protocol>http</ices:Protocol>
>         </ices:Server>
>         <ices:Execution>
>                 <ices:Background>0</ices:Background>
>                 <ices:Verbose>1</ices:Verbose>
>                 <ices:Base_Directory>/home/icecast</ices:Base_Directory>
>         </ices:Execution>
>         <ices:Stream>
>                 <ices:Name>Cool ices default name from XML</ices:Name>
>                 <ices:Genre>Cool ices genre from XML</ices:Genre>
>                 <ices:Description>Cool ices description from 
>XML</ices:Descripti
>on>
>                 <ices:URL>Cool ices URL from XML</ices:URL>
>                 <ices:Bitrate>128</ices:Bitrate>
>                 <ices:Public>1</ices:Public>
>                 <ices:Reencode>0</ices:Reencode>
>                 <ices:Samplerate>-1</ices:Samplerate>
>                 <ices:Channels>-1</ices:Channels>
>         </ices:Stream>
></ices:Configuration>
>
>
>
>[root at wyatt icecast]# ices -m mymp3stream -c ices.conf
>Unknown Node: Server
>Unknown Execution keyword: Base_Directory
>Logfile opened
>DEBUG: Sending following information to libshout:
>DEBUG: Stream: 0
>DEBUG: Host: 127.0.0.1:8000 (protocol: xaudiocast)
>DEBUG: Mount: /mymp3stream, Password: letmein
>DEBUG: Name: Cool ices default name from XML    URL: Cool ices URL from XML
>DEBUG: Genre: Cool ices genre from XML  Desc: Cool ices description from 
>XML
>DEBUG: Bitrate: 128     Public: 1
>DEBUG: Dump file: (null)
>DEBUG: Initializing playlist handler...
>DEBUG: Initializing builting playlist handler...
>DEBUG: Randomizing playlist...
>DEBUG: Builtin playlist handler serving: mp31.mp
>DEBUG: Filename cleaned up from [mp31.mp] to [mp31]
>Error opening mp31.mp: Error opening: No such file or directory
>DEBUG: Builtin playlist handler serving: mp3.mp3
>DEBUG: Filename cleaned up from [mp3.mp3] to [mp3]
>DEBUG: ID3v1: Title: Kryptonite
>DEBUG: ID3v1: Artist: 3 Doors Down
>DEBUG: ID3v2: version 3.0. Tag size is 112 bytes.
>DEBUG: ID3v2: Title found: Kryptonite
>DEBUG: ID3v2: Artist found: 3 Doors Down
>DEBUG: Skipped 626 bytes of garbage before MP3
>DEBUG: MPEG-1 layer III, 192 kbps, 44100 Hz, stereo
>DEBUG: Ext: 0   Mode_Ext: 0     Copyright: 0    Original: 1
>DEBUG: Error Protection: 0      Emphasis: 0     Padding: 0
>Playing mp3.mp3
>DEBUG: Updated metadata on mymp3stream to: 3 Doors Down - Kryptonite
>Error during send: Mount failed on http://127.0.0.1:8000/mymp3stream, 
>error: Log
>in failed
>Error during send: Mount failed on http://127.0.0.1:8000/mymp3stream, 
>error: Log
>in failed
>Error during send: Mount failed on http://127.0.0.1:8000/mymp3stream, 
>error: Log
>in failed
>DEBUG: Caught signal, shutting down...
>Ices Exiting...
>[root at wyatt icecast]#
>
>
>At 08:18 AM 4/15/2004, you wrote:
>>On Thursday, 15 April 2004 at 08:07, Kristoffer R. Munroe wrote:
>> > I am using the http protocol now and I still get the same results.
>>
>><snip>
>>
>> > >DEBUG: Sending following information to libshout:
>> > >DEBUG: Stream: 0
>> > >DEBUG: Host: 127.0.0.1:8000 (protocol: xaudiocast)
>>
>>According to the log file you attached, you're still using
>>xaudiocast. Double check your ices.conf.
>>--- >8 ----
>>List archives:  http://www.xiph.org/archives/
>>icecast project homepage: http://www.icecast.org/
>>To unsubscribe from this list, send a message to 
>>'icecast-request at xiph.org'
>>containing only the word 'unsubscribe' in the body.  No subject is needed.
>>Unsubscribe messages sent to the list will be ignored/filtered.
>
>--- >8 ----
>List archives:  http://www.xiph.org/archives/
>icecast project homepage: http://www.icecast.org/
>To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
>containing only the word 'unsubscribe' in the body.  No subject is needed.
>Unsubscribe messages sent to the list will be ignored/filtered.

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger

--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Icecast mailing list