Skip to content

Commit

Permalink
new radio channel Bapakku FM
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbiNespu committed May 28, 2015
1 parent 87ae164 commit 47a2ac7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions README
Expand Up @@ -16,6 +16,7 @@ This tool allow you to listen several radio cast that i found on internet, which
12. Rileks Community Online Radio
13. Dungun FM
14. Lambat tinggal FM
15. Bapakku FM

Thus script are available at my github account ;)

Expand Down
9 changes: 7 additions & 2 deletions RadioMalaya.sh
Expand Up @@ -37,6 +37,7 @@ Gomo="http://72.20.10.50:8000"
RC="http://72.20.10.40:8000"
DungunFM="http://192.241.121.163:8006"
LambatTinggal="http://www.lambattinggal.fm:8000"
Bapakku="http://radio.bapakku.fm:8000"

# Check the mplayer and dialog existence
PLAYER=$(which mplayer 2> /dev/null)
Expand Down Expand Up @@ -69,7 +70,8 @@ chooseRadio=$($DIALOG --stdout --title "Radio Malaya" --radiolist "Please choose
"Gomo FM" "" OFF \
"Rileks Community Online Radio" "" OFF \
"Dungun FM" "" OFF \
"Lambat Tinggal FM" "" OFF)
"Lambat Tinggal FM" "" OFF \
"Bapakku FM" "" OFF)

clear

Expand Down Expand Up @@ -115,7 +117,10 @@ case $chooseRadio in
"$PLAYER" 2>/dev/null "$DungunFM" ;;
"Lambat Tinggal FM")
printf "\nPlaying ${txtcyn}Lambat Tinggal FM${txtrst} from your computer...\n"
"$PLAYER" 2>/dev/null "$LambatTinggal" ;;
"$PLAYER" 2>/dev/null "$LambatTinggal" ;;
"Bapakku FM")
printf "\nPlaying sas${txtcyn}Bapakku FM${txtrst} from your computer...\n"
"$PLAYER" 2>/dev/null "$Bapakku" ;;
*)
echo Oppss.. Please select ${txtylw} radio channel${txtrst} To play!
;;
Expand Down

0 comments on commit 47a2ac7

Please sign in to comment.