#!/bin/bash
OPTIONS=" mplayer1-twit mplayer2-rush mplayer3-miller mplayer4-mms mplayer5-city Hello Quit"
select opt in $OPTIONS; do
if [ "$opt" = "Quit" ]; then
echo done
exit
elif [ "$opt" = "Hello" ]; then
echo Hello World
#
elif [ "$opt" = "mplayer1-twit" ]; then
mplayer -playlist 1*
#
elif [ "$opt" = "mplayer2-rush" ]; then
mplayer -playlist 2*
#
elif [ "$opt" = "mplayer3-miller" ]; then
mplayer -playlist 3*
#
elif [ "$opt" = "mplayer4-mms" ]; then
mplayer -playlist 4*
#
elif [ "$opt" = "mplayer5-city" ]; then
mplayer -playlist 5*
#
else
clear
echo bad option
fi
done
when rancid old farts ruled the world.
not so fast.
whats the frequency kenneth
Showing posts with label bash. Show all posts
Showing posts with label bash. Show all posts
Friday, September 16, 2011
bash shellradio player menu
mplayer : shell script for loading numbered internet radio streams from [numbered#playlists.pls file,] in the same folder.

