[Icecast] Usage of on-connect and on-disconnect

Karl Heyes karl at xiph.org
Wed Jan 21 04:26:37 UTC 2009


Pierpaolo gullˆa wrote:
> Hi guys , I ' m reading the icecast documentation , in particular here: 
> http://www.icecast.org/docs/icecast-2.3.1/icecast2_config_file.html#mount
...
> So If I write a simple script
> 
> #!/bin/bash
> 
> touch $1
> 
> 
> 
> And the mountpoint name it's testmount.ogg , when I connect to this 
> mountoint , the script create a file called testmount.ogg ?

your thinking is correct except for one detail, the mountpoint would be 
/testmount.ogg which is something you have to be careful of if you 
intend to do things like touch

karl.





More information about the Icecast mailing list