[mythtv] [mythtv-commits] Ticket #3117: Rewrite Mythweb's Mythvideo Module

Rob Smith kormoc at gmail.com
Fri Feb 23 17:19:51 UTC 2007

On 2/23/07, Tom Lichti <tom at redpepperracing.com> wrote:
> I think I may have found the problem, although I'm not sure where it's
> going wrong. The one I'm looking at in particular is 'A Bugs Life'. My
> setup is somewhat strange. The server that is running Apache is also a
> CIFS host for the mythvideo/music files, but is NOT a Myth backend, so
> it doesn't have local access to Myth recordings, but it DOES have local
> access to Myth videos. The videos are located in /usr/local/nfs/movies,
> which I have sym-linked to /usr/local/apache2/htdocs/mythweb/data/video
> and /usr/local/apache2/htdocs/mythweb/data/videos (don't know why there
> are two, mythweb insists on creating two). I have also sym-linked the
> movies directory to /myth/movies, which is consistent with my frontends.
> I updated the database yesterday to reflect that path (/myth/movies) for
> the apache server, as per our earlier email. I have created
> /myth/movies/posters, and sym-linked THAT to
> /usr/local/apache2/htdocs/mythweb/data/video_covers.

I only have data/video symlinked on mine. When I cleaned up the code,
I was rather sure I killed the duplicate symlink issue. Can you remote
data/videos and see if it's any happier?

The poster symlink should be fine. I'm using that now to store the
posters, so it should just work happy like.

> So, with that out of the way, when I hover over the link for A Bugs
> Life, I get this:
> http://apacheserver/mythweb/data/video//myth/movies/Kennedy/A%20Bugs%20Life.avi
> which is not a valid link, so it appears it is taking the base url and
> adding the database path to make the link. Is that correct behaviour? If
> so, I need to modify the database path to reflect that, which may be why
> the poster download is failing, if it's trying to copy to that path. I
> don't know why the database update of the metadata is failing though,
> since the db ID is correct.

Yeah, I'll dig into the video link later this weekend.

Well, let's walk though this
Can you give me the output of

with the id=999 being replaced by the real id? You should see
something akin to this:

Matches~:~ id: 999|0120623:A Bug's Life (1998)

If that's correct, go ahead and run it in the video interface, and in
the green box, hover over the link and make sure it's pointing to

If so, the output of this might be useful

it should show the output akin to:
Update~:~ 999

So yeah, let's start with those and see if there's any hints with
things going wrong.


More information about the mythtv-dev mailing list