[mythtv-users] MythWeb video paths problem

Youri Matthys yourimatthys at gmail.com
Wed Apr 30 10:56:13 UTC 2008


Daniel,

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".

Keep in mind that this is only a workaround and that we should actually
report this as a bug to the developers!

Regards, Youri


On 4/28/08, Daniel Buijs <dbuijs at gmail.com> wrote:
>
> 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
>
>
>
> _______________________________________________
> 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/20080430/0eef1174/attachment.htm 


More information about the mythtv-users mailing list