Created
October 3, 2020 10:10
-
-
Save tjoskar/b66cebbbf67449e62897c52ae84172dc to your computer and use it in GitHub Desktop.
Run radiostations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "" | |
echo"" | |
echo " 1 -> NRJ" | |
echo " 2 -> Studio 107.5" | |
echo " 3 -> 107.1 Vinyl" | |
echo " 4 -> The Voice" | |
echo " 5 -> Mix Megapol Radio City Göteborg" | |
echo " 6 -> Flashback Radio" | |
echo " 7 -> Mix MegaPol" | |
echo " 8 -> Rix FM" | |
echo " 9 -> P1" | |
echo " 10 -> P2 Musik" | |
echo " 11 -> P3" | |
echo " 12 -> P4 Göteborg" | |
echo "" | |
echo "Välj en station" | |
read radio | |
if [ "$radio" = "1" ]; then | |
mplayer http://83.241.238.21/nrj/?MSWMExt=.asf | |
elif [ "$radio" = "2" ]; then | |
amarok mms://live.alleredge.com/AE_StudioSE_Mid | |
elif [ "$radio" = "3" ]; then | |
mplayer mms://live.alleredge.com/AE_Vinyl_Mid | |
elif [ "$radio" = "4" ]; then | |
mplayer mms://live.alleredge.com/AE_TheVoiceSE_Mid | |
elif [ "$radio" = "5" ]; then | |
mplayer mms://live.alleredge.com/AE_MixGbg_Mid | |
elif [ "$radio" = "6" ]; then | |
mplayer http://theflowmachine.dyndns.org:8000/listen.pls | |
elif [ "$radio" = "7" ]; then | |
mplayer mms://live.alleredge.com/AE_MixMegapol_Mid | |
elif [ "$radio" = "8" ]; then | |
mplayer http://83.241.238.21/rixfm/?MSWMExt=.asf | |
elif [ "$radio" = "9" ]; then | |
mplayer rtsp://sr-rm.qbrick.com/broadcast/cluster/encoder/02038_p1.rm | |
elif [ "$radio" = "10" ]; then | |
mplayer rtsp://sr-rm.qbrick.com/broadcast/cluster/encoder/02038_p2musik.rm | |
elif [ "$radio" = "11" ]; then | |
mplayer rtsp://sr-rm.qbrick.com/broadcast/cluster/encoder/02038_p3.rm | |
elif [ "$radio" = "12" ]; then | |
mplayer http://194.14.241.150/02038_sr-goteborg-high?MSWMExt=.asf | |
exit | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment