[mythtv-users] 0.21 to 0.27: Channel Icons missing

Bill Meek keemllib at gmail.com
Sat Oct 17 04:12:26 UTC 2015


On 10/15/2015 03:20 PM, Jerome Yuzyk wrote:
> On Saturday, September 19, 2015 07:00:08 PM mo.ucina wrote:
>>
>> On 19/09/15 07:18, Jerome Yuzyk wrote:
>>> On Friday, September 18, 2015 09:49:43 AM Kirk Bocek wrote:
>>>> On 9/18/2015 9:42 AM, Jerome Yuzyk wrote:
>>>>> I haven't yet, but others have had to. The icons are all where they
>>>>> should be, owned my mythtv. Apache is configured as out of the box
>>>>> plus the mythweb config, everything worked except the icons and the
>>>>> Backend Logs link. The backend, frontend, and -setup all run as
>>>>> mythtv. I forgot to mention in my reply to Kirk that my icons live in
>>>>> /var/lib/mythweb/data/tv_icons and after putting icons there they all
>>>>> show in MythWeb just like they used to in 0.21. So, there's some kind
>>>>> of disconnect.
>>>> Is this some kind of permissions thing? On my setup Mythbackend is
>>>> running as user mythtv whereas mythweb is running as the web server user
>>>> apache.
>>>
>> I remember having to create a special group for icons , and then in the
>> icon path definition under channels , changed the absolute paths to
>> relative ones . This is because now they sat in this icon group/folder
>> place .
>
> Yep, that's what I had to do: create a "Channel Icons" Storage Group and then point it to /home/mythtv/.mythtv/channels. Now I see them in the EPG and Info screens for a program I'm viewing. So in 0.27.4 at least icons-handling isn't automatic.
>

Hi,

It's impossible to argue with your success, but it did work in
0.27-pre when I tested and made some updates to the Wiki.

https://code.mythtv.org/cgit/mythtv/tree/mythtv/libs/libmythbase/storagegroup.cpp?h=fixes/0.27#n68
Unless the directories don't exist and can't be created,
there's no logging available.

And, in the interest of not sticking my foot in my mouth, today I
fired up a v0.27.5-17-g2ad3158 backend and verified that there
was no manually built ChannelIcons Storage Group, and that this:

     http://192.168.1.220:6544/Guide/GetChannelIcon?ChanId=1261

displays an icon. If the above doesn't work, then nothing else
will. ChanId, not ChanID is important and mythweb must have this
commit:

     https://code.mythtv.org/trac/changeset/6d10afe/mythweb

The Storage Group name is ChannelIcons, not Channel Icons just
for the record (built-in or manually created.) I suspect that
the SG you cited above just is just typo.

Nothing wrong with doing it manually, it just isn't _always_
required.

I don't know what commit level you were running on when this
started failing, but it's possible that you upgraded mythweb
and that's why it started working.

-- 
Bill


More information about the mythtv-users mailing list