Size: 7931
Comment:
|
← Revision 6 as of 2023-12-08 13:45:04 ⇥
Size: 7487
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 6: | Line 6: |
== 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 |
|
Line 14: | Line 19: |
* '''radiocybernet.mp3''', '''THIS IS THE LISTENING LINK FOR USERS: THEY CONNECT HERE''' * '''rcyb.mp3''', this is an OLD listening link for users. Here it is for historical purposes, because of many old links on internet. |
* '''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. |
Line 17: | Line 22: |
'''rcyb.mp3''', the old link, falls back on '''radiocybernet.mp3''', the correct listening link. He falls back on '''rcybcell.mp3''', if exist - somebody is streaming from the street, it's a sort of emergency live broadcast so it has priority...if cell stream is not online, it falls back over '''rcyblive.mp3''', that is a streaming coming from a base station. 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 FUCKED UP''''') | 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''''') |
Line 28: | Line 33: |
<!-- Questo e' lo stream storico 24/7 di radio cybernet usato come fallback!!! parte da zaverio.com (asbesto) ed usa liquidsoap. --> |
<!-- Historical 24/7 radio cybernet archive used as fallback --> |
Line 36: | Line 40: |
<!-- questo e' il mountpoint dove si dovrebbe strimmare in diretta!!!!! In modo che chi ascolta da quello sotto (radiocybernet se non c'e' diretta da cellulare, altrimenti ascoltera' rcybcell.mp3 se c'e' trasmissione dal telefono) va in fallback qui, e se non c'e' la diretta, qui va in fallback sugli archivi. --> |
<!-- mountpoint of any fixed streaming point (a pc) --> |
Line 44: | Line 43: |
<username>xxxxxxxxxxxx</username> <password>yyyyyyy</password> |
|
Line 46: | Line 47: |
<fallback-override>1</fallback-override> <hidden>1</hidden> |
<hidden>0</hidden> |
Line 50: | Line 50: |
<!-- Mountpoint per streaming improvviso dal CELLULARE, in emergenza! Ascoltatori su radiocybernet.mp3 ascoltano questo stream; se questo non c'e', ascoltano rcyblive.mp3, che e' una normale trasmissione da casa in diretta; se non c'e', ascoltano l'archivio storico. SE NON C'E' VAFFANCULO PORCODDIO --> |
<!-- Mountpoint for live streaming from a cellular phone! fallback to fixed streaming mountpoint above. --> |
Line 57: | Line 54: |
<username>qqqqqqqqqqq</username> <password>wwwwwwwwwwwww</password> |
|
Line 59: | Line 58: |
<fallback-override>1</fallback-override> <hidden>1</hidden> |
<hidden>0</hidden> |
Line 63: | Line 61: |
<!-- Questo stream e' dove gli ascoltatori si ATTACCANO AL CAZZO E ASCOLTANO la trasmissione LIVE, SE C'E', ALTRIMENTI FELLA SU SEMPREONLINE! NON SI STRIMMA QUI SOPRA LO STREAM VA FATTO SU rcyblive.mp3 se si e' da casa o computer oppure rcybcell.mp3 se si e' da telefono! --> |
<!-- MAIN MOUNTPOINT FOR LISTENERS. This goes to cellular phone streaming, if exist. if not, falls back to PC mountpoint, if exist. If not, fallback to 24/7 historical streaming. --> |
Line 72: | Line 68: |
<fallback-override>1</fallback-override> | <!-- <fallback-override>1</fallback-override> a che cazzo serve PORCODIO NON SI CAPISCE DIOCANE --> |
Line 76: | Line 72: |
<!-- questo per compatibilita' col passato, punta a quello nuovo (radiocybernet) che punta al fallback. --> |
<!-- For historical reasons, a lot of internet links point to this old mountpoint. --> |
Line 80: | Line 77: |
<intro>./announce-radiocybernet.mp3</intro> <!-- look down for intro / path details --> | <intro>./announce-radiocybernet.mp3</intro> |
Line 82: | Line 79: |
<fallback-override>1</fallback-override> | |
Line 86: | Line 82: |
<!-- mountpoint di trasformatorio.mp3 con fallback. lo stream di fallback parte da zaverio.com (asbesto) ed e' fatto con liquidsoap --> |
<!-- mountpoint for trasformatorio.mp3 with fallback. Fallback come from zaverio.com (asbesto) using liquidsoap --> |
Line 100: | Line 97: |
Line 105: | Line 101: |
* Add passwords to streaming points, live and cell? | |
Line 107: | Line 102: |
Line 175: | Line 169: |
* 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! | * 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". :( |
How to configure an Icecast2 server
Contents
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 <relay> section (don't touch the relay shit, you usually don't need them):
<!-- settaggi mount per radiocybernet e suo fallback FUNZIOOOOONAAAAAAAAAAAAAAAAAAAHHHHH!!!!!!! --> <!-- Historical 24/7 radio cybernet archive used as fallback --> <mount> <mount-name>/radiocybernet-archive.mp3</mount-name> <hidden>0</hidden> </mount> <!-- mountpoint of any fixed streaming point (a pc) --> <mount> <mount-name>/rcyblive.mp3</mount-name> <username>xxxxxxxxxxxx</username> <password>yyyyyyy</password> <intro>./announce-radiocybernet.mp3</intro> <fallback-mount>/radiocybernet-archive.mp3</fallback-mount> <hidden>0</hidden> </mount> <!-- Mountpoint for live streaming from a cellular phone! fallback to fixed streaming mountpoint above. --> <mount> <mount-name>/rcybcell.mp3</mount-name> <username>qqqqqqqqqqq</username> <password>wwwwwwwwwwwww</password> <intro>./announce-radiocybernet.mp3</intro> <fallback-mount>/rcyblive.mp3</fallback-mount> <hidden>0</hidden> </mount> <!-- MAIN MOUNTPOINT FOR LISTENERS. This goes to cellular phone streaming, if exist. if not, falls back to PC mountpoint, if exist. If not, fallback to 24/7 historical streaming. --> <mount> <mount-name>/radiocybernet.mp3</mount-name> <intro>./announce-radiocybernet.mp3</intro> <fallback-mount>/rcybcell.mp3</fallback-mount> <!-- <fallback-override>1</fallback-override> a che cazzo serve PORCODIO NON SI CAPISCE DIOCANE --> <hidden>0</hidden> </mount> <!-- For historical reasons, a lot of internet links point to this old mountpoint. --> <mount> <mount-name>/rcyb.mp3</mount-name> <intro>./announce-radiocybernet.mp3</intro> <fallback-mount>/radiocybernet.mp3</fallback-mount> <hidden>1</hidden> </mount> <!-- mountpoint for trasformatorio.mp3 with fallback. Fallback come from zaverio.com (asbesto) using liquidsoap --> <mount> <mount-name>/trasformatorio-archives.mp3</mount-name> <hidden>0</hidden> </mount> <mount> <mount-name>/trasformatorio.mp3</mount-name> <fallback-mount>/trasformatorio-archives.mp3</fallback-mount> <fallback-override>1</fallback-override> <hidden>0</hidden> </mount>
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:
<ul class="mountlist"> <!-- LINK PER ASCOLTO SU QUALSIASI MOUNTPOINT, CRISTAZZO --> <li><a class="play" href="{@mount}">CLICK HERE TO LISTEN</a></li> <li><a class="play" href="{@mount}.m3u">M3U</a></li> <li><a class="play" href="{@mount}.xspf">XSPF</a></li> </ul> </xsl:otherwise> </xsl:choose> </div> </div> <div class="mountcont"> <!-- FANCULO AL CONTROLLO SE E' SOLO UN CAZZO DI FILE .OGG DI MERDA <xsl:if test="server_type and ((server_type = 'application/ogg') or (server_type = 'audio/ogg') or (server_type = 'application/mp3') or (server_type = 'audio/mp3'))"> --> <div class="audioplayer"> <audio controls="controls" preload="none"> <source src="{@mount}" type="{server_type}" /> </audio> </div> <!-- FANCULOOOOO!!! PLAYERS PER TUTTI!!! </xsl:if> -->
Paths and intro files, mp3 etc.
Path configuration for the internal icecast2 web server:
<webroot>/usr/share/icecast2/web</webroot>
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 <mount> section, for example:
<intro>./announce-radiocybernet.mp3</intro>
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.