[mythtv] Mythweb tv_icons not coping images over

Ashley Bostock abostock at gmail.com
Fri Dec 23 04:24:00 EST 2005


I'm currently running mythweb svn 8355 and I can not get the channel icons
to show.

data/tv_icons has automatically been created...

# ls -asl data/
total 24
4 drwxrwxr-x   5 root   apache 4096 Dec 23 08:21 .
4 drwxr-xr-x  14 root   root   4096 Dec 23 08:18 ..
4 -rw-r--r--   1 root   root    180 Dec 23 08:18 .htaccess
4 drwxr-xr-x   7 root   root   4096 Dec 23 08:18 .svn
4 drwxr-xr-x   2 apache apache 4096 Dec 23 08:22 cache
0 lrwxrwxrwx   1 apache apache   17 Dec 23 08:21 recordings ->
/video/recordings
4 drwxr-xr-x   2 apache apache 4096 Dec 23 08:32 tv_icons

On line 107 of includes/channels.php it has the following code...

        $this->icon         =
root.'data/tv_icons/'.basename($channel_data['icon']);
    // Try to copy over any missing channel icons
        if (!file_exists($this->icon))
            @copy($channel_data['icon'], $this->icon);
    }

My icons are located in /home/mythtv/.mythtv/icons/ which is readable up the
directory tree to everyone but the icons are not copied in place.
If I copy them there manually then the icons still do not appear.

My config/conf.php file has this...

// show the channel icons?  true/false
    define('show_channel_icons', true);

I've looked through the README a few times and can't see any other steps
I've missed.
So is this a bug or am I doing something wrong?

Ash.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20051223/4e0d19f7/attachment.htm


More information about the mythtv-dev mailing list