[mythtv-users] mythweb icons

Jerry mythtv at hambone.e4ward.com
Mon Dec 16 18:37:52 UTC 2013


On Mon, Dec 16, 2013 at 12:14 PM, Bill Meek <keemllib at gmail.com> wrote:

If you're running mythtv-setup (for example) as 'jam' then the icons would
> be saved in ~jam/.mythtv/channels. But in 0.27, the backend (and
> therefore the Services API) should get them from ~mythtv/.mythtv/channels,
> unless you run your backend as some other user.


I'm running mythbackend as user mythtv.  The home directory for this user
was created as /var/lib/mythtv, and I have
/var/lib/mythtv/.mythtv/channels.  I've run mythtv-setup as mythtv and the
channel icons look okay when running it.  Immediately afterward, I've run
mythfilldatabase as the mythtv user.

I have also tried changing the mythtvbackend user to my main user, running
everything as him, with the same results.


> If you're running 0.27, this I'd try this test:
>
>>
>>>>     http://<yourMasterBackend>:6544/Guide/GetChannelIcon?
>>>> ChanId=<oneOfYourChannelIds>
>>>>
>>>
>> Blank page
>>
>
> That's bad. You can look at what fails in your backend log if you
> start with "upnp" logging, or use: "mythbackend --setverbose upnp"
> on a running backend. Good log entries look like these:
>
>     ExtractMethodFromURL(end) : GetChannelIcon : /Guide
>     ServiceHost::ProcessRequest: GetChannelIcon : GET
> /Guide/GetChannelIcon?ChanId=1021 HTTP/1.1
>     HTTPRequest::SendResponse( File ) :200 OK -> FDF9:123:456:1::789 (I'm
> using IPv6)
>     SendResponseFile ( /home/mythtv/.mythtv/channels/cbs.jpg )
>     HTTPRequest::TestMimeType(/home/mythtv/.mythtv/channels/cbs.jpg) -
> type is image/jpeg
>     SendResponseFile : --- size = 0, offset = 4569, sent = 4569
>
> It could be that cached icons are working today, but changes/additions
> will be missed.


My log looks like this after trying to grab an icon with
http://sirius:6544/Guide/GetChannelIcon?ChanId=902

2013-12-16 12:37:51.680178 I [1268/2876] HttpServer56 httprequest.cpp:1365
(ExtractMethodFromURL) - ExtractMethodFromURL(end) : GetChannelIcon : /Guide
2013-12-16 12:37:51.680199 I [1268/2876] HttpServer56 servicehost.cpp:294
(ProcessRequest) - ServiceHost::ProcessRequest: GetChannelIcon : GET
/Guide/GetChannelIcon?ChanId=902 HTTP/1.1
2013-12-16 12:37:51.681175 I [1268/2876] HttpServer56 httprequest.cpp:764
(FormatFileResponse) - HTTPRequest::FormatFileResponse() - cannot find file
2013-12-16 12:37:51.681197 I [1268/2876] HttpServer56 httprequest.cpp:244
(SendResponse) - HTTPRequest::SendResponse(xml/html) () :404 Not Found ->
192.168.1.60: 2

Is there a way to show the errors loading the channel icons with the
frontend?  I see no evidence of errors when running mythfrontend --loglevel
debug.

/var/lib/mythweb/data is 755 apache:apache, as well as
/var/lib/mythweb/data/tv_icons, which is empty.  /var/lib/mythweb/data is
symlinked from /usr/share/mythweb/data

Should these directories be apache:mythtv 775?  I'm going to give that a
shot.

http://backend:6544 shows myth status
>>
>
> Good.
>

Likewise for me. I also get the status menu.

I'm most concerned with getting the icons working when using LiveTV in the
frontend.  Getting them working in mythweb would be a nice bonus, though. :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20131216/85f2051a/attachment.html>


More information about the mythtv-users mailing list