#!/bin/bash if [[ -n $1 ]]; then selection=$1 else echo "0 - anonradio" echo "1 - tilderadio" echo "2 - klassik" echo -n "station: " read selection fi case "$selection" in 0 ) mpv --quiet http://anonradio.net:8000/anonradio ;; 1 ) mpv --quiet http://azuracast.tilderadio.org/radio/8000/radio.mp3 ;; 2 ) mpv --quiet http://avw.mdr.de/streams/284350-0_aac_high.m3u ;; * ) echo "error" ;; esac