[mythtv-users] MythWeb video paths problem

Daniel Buijs dbuijs at gmail.com
Mon Apr 28 00:30:02 UTC 2008


Hello Everyone,

I recently redid my Myth box using Jared's Guide (www.wilsonet.com/ 
mythtv/howto), 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.

I had the same problem described below and in several other posts. I  
have multiple video directories. Here's how I got around it:

Mythweb creates non-functional symlinks in /var/www/html/mythweb/ 
data. Remove these.

I created a new symlink to only one of my video directories, and  
changed the owner and group to mythtv:apache.

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.

If you don't create these symlinks, the program will keep creating  
broken ones.

Now I can launch the video module from Mythweb and browse to ALL my  
video directories.

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

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)

Thanks,

Dan Buijs


On 28-Mar-08, at 5:42 PM, John Burns wrote:

> I’m new to myth and mythweb and very novice when it comes to Linux  
> but I’ve run into a problem that I think is bigger that just my  
> shortcomings. In my video settings, I’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’m  
> assuming MythWeb is built to do a single Symlink to the root for  
> the videos or something like that but it doesn’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’m afraid if I change my video folder to just look at / 
> mnt/DVD that I’ll have to go in and reconfigure all my movies and  
> files. Any advice here or perhaps something I’m overlooking? Is  
> this a “bug” or just unsupported? Thanks for your help.
>
>
> John Burns
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080427/1b1a6e85/attachment.htm 


More information about the mythtv-users mailing list