[mythtv-users] MythWeb video paths problem
Daniel Buijs
dbuijs at gmail.com
Wed Apr 30 11:53:12 UTC 2008
Youri,
Thanks for your insight. Does mounting them in a different location
fix the url parsing problem, or just the symlink creation problem?
Thanks,
Daniel
On 30-Apr-08, at 7:18 AM, Youri Matthys wrote:
> ---------- Forwarded message ----------
> From: MythTV <mythtv at cvs.mythtv.org>
> Date: Apr 30, 2008 1:16 PM
> Subject: Re: Ticket #3185: Mythweb mythvideo dir error
> To: mythtv-commits at mythtv.org
>
> #3185: Mythweb mythvideo dir error
> -----------------------
> +----------------------------------------------------
> Reporter: anonymous | Owner: kormoc
> Type: defect | Status: new
> Priority: trivial | Milestone: unknown
> Component: mythweb | Version: head
> Severity: low | Resolution:
> Mlocked: 0 |
> -----------------------
> +----------------------------------------------------
> Changes (by yourimatthys at xxx):
>
> * status: closed => new
> * resolution: worksforme =>
>
>
> Comment:
>
> Dear,
>
> I'm experiencing the same error. The symlinks are wrongly created
> and as a
> workaround i had to remove them and recreate them as directory's
> so i
> could mount them with "mount -o bind". With this dirty hack, the
> video
> directory is fine and video's can be played on both the localhost
> and the
> remote hosts. Video covers are still unavailable though.
>
> Before using this dirty hack i've verified all permissions/
> ownership on
> both the directory's and the symlinks. Both were fine imho.
>
> gentoo linux / Mythweb 0.21_p16809
>
> Regards, Youri
>
> --
> Ticket URL: <http://svn.mythtv.org/trac/ticket/3185#comment:8>
> MythTV <http://www.mythtv.org/>
>
> MythTV
>
> On 4/30/08, Youri Matthys <yourimatthys at xxx> wrote:
> 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
>
>
>
> _______________________________________________
> 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/f73deb44/attachment.htm
More information about the mythtv-users
mailing list