Hi Bryan,

Try this and let me know how it works.

- Jon


#!/bin/bash
# iso file is parameter so use "playvid %s " as mythtv play command
mountdir="/mnt/dvdiso/"

ext=${1:(-3)}
#ext=${file##*.}
#ext=$(ls $1 | grep '\.ext');

if [ "$ext" = "ISO" ] || [ "$ext" = "iso" ]; then
        sudo mount -o loop -t udf "$1" $mountdir
        xine -pfhq --no-splash dvd://$mountdir
        sudo umount $mountdir
else
        mplayer -ao alsa -fs -zoom -quiet -vo x11 "$1"
fi


> Is anyone using Xine to playback a DVD ISO from hard drive?  What
> command are you using?  Any special scripts involved?
>
> -Bryan
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to