RADIO RAMONA RUELLES https://hackerspace.be/Radio-ruelle http://ooooo.be/ramona/ http://ooooo.be/radio-ramona/ http://ooooo.be/ruelles/ https://hackerspace.be/Mindsynthesis MEDIA SERVER sudo apt-get update sudo apt-get install icecast2 (install streaming server) http://en.flossmanuals.net/icecast/ http://dev.radiopiloten.de/dokuwiki/doku.php/liquidsoap:installation (install liquidsoap) sudo apt-get install liquidsoap-plugin-all LIQUIDSOAP sudo apt-get install liquidsoap http://savonet.sourceforge.net/download.html LAPTOP/DEVICE/RASPBERRY PI sudo apt-get install gstreamer-0.10 (streaming software) http://gstreamer.freedesktop.org/ sudo apt-get install (libraries) > good/bad/ugly sudo apt-get install gstreamer-tools gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad gstreamer0.10-plugins-good libshout-ocaml sudo apt-get install lame sudo apt-get install l gstreamer0.10-pulseaudio sudo apt-get install l gstreamer0.10-alsa SCRIPT STREAM gst-launch-0.10 alsasrc device=plughw:0 ! audioresample ! audioconvert ! audio/x-raw-int,rate=22050,channel=1,depth=8 ! audioresample ! audioconvert ! queue ! lame ! taginject tags="title=RADIO,artist=LIVE" ! queue ! shout2send ip=188.210.92.35 password=jonction mount=ruelles.live streamname="live radio" description="transfeminist" genre="radio" port=80 gst-launch-0.10 pulsesrc device=plughw:0 ! audioresample ! audioconvert ! audio/x-raw-int,rate=22050,channel=1,depth=8 ! audioresample ! audioconvert ! queue ! lame ! taginject tags="title=RADIO,artist=LIVE" ! queue ! shout2send ip=188.210.92.35 password=###### mount=ruelles.live streamname="live radio" description="transfeminist" genre="radio" port=80 ****** = kruispunten en francais -------------------------------------------------------------- PREPARE AUDIO FILES FOR LIQUIDSOAP ------------------------------------------------------------- AUDIO SOFTWARE: apt-get install sox ALL to mp3 for f in *.*; do sox "$f" -t mp3 -r 44100 -c 2 "$/{f%.*}.mp3"; done mv *.mp3 mp3 ---------------------------------------------------------------- -t|--type FILETYPE File type of audio -r|--rate RATE Sample rate of audio -c|--channels CHANNELS Number of channels of audio data; e.g. 2 = stereo ---------------------------------------------------------------- lltag, pudletag (tagging / title, artist, album) ------------------------ UPLOAD FILES ------------------------ cd mp3 scp -p 8022 -r *.mp3 root@193.22.239.27:/home/ruelles/audio/play/day ssh -p 8022 root@188.210.92.35 ------------------------------------------------------------------------------------------------------------------------ CONNECT TO MEDIA SERVER + PREPARE AUDIO FILES FOR PLAYLIST LIQUIDSOAP ------------------------------------------------------------------------------------------------------------------------ h fapg --format=pls --output=/home/ruelles/audio/day.pls /home/ruelles/audio/play/day service liquidsoap force-reload ------------------------------------------------------------------------------------------------------------------------ COPY ARCHIVE SERVER TO LOCAL ------------------------------------------------------------------------------------------------------------------------ cd Desktop scp -P 8022 -r root@193.22.239.27:/home/ruelles/archive . ------------------------------------------------------------------------------------------------------------------------ scp -P 8022 -r 8022 root@188.210.92.35:/home/ruelles/archive/2015-12-20 http://5.196.109.240/ http://188.210.92.35 service liquidsoap force-reload