[mythtv-users] MythTV and ISOs?

TJ tj53 at cox.net
Thu Nov 4 00:04:56 UTC 2004


How about VLC? Haven't tried doing it myself yet, but ".bin"s work just 
fine. (videolan.org)

On Nov 3, 2004, at 6:07 PM, Michael Segulja wrote:

>  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:
>
>  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.
>
>  So, here's the playiso file:
>
>  --------------- /usr/local/bin/playsio ----------------------
>
>  #!/bin/bash
>
>  mountdir="/mnt/dvd/"
>
>  sudo mount -t auto -o loop,ro $1 $mountdir
>  echo $mountdir
>  ls $mountdir
>  xine -p:fqh -r 4:3 --no-logo --no-splash dvd:///$mountdir
>  sudo umount $mountdir
>
>  ------------------------------------------
>
>  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:
>
>  --------- /etc/sudoers ----------
>
>  pvr   ALL=NOPASSWD: ALL
>
>  -------------------------------------
>
>  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.
>
>  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.
>
>  -Michael
>
>
>
>  Andrew Palm wrote:
> 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
>
>
>
>
> -----Original Message-----
> From: mark at onnow.net  [ mailto:mark at onnow.net ]
> Sent: Thursday, 4 November 2004 9:29 AM
> To: apalm at aae.com.au ; 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 <apalm at aae.com.au> :
>
>
> Hi there
>
> A friend is looking at mythtv for a video server and has a
>
> lot of DVD ISO's
>
> on there network. Can mythtv support playback of these from
>
> the ISO file?
>
> Andrew
>
> _______________________________________________
> mythtv-users mailing list
>  mythtv-users at mythtv.org
>  http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
> _______________________________________________
> mythtv-users mailing list
>  mythtv-users at mythtv.org
>  http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>
>
> -- 
>
>
> Michael Segulja
> LMD Computing Solutions, Inc.
> (281) 376-8181 | Office.
> (281) 300-8285 | Mobile
> (281) 576-7230 | Fax
>  http://www.lmdcs.com
>
> |
> | 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
> |
> <msegulja.vcf>_______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 5911 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20041103/d9999fd1/attachment.bin


More information about the mythtv-users mailing list