[mythtv-users] "missing cover" mythweb problem

jarpublic at gmail.com jarpublic at gmail.com
Sat Jan 3 14:55:00 UTC 2009


On Sat, Jan 3, 2009 at 1:58 AM, Mike Millner <mike at mikeshome.com> wrote:

> Please help before i jump :)
>
> I am able to see my movies listed when I click on the video icon from
> mythweb, however I can not for the life of get the an icon to show up. I've
> been trying with this movie "The Pursuit of Happyness". There is a .jpg and
> a .png in the /home/mythtv/.mythtv/MythVideo directory. Does it have to be a
> .jpg or .png? I also have a sub dir in this path with name of movie and
> files in their..owned by mythtv..no love
>
>
> I have the sym links setup
>
> I tried to chown the symlinks to mythtv:mythtv but I guess the need to be
> root? and I can see the listing of videos so I guess thats right..also imdb
> works
>
> /var/www/mythweb/data
>
> lrwxrwxrwx 1 root root   22 2008-12-31 06:54 video ->
> /var/lib/mythtv/videos
> lrwxrwxrwx 1 root root   31 2009-01-02 19:12 video_covers ->
> /home/mythtv/.mythtv/MythVideo/
>
> The actual dirs are owned by mythtv.
>
> /var/lib/mythtv
> drwxr-xr-x  3 mythtv mythtv  4096 2009-01-02 09:46 video_covers
> drwxrwxr-x 21 mythtv mythtv  4096 2009-01-02 17:45 videos
>
>
>
> I keep telling myself this isn't important and I should let it go but its
> making me crazy :)
>
> Below is from my apache access log. So it seems to me this is some kind of
> permission issue? I have no entries in the myth frontend or backend logs
> regarding these images.
>
> Have searched around and found some things to try but to no avail. Any help
> wwould be greatly appreciated.
>

The video_covers directory needs to have read write permissions for the
apache webserver. Mythweb operates has the permissions of the apache web
server not mythtv. I just gave read/write priveledges to everybody for the
video cover directory and that fixed it. Also changing the permissions on a
symlink won't really do anything. The symlink will have the permissions of
the target directory. You have to change the permissions of the actual
directory not the symlink.

You say that /var/www/mythweb/data/video_covers links to
/home/mythtv/.mythtv/MythVideo but then you also say you have a directory
for covers in /var/lib/mythtv/video_covers. You need to decide which folder
you want your covers in. Then you need to make sure
/var/www/mythweb/data/video_covers links to that directory. I would put it
somewhere close to where the actual videos are. This makes it easier if you
are going to move your data to another system or drive. You don't have to go
looking around for directories spread all over your system. Then you need to
go to the actual directory and make sure the web server has write
permissions in that directory. The easiest way is to just give read/write to
everyone.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20090103/fb4226d3/attachment.htm 


More information about the mythtv-users mailing list