<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE></TITLE>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><SPAN class=125342223-03112004><FONT face=Arial color=#0000ff size=2>Hi
Michael,</FONT></SPAN></DIV>
<DIV><SPAN class=125342223-03112004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=125342223-03112004><FONT face=Arial color=#0000ff size=2>Well
sounds like you have done a good job of getting this up and working. It seems
like this would be a good way of doing it and better than having the ISOs
open.</FONT></SPAN></DIV>
<DIV><SPAN class=125342223-03112004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=125342223-03112004><FONT face=Arial color=#0000ff size=2>Like I
said, my myth machine is a work in progress at the moment, but once its up I
will give it a go (can demo to a friend then) and see how it
works.</FONT></SPAN></DIV>
<DIV><SPAN class=125342223-03112004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=125342223-03112004><FONT face=Arial color=#0000ff size=2>It
sounds like most of the leg work is done and having this merged into the current
code would be a great help to a lot of people, I was surprised that it wasn't
already a feature request that has been filled in the past. Its a feature I
could see myself using in the future as well.</FONT></SPAN></DIV>
<DIV><SPAN class=125342223-03112004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=125342223-03112004><FONT face=Arial color=#0000ff size=2>Glad
someone else knows how important WAF is ;)</FONT></SPAN></DIV>
<DIV><SPAN class=125342223-03112004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=125342223-03112004><FONT face=Arial color=#0000ff
size=2>Andrew</FONT></SPAN></DIV>
<DIV><SPAN class=125342223-03112004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=125342223-03112004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader><FONT face="Times New Roman"
size=2>-----Original Message-----<BR><B>From:</B> Michael Segulja
[mailto:msegulja@lmdcs.com]<BR><B>Sent:</B> Thursday, 4 November 2004 10:08
AM<BR><B>To:</B> apalm@aae.com.au; Discussion about mythtv<BR><B>Subject:</B>
Re: [mythtv-users] MythTV and ISOs?<BR><BR></FONT></DIV>This is exactly what
I'm currently doing with my DVD collection. It's pretty simple to do in
Myth, and as is usually the case with Linux, there's always more than one
way. The mounted loopback device is one way, but as you said, it's not
exactly the best having hundreds of iso mounted and opened all the time.
Here's how I did it:<BR><BR>Create a new file type (you can call it whatever
you want, like iso or dvd) under MythVideo setup. I made mine iso since
that's the extension on the DVD iso anyway. After creating the iso, I
keep it in the directory I specified in MythVideo setup. When you go
into Video Manager, it will add the iso and let you get all the info from IMDB
and all that good stuff. Once it's added, edit the metadata and for the
command, enter 'playiso %s'. The playiso file is kept in /usr/local/bin
and will mount the iso, use xine to play it, and then unmount it when xine
quits. This way you are only mounting the iso when you need it, and it
unmounts as well so it's automatic. I know how important WAF is, and so
far my wife approves of this method.<BR><BR>So, here's the playiso
file:<BR><BR>--------------- /usr/local/bin/playsio
----------------------<BR><BR>#!/bin/bash<BR><BR>mountdir="/mnt/dvd/"<BR><BR>sudo
mount -t auto -o loop,ro $1 $mountdir<BR>echo $mountdir<BR>ls
$mountdir<BR>xine -p:fqh -r 4:3 --no-logo --no-splash dvd:///$mountdir<BR>sudo
umount $mountdir<BR><BR>------------------------------------------<BR><BR>The
%s command line variable is what Myth uses to send the filename to the
external script, then the $1 variable in the script will pick that up and
mount the iso in $mountdir, which can be anywhere you want. I use
/mnt/dvd. Also, you need to add whatever user myth is running as to the
/etc/sudoers file. My Myth user is called pvr.... here's that
file:<BR><BR>--------- /etc/sudoers ----------<BR><BR>pvr
ALL=NOPASSWD: ALL<BR><BR>-------------------------------------<BR><BR>It's not
as secure as it probably should be by designating ALL to that user, but I'm
not really concerned with that since I'm behind a firewall.<BR><BR>Anyway,
hopefully this will help. Let me know if you have questions, and I'm
curious to see what opinions others who know better have to say about this
method. I hacked it together over a day or so by different postings I
found around the Internet, but it seems to work really well. There's
only one point of manual input when the iso is originally added to Video
Manager, but other than that it's pretty automatic. I also saw a posting
on the Myth list that added a button to the MythDVD menu to image a DVD using
a Linux program. I don't remember the details of that now, but you can
find it by searching the archives. I'm currently using Windows and DVD
Shrink to create the iso.<BR><BR>-Michael<BR><BR><BR><BR>Andrew Palm wrote:
<BLOCKQUOTE cite=mid00e901c4c1f6$6eee8ee0$2103c8ad@aae.com.au type="cite"><PRE wrap="">Darn, that wasn't what they wanted to hear...
I haven't got my myth setup fully working yet, still playing and hacking it
so I couldn't test it for them.
They have a large number (~100's of ISO'S!!! Crazy I know) so doing a local
loopback isn't a nice way of doing it, and doesn't have the WAF (wife
acceptance factor) as well, by using only the remote and a TV.
I'm sure it could be built in (I'm not saying to do it, just staying it
could be done when a dev person needs this feature) so it reads the info
from the ISO name and then mounts it and plays it via the gui. Saves having
100s of ISOs open and mounted.
Hmmm thinking about it, it could be done, but it would mean leaving all the
ISOs mounted and 'open' which isn't a nice way of doing it and adding new
ones in would mean manually entering them into the system, creating the
loopback and dir system etc.
Thanks
Andrew
</PRE>
<BLOCKQUOTE type="cite"><PRE wrap="">-----Original Message-----
From: <A class=moz-txt-link-abbreviated href="mailto:mark@onnow.net">mark@onnow.net</A> [<A class=moz-txt-link-freetext href="mailto:mark@onnow.net">mailto:mark@onnow.net</A>]
Sent: Thursday, 4 November 2004 9:29 AM
To: <A class=moz-txt-link-abbreviated href="mailto:apalm@aae.com.au">apalm@aae.com.au</A>; Discussion about mythtv
Subject: Re: [mythtv-users] MythTV and ISOs?
If you mount the ISO to loopback they will just be a local
file so yes.
Mark
Quoting Andrew Palm <A class=moz-txt-link-rfc2396E href="mailto:apalm@aae.com.au"><apalm@aae.com.au></A>:
</PRE>
<BLOCKQUOTE type="cite"><PRE wrap="">Hi there
A friend is looking at mythtv for a video server and has a
</PRE></BLOCKQUOTE><PRE wrap="">lot of DVD ISO's
</PRE>
<BLOCKQUOTE type="cite"><PRE wrap="">on there network. Can mythtv support playback of these from
</PRE></BLOCKQUOTE><PRE wrap="">the ISO file?
</PRE>
<BLOCKQUOTE type="cite"><PRE wrap="">Andrew
_______________________________________________
mythtv-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</A>
<A class=moz-txt-link-freetext href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</A>
</PRE></BLOCKQUOTE><PRE wrap="">
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
</PRE></BLOCKQUOTE><PRE wrap=""><!---->
_______________________________________________
mythtv-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</A>
<A class=moz-txt-link-freetext href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</A>
</PRE></BLOCKQUOTE><BR><BR><PRE class=moz-signature cols="72">--
Michael Segulja
LMD Computing Solutions, Inc.
(281) 376-8181 | Office.
(281) 300-8285 | Mobile
(281) 576-7230 | Fax
<A class=moz-txt-link-freetext href="http://www.lmdcs.com">http://www.lmdcs.com</A>
|
| To mess up a Linux box, you need to work at it;
| to mess up your Windows box, you just need to work on it.
|         - Scott Granneman, Security Focus
|</PRE></BLOCKQUOTE></BODY></HTML>