#!/bin/bash



PLAYER=`kdialog --icon /usr/share/pixmaps/aiso2.png --caption "AcetoneISO2" --combobox "Select a Player:" "kaffeine" "mplayer" "smplayer" "vlc" "kmplayer"`

if test -z $PLAYER
then
exit
else
echo continua
fi

if test $PLAYER = kaffeine;then $PLAYER $HOME/virtual-drives/dvd/;else echo continua;fi
if test $PLAYER = mplayer;then gmplayer $HOME/virtual-drives/dvd/;else echo continua;fi
if test $PLAYER = smplayer;then $PLAYER $HOME/virtual-drives/dvd/;else echo continua;fi
if test $PLAYER = vlc;then $PLAYER $HOME/virtual-drives/dvd/;else echo continua;fi
if test $PLAYER = kmplayer;then $PLAYER $HOME/virtual-drives/dvd/;else exit;fi

exit

