<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Nov 13, 2014 at 7:38 PM, Jay Foster <span dir="ltr"><<a href="mailto:jayf0ster@roadrunner.com" target="_blank">jayf0ster@roadrunner.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 11/13/2014 09:52 AM, Bill Meek wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 11/13/2014 10:34 AM, Jay Foster wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 11/8/2014 2:07 PM, Jay Foster wrote:<br>
</blockquote>
...<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The second odd thing is with mythweb. When I use firefox from the<br>
FE/BE system, the channel icons on the listings and recorded programs<br>
page<br>
are all scaled to the same size and look OK. When I use firefox from<br>
some other machine, the channel icons are not scaled at all. This<br>
produces a poor UI. Some are larger and some small. Why would<br>
mythweb scale the icons sometimes and not for others? Note, when<br>
accessing<br>
from the FE/BE system, I use the 127.0.0/mythweb URI, and from other<br>
machines the 192.168.x.x/mythweb URI. I cannot see why that should<br>
matter.<br>
</blockquote></blockquote>
...<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Anyone have any ideas how to fix mythweb to scale the channel icons?<br>
I compared the HTML source from the web browser for the working (FE/BE<br>
system) and non working (any other system) and they are the same (that<br>
is what I expected). How/where are the channel icons suppose to be<br>
scaled?<br>
</blockquote>
<br>
Looking at: <whereverYourMythwebIs>/<u></u>modules/tv/classes/Channel.php<br>
near line 118, I'm wondering if you're getting a local version of<br>
the icons on your remote FEs. E.g. a cached icon. If I do this:<br>
<br>
ls -l {~mythtv,~}/.mythtv/channels<br>
<br>
nothing is returned on a remote FE, because the icons are all in<br>
one place on the BE now.<br>
<br>
If you use Firefox on your FE/BE and then again on a remote FE<br>
with the following:<br>
<br>
<localhost|IP>:6544/Guide/<u></u>GetChannelIcon?ChanId=<<u></u>someChannelId><br>
<br>
are they also different sizes? (taking mythweb out of the picture)<br>
<br>
Since it's working on your backend, you must already know about this:<br>
<br>
<a href="https://www.mythtv.org/wiki/Channel_icons#Universal_Location" target="_blank">https://www.mythtv.org/wiki/<u></u>Channel_icons#Universal_<u></u>Location</a><br>
<br>
but I put it here anyway.<br>
<br>
</blockquote>
Thanks for a reply.<br>
<br>
My channel icon files are located in these directories:<br>
/var/cache/mythweb/image_<u></u>cache/<br>
/home/jay/.mythtv/channels/<br>
<br>
The /home/mythtv/.mythtv/channels/ directory is empty. I suspect that mythtv copied the files from /home/jay/.mythtv/channels/ to /var/cache/mythweb/image_<u></u>cache/. The file sizes are the same in both directories, so the files themselves have not be scaled. This is a combined FE/BE system. It is the only FE I have.<br>
<br>
When running firefox on the FE/BE system, the icons are scaled properly. When running firefox on some other computer (non mythtv computer), the icons are not scaled. The HTML code is the same for both cases. The PHP code that generates this HTML is the same code running on the same FE/BE. Somehow firefox on the FE/BE system is scaling the icons, but I have no idea how.<br></blockquote><div><br></div><div>This is probably not the problem, but maybe Firefox itself is screwed up? I've helped several people that accidentally changed the zoom (and were subsequently baffled and annoyed) by hitting the control key while they were scrolling. Ctrl+0 (zero) will reset it to the default zoom.<br><br></div><div>Karl<br></div></div></div></div>