---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">MythTV</b> <<a href="mailto:mythtv@cvs.mythtv.org">mythtv@cvs.mythtv.org</a>><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> Reporter: anonymous | Owner: kormoc<br>
Type: defect | Status: new<br> Priority: trivial | Milestone: unknown<br> Component: mythweb | Version: head<br> Severity: low | Resolution:<br> Mlocked: 0 |<br> -----------------------+----------------------------------------------------<br>
Changes (by yourimatthys@xxx):<br> <br> * status: closed => new<br> * resolution: worksforme =><br> <br> <br> Comment:<br> <br> Dear,<br> <br> I'm experiencing the same error. The symlinks are wrongly created and as a<br>
workaround i had to remove them and recreate them as directory's so i<br> could mount them with "mount -o bind". With this dirty hack, the video<br> directory is fine and video's can be played on both the localhost and the<br>
remote hosts. Video covers are still unavailable though.<br> <br> Before using this dirty hack i've verified all permissions/ownership on<br> both the directory's and the symlinks. Both were fine imho.<br> <br>
gentoo linux / Mythweb 0.21_p16809<br> <br> Regards, Youri<br> <br> --<br> Ticket URL: <<a href="http://svn.mythtv.org/trac/ticket/3185#comment:8">http://svn.mythtv.org/trac/ticket/3185#comment:8</a>><br> MythTV <<a href="http://www.mythtv.org/">http://www.mythtv.org/</a>><br>
<br>MythTV<br><br><div><span class="gmail_quote">On 4/30/08, <b class="gmail_sendername">Youri Matthys</b> <yourimatthys@xxx> 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 "data/video" and "data/video_covers". Afterwards i've created them as directory's and mounted them with "mount -o bind".<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"> <br><br><div><span class="gmail_quote">On 4/28/08, <b class="gmail_sendername">Daniel Buijs</b> <<a href="mailto:dbuijs@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">dbuijs@gmail.com</a>> 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'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's video module. </div>
<div><br></div><div>I had the same problem described below and in several other posts. I have multiple video directories. Here'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. </div>
<div><br></div><div>If you don't create these symlinks, the program will keep creating broken ones. </div><div><br></div><div>Now I can launch the video module from Mythweb and browse to ALL my video directories. </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'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 </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">'</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">'</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">'</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">'</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">'</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">'</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">'</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">'</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">"</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">"</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>