tarasian666, ладно забыли про RadioCMS снес к чертям)))
занова установил icecast + ices0
Теперь нужно сделать так чтобы если на канале live нет ведущих, то играл канал /nonstop.
вот коды.
icecast.xml
<icecast>
<limits>
<clients>500</clients>
<sources>500</sources>
</limits>
<authentication>
<source-password>пароль</source-password>
<admin-user>логин</admin-user>
<admin-password>пмапроль</admin-password>
</authentication>
<directory>
<yp-url-timeout>1</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
<hostname>localhost</hostname>
<listen-socket>
<port>8000</port>
</listen-socket>
<mount>
<mount-name>/live</mount-name>
<password>пароль</password>
<charset>CP1251</charset>
<fallback-mount>/nonstop</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
</mount>
<mount>
<mount-name>/nonstop</mount-name>
<charset>CP1251</charset>
<password>пароль</password>
</mount>
<mount>
<mount-name>/test</mount-name>
<password>пароль</password>
<charset>CP1251</charset>
</mount>
<fileserve>1</fileserve>
<paths>
<logdir>/var/log/icecast</logdir>
<webroot>/usr/local/share/icecast/web</webroot>
<adminroot>/usr/local/share/icecast/admin</adminroot>
<alias source="/foo" dest="/index.html"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>2</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
<logsize>200000</logsize> <!-- Max size of a logfile -->
<logarchive>1</logarchive>
</logging>
<security>
<chroot>0</chroot>
<changeowner>
<user>icecast</user>
<group>icecast</group>
</changeowner>
</security>
</icecast>
ices.conf
<?xml version="1.0"?>
<ices:Configuration xmlns:ices="http://www.icecast.org/projects/ices">
<Playlist>
<File>/media/playlist.txt</File>
<Randomize>1</Randomize>
<Type>builtin</Type>
<Module>ices</Module>
<Crossfade>5</Crossfade>
-->
</Playlist>
<Execution>
<Background>1</Background>
<Verbose>0</Verbose>
<BaseDirectory>/tmp</BaseDirectory>
</Execution>
<Stream>
<Server>
<Hostname>localhost</Hostname>
<!-- Port of the same -->
<Port>8000</Port>
<!-- Encoder password on the icecast server -->
<Password>пароль</Password>
<Protocol>http</Protocol>
</Server>
<Mountpoint>/nonstop</Mountpoint>
<Dumpfile>ices.dump</Dumpfile>
-->
<Name>Default stream</Name>
<Genre>Default genre</Genre>
<Description>Default description</Description>
<URL>http://localhost:8000/nonstop</URL>
<Public>0</Public>
<Bitrate>96</Bitrate>
<Reencode>2</Reencode>
<Samplerate>44100</Samplerate>
-->
<Channels>2</Channels>
</Stream>
</ices:Configuration>
но почему то неперекидывает на nonstop((( битрейт 96 Стерео 44100Hz
помогите плиз....