[Icecast] script on connect

Pierpaolo gullˆa sviluppo at audiias.com
Sat Jan 17 21:37:02 UTC 2009

Hi guys ,

I'm tryng to use the script on connect function of icecast.

This is my icecast xml files

<!-- This config file contains a minimal set of configurable parameters,
     and mostly just contains the things you need to change.  We created
     this for those who got scared away from the rather large and heavily
     commented icecast.xml.dist file. -->
        <alias source="/" dest="/status.xsl"/>
          <loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
<!-- <authentication type="htpasswd"> -->
                <!--<option name="filename"
value="/var/www/icecast_auth/1.txt"/> -->
<!--<option name="allow_duplicate_users" value="1"/> -->
    <!-- </authentication> -->
        <stream-name>My audio stream</stream-name>
        <stream-description>My audio description <a

If you see , I call the bash script /etc/icecast2/bin/touch_connect

That is simply this

touch /var/www/touch.touch

The script has 777 chmod permission and the directory /var/www/ have
permission to 777 -R .

How I can use this function or the function " on-disconnect " , that
doenst'work , too.

My icecast it's the 2.3.1 on my ybuntu 8.0.4 box.

Big thanks for the help

Best regards


More information about the Icecast mailing list