[mythtv-users] DVD ISO Playback

jking at xenixsolutions.com jking at xenixsolutions.com
Fri Dec 31 03:57:22 UTC 2004


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 at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>




More information about the mythtv-users mailing list