DeLi(cate) Forum
Radio Streams - Printable Version

+- DeLi(cate) Forum (http://delicate-linux.net/forum)
+-- Forum: DeLi(cate) Linux [english only] (/forumdisplay.php?fid=3)
+--- Forum: Other (/forumdisplay.php?fid=8)
+--- Thread: Radio Streams (/showthread.php?tid=215)

Pages: 1 2


Radio Streams - nl2stk - 03-08-2012 06:01 PM

[Image: 686652178748281.jpg]


I've created a simple bash file with some internetradio streams in it.
It does nothing more than starting vlc with a radiolink.
Ofcourse the entries are very random, I can't make everyone happy :]
One thing that's important, the screen needs to be at least 85x25 (otherwise the menu will be funked up). Sometimes VLC dissapears, well I blame it on the connection because sometimes it runs for hours without any problems. I hope that someone like it.
Oh and please keep in mind that I'm no programmer, so there may be a nicer way but I'm not the guy that could do that :]

Code:
#!/bin/bash

# VLC - Internet Radio Player


clear

echo -e "\033[1m- Internet-Radio  -\033[0m "
echo
echo -e "\E[33;40mChoose a number to select a radiostation."; tput sgr0
echo -e "\033[4m                                                                                    \033[0m";
echo
echo " [1] The Buffalo (C & R)     [17] Radio FFN (Pop)       [33] MR (Alt)"
echo " [2] KYKX Best Country       [18] Gong 96,3 (Pop)       [34] CITYPOPRADIO"
echo " [3] Arrow Classic Rock      [19] Makradio Top Hit      [35] AllegroJazz"
echo " [4] AmbianceReggae          [20] 1520.us (Hip-Hop/Rap) [36] RadioSkyMusic (Jazz)"
echo " [5] IP music (Oldies)       [21] 89!FM (Pop)           [37] Hits & Fun"
echo " [6] SoundPortal (Alt)       [22] Top100station         [38] ABCDISCOFUNK"
echo " [7] Q-music (Pop)           [23] I Love Radio (Pop)    [39] A-RnB-FM-WEB1"
echo " [8] A-Rock Radio            [24] Your Radio (Pop)      [40] C9 RADIO (Hits)"
echo " [9] RTFM (Rock)             [25] RTL Radio (Pop)       [41] SpinFM (Var)"
echo "[10] Wunschradio.fm Rock     [26] Ant. Bayern (Oldies)  [42] -*Like*-*Radio*- (Var)"
echo "[11] FearFM__Hardest (Hcore) [27] Ant. Bayern (80's)    [43] ABCClassic (Classical)"
echo "[12] Radio Gothic (Met/Got)  [28] Star FM (Oldies)      [44] OneloveHipHopRadio"
echo "[13] Club & Dance (Dance)    [29] KFM Radio (Var)       [45] Radio Schizoid (Trance)"
echo "[14] I Love 2 Dance (Dance)  [30] Parazhit (Pop)        [46] AMBIENTANDLOUNGE"
echo "[15] Air-lounge (Dance)      [31] KSCO (Spoken)         [47] SMOOTHRIVIERA (Ambient)"
echo "[16] Radio Paradise (Alt)    [32] Alpha FM (Var)        [48] Abalone (Jazz)"
echo
echo -e  "\E[33;40mMake your choice:"; tput sgr0
read stations

case "$stations" in


  "1" )
  # "The Buffalo (Country and rock)"
  vlc -vvv http://streaming206.radionomy.com:80/The-Buffalo
  ;;
#

  "2" )
  # "KYKX Best Country"
  vlc -vvv mms://nick11e.surfernetwork.com/KYKX
  ;;
#

  "3" )
  # "Arrow Classic Rock"
  vlc -vvv mms://81.23.251.55/ArrowAudio02?MSWMExt=.asf
  ;;
#

  "4" )
  # "AmbianceReggae"
  vlc -vvv http://streaming203.radionomy.com:80/Ambiance-Reggae
  ;;
#

  "5" )
  # "IP music (oldies)"
  vlc -vvv http://live9.avf.ch:8000/ipmusic256
  ;;
#

  "6" )
  # "SoundPortal (Alternative)"
  vlc -vvv http://netradio01.soundportal.at:8100/live160
  ;;
#

  "7" )
  # "Q-music"
  vlc -vvv http://vip2.str.reasonnet.com/qmusic.mp3.96
  ;;
#

  "8" )
  # "A-Rock Radio"
  vlc -vvv http://streaming203.radionomy.com:80/A-ROCKRADIO
  ;;
#

  "9" )
  # "RTFM (Rock)"
  vlc -vvv http://streaming201.radionomy.com:80/RTFM
  ;;
