#acl FreaknetGroup:read,write,admin,delete,revert All:read = How to configure an Icecast2 server = <> == SERVER radio.dyne.org == Vatti a leggere gli appunti su come si entra e le password di streaming, hai un howto nella home del tuo portatile, dioporco == Fallback structure == We have different mountpoints, for streaming and listening. * '''radiocybernet-archive.mp3''', 24/7 streaming of all our archive since 1997 * '''rcyblive.mp3''', streaming point from a base station, usually a PC * '''rcybcell.mp3''', streaming point from a cellular phone! * '''radiocybernet.mp3''', '''THIS IS THE MOUNT POINT FOR LISTENERS: THEY CONNECT HERE TO LISTEN!''' * '''rcyb.mp3''', this is an OLD MOUNTPOINT for users. Here it is for historical purposes, because many old links on internet connect here. So, '''rcyb.mp3''', the old link, falls back on '''radiocybernet.mp3''', the correct listening link. He falls back on '''rcybcell.mp3''', if exist - it means that somebody is streaming from the street, it's a sort of emergency live broadcast so it has priority. If cellular phone stream is not online, it falls back over '''rcyblive.mp3''', that is a source coming from a base station, usually a studio, a PC, whatever. If this also is not working, it falls back on '''radiocybernet-archive.mp3''', that is the historical 24/7 streaming of everything we did since 1997. ('''''If the historical streaming is not working, WELL, SOMETHING IS REALLY FUCKED UP''''') == Basic & fallback configuration == You just have to set up icecast.xml as usual, and add those things after the section (don't touch the relay shit, you usually don't need them): {{{ /radiocybernet-archive.mp3 0 /rcyblive.mp3 xxxxxxxxxxxx yyyyyyy ./announce-radiocybernet.mp3 /radiocybernet-archive.mp3 0 /rcybcell.mp3 qqqqqqqqqqq wwwwwwwwwwwww ./announce-radiocybernet.mp3 /rcyblive.mp3 0 /radiocybernet.mp3 ./announce-radiocybernet.mp3 /rcybcell.mp3 0 /rcyb.mp3 ./announce-radiocybernet.mp3 /radiocybernet.mp3 1 /trasformatorio-archives.mp3 0 /trasformatorio.mp3 /trasformatorio-archives.mp3 1 0 }}} === TODO === * check the connected users problem (see below) == Icecast web page tweaks == To add a "CLICK HERE TO LISTEN" link and an embedded player for EVERY format (mp3, ogg, etc) instead of ogg only! Edit status.xsl: {{{
}}} == Paths and intro files, mp3 etc. == Path configuration for the internal icecast2 web server: {{{ /usr/share/icecast2/web }}} if chroot is not configured (look at the end of icecast.xml), then you place your mp3 files there! {{{ root@irc2:/etc/icecast2# cd /usr/share/icecast2/web/ root@irc2:/usr/share/icecast2/web# ls . icecast.png status-json.xsl xml2json.xslt .. icecast.png.old status.xsl announce-radiocybernet.mp3 key.png style.css auth.xsl server_version.xsl tunein.png root@irc2:/usr/share/icecast2/web# }}} Graphics is also here, for tweaking. announce-radiocybernet.mp3 is an intro file, you set it in a section, for example: {{{ ./announce-radiocybernet.mp3 }}} look up! == Problems == * connected users don't show in icecast server info page. they show on the last fallback but sometime don't. This seem to be related to hidden mountpoints! People on icecast IRC channel says this is "normal". :( * Fallback work only if all streams use the same bitrate (e.g. 128kbps)!!! If not, fallback hangs / slow down / fuck up. ----- CategoryMuseo