[mythtv-users] BD ISOs
John
reidjr at lineone.net
Tue Feb 1 17:23:49 UTC 2011
On 01/02/11 16:15, Raymond Wagner wrote:
> On 2/1/2011 09:45, Ryan Rustong wrote:
>>
>> On Mon, Jan 31, 2011 at 12:15 PM, Steve Harrington
>> <steve at the-harringtons.org <mailto:steve at the-harringtons.org>> wrote:
>>
>>
>> Thanks for the clarification.
>>
>>
>> Not sure if you were looking for a way to play BD iso's or just
>> curious about the development status, but I came across this script
>> over the weekend which allowed me to play a BD iso that I had
>> created. http://www.mythtv.org/wiki/Iso-play.sh Setup was pretty
>> easy and I haven't had any problems with the script yet.
>
> It requires the content be mounted locally, so the loop mount can
> access it. That violates the whole purpose of storage groups.
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
I wrote this little script on the back-end, this works with
storage-groups. It was hard coded for my paths, so wont run as is, you
need to change the paths for your system.
I only have a couple of ISOs so I don't know if loop mounting large
volumes will actually burn any resources.
I put all the ISOs in a folder HDISO, and then running the script mount
all ISOs as if they are folders within the VIDEO/HD directory.
#!/bin/bash
SAVEIFS=$IFS
IFS=$(echo -en "\n\b")
for i in $( ls /path to folder/HDISO | grep -i iso ); do
echo $i
foldername=${i%.iso}
echo "$foldername"
mkdir /path to video folder/VIDEO/HD/$foldername
sudo mount -o loop -t udf /path to folder/HDISO/$i /path to
folder/VIDEO/HD/$foldername
done
IFS=$SAVEIFS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20110201/983a1963/attachment.htm>
More information about the mythtv-users
mailing list