#

  "10" )
  # "Wunschradio.fm Rock"
  vlc -vvv http://87.230.59.20:80/wunschradio-rock.mp3
  ;;
#

  "11" )
  # "FearFM__Hardest (Hardcore)"
  vlc -vvv http://streaming206.radionomy.com:80/FearFM--Hardest
  ;;
#

  "12" )
  # "Radio Gothic (Metal Gothic)"
  vlc -vvv http://ice-03.lagardere.cz:80/web-gothic-128
  ;;
#

  "13" )
  # "Club & Dance (Dance)"
  vlc -vvv http://streaming201.radionomy.com:80/Club--Dance
  ;;
#

  "14" )
  # "I Love 2 Dance (Dance)"
  vlc -vvv http://80.237.156.44:80/iloveradio2.mp3
  ;;
#

  "15" )
  # "Air-lounge (Dance)"
  vlc -vvv http://streaming208.radionomy.com:80/air-lounge
  ;;
#

  "16" )
  # "Radio Paradise (Remixes)"
  vlc -vvv http://stream-tx1.radioparadise.com:9000/rp_192.ogg
  ;;
#

  "17" )
  # "Radio FFN (Pop)"
  vlc -vvv http://rs20.stream24.org:8000/stream
  ;;
#

  "18" )
  # "Gong 96,3 (Pop)"
  vlc -vvv http://radigo01.nci.de:8000/low_q
  ;;
#

  "19" )
  # "Makradio Top Hit"
  vlc -vvv http://fr2.makradio.ru:81/makkirus128.mp3
  ;;
#

  "20" )
  # "1520.us (Hip-Hop/Rap)"
  vlc -vvv http://1520.us:8000/1520.us
  ;;
#

  "21" )
  # "89!FM (pop)"
  vlc -vvv http://174-120-158-115.webnow.net.br:80/89fm128k.mp3
  ;;
#

  "22" )
  # "Top100station"
  vlc -vvv http://87.230.101.25:80/top100station.mp3
  ;;
#

  "23" )
  # "I Love Radio (Pop)"
  vlc -vvv http://80.237.157.81:80/iloveradio1.mp3
  ;;
#

  "24" )
  # "Your Radio (Pop)"
  vlc -vvv mms://on-demand.phasebroadcast.net/yourradio?MSWMExt=.asf
  ;;
#

  "25" )
  # "RTL Radio Lëtzebuerg"
  vlc -vvv mms://streaming.newmedia.lu/radiolive?MSWMExt=.asf
  ;;
#

  "26" )
  # "Antenne Bayern Oldies but Goldies"
  vlc -vvv mms://channels.webradio.antenne.de/oldies-but-goldies
  ;;
#

  "27" )
  # "Antenne Bayern 80er Kulthits"
  vlc -vvv mms://channels.webradio.antenne.de/80er-kulthits
  ;;
#

  "28" )
  # "Star FM (Oldies/Classic)"
  vlc -vvv mms://195.23.102.196/rcpcbr96
  ;;
#

  "29" )
  # "KFM Radio (Various)"
  vlc -vvv http://210.48.73.162:8000/
  ;;
#

  "30" )
  # "Parazhit (Pop)
  vlc -vvv mms://on-demand.phasebroadcast.net/yourradio?MSWMExt=.asf
  ;;
#

  "31" )
  # "KSCO am 1080 (spoken)"
  vlc -vvv http://ksco.smrn.com:9000/live
  ;;
#

  "32" )
  # "Alpha FM (Pop)"
  vlc -vvv http://74-52-35-173.webnow.net.br:80/alphafm56k.mp3
  ;;
#

  "33" )
  # "MR (Alt)"
  vlc -vvv http://stream002.radio.hu:80/mr2.mp3
  ;;
#

  "34" )
  # "CITYPOPRADIO"
  vlc -vvv http://streaming203.radionomy.com:80/CITY-POP-RADIO
  ;;
#

  "35" )
  # "AllegroJazz"
  vlc -vvv http://streaming205.radionomy.com:80/Allegro-Jazz
  ;;
#

  "36" )
  # "RadioSkyMusic (Jazz)"
  vlc -vvv http://streaming204.radionomy.com:80/RadioSky-Music
  ;;
#

  "37" )
  # "Hits & Fun"
  vlc -vvv http://88.190.243.12:80/hitsandfun-hd
  ;;
#

  "38" )
  # "ABCDISCOFUNK"
  vlc -vvv http://streaming203.radionomy.com:80/ABC-DISCO-FUNK
  ;;
#

  "39" )
  # "A-RnB-FM-WEB1"
  vlc -vvv http://streaming207.radionomy.com:80/A-RnB-FM-WEB1
  ;;
#

  "40" )
  # "C9 RADIO (Hits)"
  vlc -vvv http://stream.c9.fr:80/c9.mp3
  ;;
