LinHES Forums
http://forums.linhes.org/

watching hard drive iso's
http://forums.linhes.org/viewtopic.php?f=5&t=7171
Page 1 of 1

Author:  stinga [ Fri Dec 02, 2005 4:57 am ]
Post subject:  watching hard drive iso's

G'day all,

I know this has come up before and I wanted to do it, so I though I would add what I have done to get it working.

I have a large amount of DVD's that I wanted to store on hard drive so that the kids could watch without trashing the original.

I used to have them stored as separate vobs but that did just not work, I could watch the movie but the menus never worked.

After much effort I made them iso's and then mounted the iso before watching the movie.

Here we go...

As root:

First I created /usr/local/bin/mount_iso_xine


Code:
#!/bin/bash

ln -sf $2 /tmp/iso_link
mount /mnt/iso
/usr/bin/xine $1 dvd://mnt/iso
umount /mnt/iso

I then created the mount point
Code:
mkdir /mnt/iso


since this is going to be run my mythtv and is a user I need to create an entry in /etc/stab to allow the user to mount
Add the following to /etc/fstab

Code:
/tmp/iso_link /mnt/iso iso9660 defaults,ro,user,noexec,noauto,loop 0 0


This will mount /tmp/iso_link to /mnt/iso as a loop back.

Then we need to alter the default player command to run the new script rather than xine.
Quote:
In mythfrontend goto
utilities/setup
setup
media settings
videos setting
player settings


and change Default Player: to
Quote:
/local/bin/mount_iso_xine -pfqh %s


That should do it.
I now have xine playing dvd's in all there glory with menu's

Stinga

(Hope it is of some use)

Author:  gr8nash [ Sun Dec 04, 2005 10:59 am ]
Post subject: 

just to let you know, xine can play .iso's just fine without mounting them.. i have been playing .iso's without mountin them for many months. just change add a file extension for ".iso" under:
setup>media settings>video settings>file types
(im pretty sure you have to restart mythfrontend after you change those).

xine command for the custom playline. (UNCHECK the "use defualt player")

Quote:
xine -pfhq --no-splash dvd:/%s/


NOTE: the trailing "/" is VERY important!!

plays all ISO's great.. =)

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/