<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 11/13/2014 09:53 PM, Karl Newman
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAOOwNt+e9P1t-d=JPH02qLTCjp8w4P9iCF3h14PEJMSuGXbP7w@mail.gmail.com"
      type="cite">
      <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 moz-do-not-send="true"
                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>/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/GetChannelIcon?ChanId=<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 moz-do-not-send="true"
                  href="https://www.mythtv.org/wiki/Channel_icons#Universal_Location"
                  target="_blank">https://www.mythtv.org/wiki/Channel_icons#Universal_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_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_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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://lists.mythtv.org/mailman/listinfo/mythtv-users">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a>
<a class="moz-txt-link-freetext" href="http://wiki.mythtv.org/Mailing_List_etiquette">http://wiki.mythtv.org/Mailing_List_etiquette</a>
MythTV Forums: <a class="moz-txt-link-freetext" href="https://forum.mythtv.org">https://forum.mythtv.org</a>
</pre>
    </blockquote>
    Thanks to those that responded.  I believe I have resolved the
    mythweb issue.  What I think happened is that the old version of
    mythweb used height="nn" width="nn" parameters with the img= HTML
    markup for the channel icons.  This was how the old mythweb achieved
    the scaling.  The current mythweb no longer includes those
    parameters, but uses a CSS file instead.  So my browser, on machines
    other than the new FE/BE, was caching the old CSS file (without the
    scaling class) but pulling the new HTML.  So I would see the new
    updated content, but the channel icons would not be scaled.  A
    simple refresh in the browser corrected this.  Seems silly, now.<br>
    Jay<br>
    <br>
  </body>
</html>