#

  "41" )
  # "SpinFM (Various)"
  vlc -vvv http://217.146.71.24:80/spinfm.mp3
  ;;
#

  "42" )
  # "-*Like*-*Radio*-"
  vlc -vvv http://streaming202.radionomy.com:80/-Like-Radio-
  ;;
#

  "43" )
  # "ABCClassic (classical)"
  vlc -vvv http://streaming206.radionomy.com:80/ABC-Classic
  ;;
#

  "44" )
  # "OneloveHipHopRadio"
  vlc -vvv http://streaming205.radionomy.com:80/One-love-Hip-Hop-Radio
  ;;
#

  "45" )
  # "Radio Schizoid (psytrance)"
  vlc -vvv http://schizoid.in:8000/chill
  ;;
#

  "46" )
  # "AMBIENTANDLOUNGE"
  vlc -vvv http://streaming207.radionomy.com:80/AMBIENT-AND-LOUNGE
  ;;
#

  "47" )
  # "SMOOTHRIVIERA (Ambient)"
  vlc -vvv http://streaming205.radionomy.com:80/SMOOTH-RIVIERA
  ;;
#

  "48" )
  # "Abalone (Jazz)"
  vlc -vvv http://streaming206.radionomy.com:80/Abalone
  ;;

#

          * )
   # Default option.      
   # Empty input (hitting RETURN) fits here too.
   echo
   echo "Wrong choice."
  ;;

esac

echo

# End

exit 0



RE: Radio Streams - nl2stk - 03-08-2012 09:12 PM

(03-08-2012 07:59 PM)Compact Wrote:  Very practical and easy editable. Thanks.
You're welcome.
That's what's meant for, everyone can edit it and make it suitable for their own taste :]


RE: Radio Streams - tavvva - 03-08-2012 10:55 PM

Hahah Big Grin Radio Schizoid Big Grin It doesn't sound much like trance right now :]
Nice script :]


RE: Radio Streams - nl2stk - 03-09-2012 09:13 AM

(03-08-2012 10:55 PM)tavvva Wrote:  Hahah Big Grin Radio Schizoid Big Grin It doesn't sound much like trance right now :]
Nice script :]

Some descriptions are strange. I found some wich suppose to be jazz stations and I was pretty sure that it was bluesmusic. Well in that cases there are 2 options:
a) The description is faulty or incomplete
b)The dj is drunk


RE: Radio Streams - tavvva - 03-09-2012 10:02 AM

(03-09-2012 09:13 AM)nl2stk Wrote:  b)The dj is drunk

Or schizophrenic ?


RE: Radio Streams - tavvva - 03-09-2012 10:03 AM

(03-09-2012 09:41 AM)Compact Wrote:  Or tavvva is drunk ???? Hihihi

Dodgy


RE: Radio Streams - nl2stk - 03-09-2012 10:50 AM

(03-09-2012 10:03 AM)tavvva Wrote:  
(03-09-2012 09:41 AM)Compact Wrote:  Or tavvva is drunk ???? Hihihi

Dodgy

Hahaha I'm not gonna say anything, but in which country is 'pilsner' invented? *whistles and look innocent* Tongue


RE: Radio Streams - tavvva - 03-09-2012 11:54 AM

(03-09-2012 10:50 AM)nl2stk Wrote:  
(03-09-2012 10:03 AM)tavvva Wrote:  
(03-09-2012 09:41 AM)Compact Wrote:  Or tavvva is drunk ???? Hihihi

Dodgy

Hahaha I'm not gonna say anything, but in which country is 'pilsner' invented? *whistles and look innocent* Tongue

Pilsner Urquell (formerly known as Plzeňský Prazdroj) was invented here in Plzeň, but made by Josef Groll (Bavarian). Few years ago there were some "fights" about the invention origin and the new owner (SAB from south Africa) decided to completely kill our credits :] Plzeňský Prazdroj used to be one of the best beers, but since they've changed the production technology, people do not like it so much anymore. We have much better (and less known) beers than Pilsner Urquell is Cool Anyway, I've almost stopped drinking alcohol (and yes, I know the convictions, that beer isn't an alcohol .... it's a medicine, right?)


RE: Radio Streams - tavvva - 03-09-2012 12:06 PM

(03-09-2012 12:00 PM)Compact Wrote:  Repeat (hihi):
Wooooow Big Grin We need to replace all frowning smileys with beer or something more positive Big Grin

Kind of like this?

[attachment=120]


RE: Radio Streams - tavvva - 03-09-2012 12:19 PM

(03-09-2012 12:15 PM)Compact Wrote:  
(03-09-2012 12:06 PM)tavvva Wrote:  Kind of like this?

Yes of course. I'm so glad you like me Tongue

I really do

[attachment=121]

but now .... lunchtime ....