<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Dec 16, 2013 at 12:14 PM, Bill Meek <span dir="ltr">&lt;<a href="mailto:keemllib@gmail.com" target="_blank">keemllib@gmail.com</a>&gt;</span> wrote:<br>

<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
If you&#39;re running mythtv-setup (for example) as &#39;jam&#39; then the icons would<br>
be saved in ~jam/.mythtv/channels. But in 0.27, the backend (and<br>
therefore the Services API) should get them from ~mythtv/.mythtv/channels,<br>
unless you run your backend as some other user.</blockquote><div><br></div><div>I&#39;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&#39;ve run mythtv-setup as mythtv and the channel icons look okay when running it.  Immediately afterward, I&#39;ve run mythfilldatabase as the mythtv user.<br>

<br></div><div>I have also tried changing the mythtvbackend user to my main user, running everything as him, with the same results.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

If you&#39;re running 0.27, this I&#39;d try this test:<br><div class="im"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
    http://&lt;yourMasterBackend&gt;:<u></u>6544/Guide/GetChannelIcon?<br>
ChanId=&lt;oneOfYourChannelIds&gt;<br>
</blockquote></blockquote>
<br>
Blank page<br>
</blockquote>
<br></div>
That&#39;s bad. You can look at what fails in your backend log if you<br>
start with &quot;upnp&quot; logging, or use: &quot;mythbackend --setverbose upnp&quot;<br>
on a running backend. Good log entries look like these:<br>
<br>
    ExtractMethodFromURL(end) : GetChannelIcon : /Guide<br>
    ServiceHost::ProcessRequest: GetChannelIcon : GET /Guide/GetChannelIcon?ChanId=<u></u>1021 HTTP/1.1<br>
    HTTPRequest::SendResponse( File ) :200 OK -&gt; FDF9:123:456:1::789 (I&#39;m using IPv6)<br>
    SendResponseFile ( /home/mythtv/.mythtv/channels/<u></u>cbs.jpg )<br>
    HTTPRequest::TestMimeType(/<u></u>home/mythtv/.mythtv/channels/<u></u>cbs.jpg) - type is image/jpeg<br>
    SendResponseFile : --- size = 0, offset = 4569, sent = 4569<br>
<br>
It could be that cached icons are working today, but changes/additions will be missed.</blockquote><div><br></div><div>My log looks like this after trying to grab an icon with <a href="http://sirius:6544/Guide/GetChannelIcon?ChanId=902">http://sirius:6544/Guide/GetChannelIcon?ChanId=902</a><br>

</div><div><br>2013-12-16 12:37:51.680178 I [1268/2876] HttpServer56 
httprequest.cpp:1365 (ExtractMethodFromURL) - ExtractMethodFromURL(end) :
 GetChannelIcon : /Guide<br>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<br>2013-12-16 12:37:51.681175 I
 [1268/2876] HttpServer56 httprequest.cpp:764 (FormatFileResponse) - 
HTTPRequest::FormatFileResponse() - cannot find file<br>2013-12-16 
12:37:51.681197 I [1268/2876] HttpServer56 httprequest.cpp:244 
(SendResponse) - HTTPRequest::SendResponse(xml/html) () :404 Not Found 
-&gt; <a href="http://192.168.1.60">192.168.1.60</a>: 2<br><br></div><div>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.<br>

</div><div><br></div><div>/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<br><br></div><div>Should these directories be apache:mythtv 775?  I&#39;m going to give that a shot.<br>

</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


<a href="http://backend:6544" target="_blank">http://backend:6544</a> shows myth status<br>
</blockquote>
<br></div>
Good.<br></blockquote></div><br></div><div class="gmail_extra">Likewise for me. I also get the status menu.<br><br></div><div class="gmail_extra">I&#39;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. :)<br>

</div></div>