View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 2 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Dec 02, 2005 4:57 am 
Offline
Joined: Sat Nov 05, 2005 4:37 am
Posts: 191
Location: Cornwall - uk
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)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 04, 2005 10:59 am 
Offline
Joined: Thu Apr 01, 2004 10:44 am
Posts: 677
Location: WA
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.. =)


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu