---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">MythTV</b> &lt;<a href="mailto:mythtv@cvs.mythtv.org">mythtv@cvs.mythtv.org</a>&gt;<br>Date: Apr 30, 2008 1:16 PM<br>Subject: Re: Ticket #3185: Mythweb mythvideo dir error<br>
To: <a href="mailto:mythtv-commits@mythtv.org">mythtv-commits@mythtv.org</a><br><br></span>#3185: Mythweb mythvideo dir error<br> -----------------------+----------------------------------------------------<br>&nbsp;&nbsp;Reporter:&nbsp;&nbsp;anonymous&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Owner:&nbsp;&nbsp;kormoc<br>
&nbsp;&nbsp;&nbsp;&nbsp; Type:&nbsp;&nbsp;defect&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Status:&nbsp;&nbsp;new<br>&nbsp;&nbsp;Priority:&nbsp;&nbsp;trivial&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;Milestone:&nbsp;&nbsp;unknown<br> Component:&nbsp;&nbsp;mythweb&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Version:&nbsp;&nbsp;head<br>&nbsp;&nbsp;Severity:&nbsp;&nbsp;low&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp; Resolution:<br>&nbsp;&nbsp;Mlocked:&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<br> -----------------------+----------------------------------------------------<br>
 Changes (by yourimatthys@xxx):<br> <br>&nbsp;&nbsp;* status:&nbsp;&nbsp;closed =&gt; new<br>&nbsp;&nbsp;* resolution:&nbsp;&nbsp;worksforme =&gt;<br> <br> <br> Comment:<br> <br>&nbsp;&nbsp;Dear,<br> <br>&nbsp;&nbsp;I&#39;m experiencing the same error. The symlinks are wrongly created and as a<br>
&nbsp;&nbsp;workaround i had to remove them and recreate them as directory&#39;s so i<br>&nbsp;&nbsp;could mount them with &quot;mount -o bind&quot;. With this dirty hack, the video<br>&nbsp;&nbsp;directory is fine and video&#39;s can be played on both the localhost and the<br>
&nbsp;&nbsp;remote hosts. Video covers are still unavailable though.<br> <br>&nbsp;&nbsp;Before using this dirty hack i&#39;ve verified all permissions/ownership on<br>&nbsp;&nbsp;both the directory&#39;s and the symlinks. Both were fine imho.<br> <br>
&nbsp;&nbsp;gentoo linux / Mythweb 0.21_p16809<br> <br>&nbsp;&nbsp;Regards, Youri<br> <br> --<br> Ticket URL: &lt;<a href="http://svn.mythtv.org/trac/ticket/3185#comment:8">http://svn.mythtv.org/trac/ticket/3185#comment:8</a>&gt;<br> MythTV &lt;<a href="http://www.mythtv.org/">http://www.mythtv.org/</a>&gt;<br>
 <br>MythTV<br><br><div><span class="gmail_quote">On 4/30/08, <b class="gmail_sendername">Youri Matthys</b> &lt;yourimatthys@xxx&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Daniel,<br><br>I used a dirty hack to resolve this problem. First i removed the symlinks &quot;data/video&quot; and &quot;data/video_covers&quot;. Afterwards i&#39;ve created them as directory&#39;s and mounted them with &quot;mount -o bind&quot;.<br>

<br>Keep in mind that this is only a workaround and that we should actually report this as a bug to the developers!<br><br>Regards, Youri <br><div><span class="e" id="q_1199ef9adac54bb6_1">&nbsp;<br><br><div><span class="gmail_quote">On 4/28/08, <b class="gmail_sendername">Daniel Buijs</b> &lt;<a href="mailto:dbuijs@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">dbuijs@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div>
Hello Everyone,<div><br></div><div>I recently redid my Myth box using Jared&#39;s Guide (<a href="http://www.wilsonet.com/mythtv/howto" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">www.wilsonet.com/mythtv/howto</a>), with slight modifications for Fedora Core 8, and MythTV 0.21 (current release, not SVN). There were a few hiccups but everything seems more or less ok now, with the exception of Mythweb&#39;s video module.&nbsp;</div>

<div><br></div><div>I had the same problem described below and in several other posts. I have multiple video directories. Here&#39;s how I got around it:</div><div><br></div><div>Mythweb creates non-functional symlinks in /var/www/html/mythweb/data. Remove these.</div>

<div><br></div><div>I created a new symlink to only one of my video directories, and changed the owner and group to mythtv:apache.</div><div><br></div><div>Then I ran into problems with the Video Covers directory. I had to change the default Video Covers directory to something different, with ownership mythtv:apache (as above), and then create a symlink to it, as above.&nbsp;</div>

<div><br></div><div>If you don&#39;t create these symlinks, the program will keep creating broken ones.&nbsp;</div><div><br></div><div>Now I can launch the video module from Mythweb and browse to ALL my video directories.&nbsp;</div>

<div><br></div><div>I still have a problem with downloading/viewing the videos. The urls ae referenced improperly. For example, if the video is located at /storage/videos/myvideo.avi, the link will be to /mythweb/data/video//storage/videos/myvideo.avi</div>

<div><br></div><div>The problem is in one of the php files, but I&#39;m not enough of a coder to find it. Does anyone have any ideas on how to fix this (besides waiting for 0.22)</div><div><br></div><div>Thanks,</div><div>

<br></div><div>Dan Buijs&nbsp;</div><div><div><br><br>On 28-Mar-08, at 5:42 PM, John Burns wrote:<br><blockquote type="cite"> <p dir="ltr"><span lang="en-us"></span><span lang="en-us"><font face="Arial" size="2">I</font></span><span lang="en-us"></span><span lang="en-us"><font face="Arial" size="2">&#39;</font></span><span lang="en-us"></span><span lang="en-us"><font face="Arial" size="2">m new to myth and mythweb and very novice when it comes to Linux but I</font></span><span lang="en-us"></span><span lang="en-us"><font face="Arial" size="2">&#39;</font></span><span lang="en-us"></span><span lang="en-us"><font face="Arial" size="2">ve run into a problem that I think is bigger that just my shortcomings. In my video settings, I</font></span><span lang="en-us"></span><span lang="en-us"><font face="Arial" size="2">&#39;</font></span><span lang="en-us"></span><span lang="en-us"><font face="Arial" size="2">ve set the path for my ISO files (VideoStartupDir in the settings table) to 3 different directories, separated by : like the instructions say. This works great in MythTV but MythWeb chokes because of Symlinks. I</font></span><span lang="en-us"></span><span lang="en-us"><font face="Arial" size="2">&#39;</font></span><span lang="en-us"></span><span lang="en-us"><font face="Arial" size="2">m assuming MythWeb is built to do a single Symlink to the root for the videos</font></span><span lang="en-us"></span><span lang="en-us"> <font face="Arial" size="2">or something like that but it doesn</font></span><span lang="en-us"></span><span lang="en-us"><font face="Arial" size="2">&#39;</font></span><span lang="en-us"></span><span lang="en-us"><font face="Arial" size="2">t seem to be able to handle the multiple paths like the myth frontend can. I have my DVD ISOs on a few different servers and I have mappings mounted into a single folder /mnt/DVD/mapping1, /mnt/DVD/mapping2, /mnt/DVD/mapping3. I</font></span><span lang="en-us"></span><span lang="en-us"><font face="Arial" size="2">&#39;</font></span><span lang="en-us"></span><span lang="en-us"><font face="Arial" size="2">m afraid if I change my video folder to just look at /mnt/DVD that I</font></span><span lang="en-us"></span><span lang="en-us"><font face="Arial" size="2">&#39;</font></span><span lang="en-us"></span><span lang="en-us"><font face="Arial" size="2">ll have to go in and reconfigure all my movies and files. Any advice here or perhaps something I</font></span><span lang="en-us"></span><span lang="en-us"><font face="Arial" size="2">&#39;</font></span><span lang="en-us"></span><span lang="en-us"><font face="Arial" size="2">m overlooking? Is this a</font></span><span lang="en-us"></span><span lang="en-us"> <font face="Arial" size="2">&quot;</font></span><span lang="en-us"></span><span lang="en-us"><font face="Arial" size="2">bug</font></span><span lang="en-us"></span><span lang="en-us"><font face="Arial" size="2">&quot;</font></span><span lang="en-us"></span><span lang="en-us"><font face="Arial" size="2"> or just unsupported? Thanks for your help.</font></span><span lang="en-us"></span><span lang="en-us"></span></p>

<div><span lang="en-us"></span><span lang="en-us"></span><br></div><p dir="ltr"><span lang="en-us"><font face="Arial" size="2">John Burns</font></span><span lang="en-us"></span><span lang="en-us"></span></p><div style="margin: 0px;">

_______________________________________________</div><div style="margin: 0px;">mythtv-users mailing list</div><div style="margin: 0px;"><a href="mailto:mythtv-users@mythtv.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mythtv-users@mythtv.org</a></div>

<div style="margin: 0px;"><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a></div>

 </blockquote></div><br></div></div><br>_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
<br></blockquote></div><br>
</span></div></blockquote></div><br>