Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

1
Become a Fan
5.7

Available as/for:
Description:
A simple bash script to listen to web radio.
This script uses kdialog to show simple graphics windows where you can select the radio station and play with mplayer or vlc.
Last changelog:

- updated web radio url
- added player control
- changed closing dialog


Ratings & Comments

3 Comments

myklmar

#!/bin/bash # (C) 03/11/2012, Andrea Peluso (http://www.sya54m.eu) # 0.1.1 (04/05/2013) - aggiunte nuove webradio # 0.2.0 (07/04/2015) - aggiornati url webradio, aggiunto controllo player, cambiato dialogo di chiusura if [ -x /usr/bin/mplayer ]; then PLAYER="mplayer" elif [ -x /usr/bin/cvlc ]; then PLAYER="cvlc" else kdialog --error "No player found in the system" --caption aradio --icon kmix exit 1 fi while [ true ] do STATION=$(kdialog --radiolist "Select the Radio Station" a "Kiss Kiss" on b "New Jersey Radio" off c "Azure Radio Blues" off d "Smooth Jazz" off e "Classical Radio" off f "Kickin'Country" off g "Best Blues Radio" off h "Funky Blues" off i "Virgin Radio" off j "Radio Caroline" off k "Oldies Radio" off --caption aradio --icon kmix) if [ "$STATION" = "a" ]; then URL="http://wma08.fluidstream.net:4610/" elif [ "$STATION" = "b" ]; then URL="http://8303.live.streamtheworld.com/WKXWFMAAC" elif [ "$STATION" = "c" ]; then URL="http://streaming204.radionomy.com:80/Azur-BLUES" elif [ "$STATION" = "d" ]; then URL="http://streaming207.radionomy.com:80/lovesmoothjazzcom" elif [ "$STATION" = "e" ]; then URL="http://streams.primesite7.com:8000/11Radio-Classical.mp3" elif [ "$STATION" = "f" ]; then URL="http://192.95.36.32:9909/;?icy=http" elif [ "$STATION" = "g" ]; then URL="http://streaming202.radionomy.com:80/BestBluesIKnow" elif [ "$STATION" = "h" ]; then URL="http://streaming203.radionomy.com:80/FunkyBlues" elif [ "$STATION" = "i" ]; then URL="http://shoutcast.unitedradio.it:1301" elif [ "$STATION" = "j" ]; then URL="http://sc3.radiocaroline.net:8030" elif [ "$STATION" = "k" ]; then URL="http://streaming204.radionomy.com:80/OldiesInternetRadioPlus" else kdialog --passivepopup "Thanks for using.\n(C) 2012-2015, Andrea Peluso." --caption aradio --icon kmix exit 0 fi $PLAYER $URL & kdialog --msgbox "Press Ok to stop broadcast" --caption aradio --icon kmix killall $PLAYER done

roctheme

I use mpv instead of mplayer: #!/bin/bash # Idea: Andrea Peluso (http://sya54m.altervista.org) while [ true ] do STAZIONE=$(kdialog --radiolist "Radiostream auswählen" a "Radio 1" on b "Fritz" off c "Info" off --caption aradio --icon kmix) if [ "$STAZIONE" = "a" ]; then URL="http://radioeins.de/livemp3" elif [ "$STAZIONE" = "b" ]; then URL="http://fritz.de/livemp3" elif [ "$STAZIONE" = "c" ]; then URL="http://inforadio.de/livemp3" else kdialog --passivepopup "Und Tschüß" 3 --caption aradio --icon kmix exit 0 fi mpv $URL & kdialog --msgbox "OK um zurück zur Radioliste zu kommen." --caption aradio --icon kmix killall mpv done

sya54M

good idea the "--passivepopup";-)

Pling
0 Affiliates
Details
license
version 0.2.0
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

Other Radio Apps:

Great Little Radio Player
ExtraLeonard
last update date: 11 years ago

Score 5.3

KStreamRipper
sommerluk
last update date: 14 years ago

Score 6.8

Radio Tray
carlmig
last update date: 15 years ago

Score 6.1

streamtuner2
milki
last update date: 8 years ago

Score 5.0

Streamtuner 2 for elementary OS
lisabonne_citadel
last update date: 8 years ago

Score 5.0

Gqrx SDR
AJSlye
last update date: 7 years ago

Score 5.7