<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 20/12/14 20:24, Martin Moores wrote:<br>
    </div>
    <blockquote
cite="mid:CAEBYFRLqb=qMsoY36On88qDPk1bd3mNh4O_On5seRDyN9qswXQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On 20 December 2014 at 20:10, Mike
            Bibbings <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:mike.bibbings@gmail.com" target="_blank">mike.bibbings@gmail.com</a>></span>
            wrote:</div>
          <div class="gmail_quote"><br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF"> Suggest you run
                tv_grab_uk_atlas grabber manually in a terminal to check
                it works first e.g.<br>
                <br>
                tv_grab_uk_atlas --config-file  <your config
                file>  --hours 1 > grab.log<br>
                <br>
                If you see any errors in the  terminal window e.g. <br>
                <br>
                    Fetching listings:   0%
                [                                                     
                ]Status: 500 Server Error (An internal server error
                occurred)<br>
                <br>
                This indicates a problem with the metabroadcast Atlas
                API key<br>
                <br>
                <br>
                For the number of days, atlas is up to 14 at present,
                suggest you put "--refresh 0-99" in mythfilldatabase
                arguments using mythtv-setup. This allows
                mythfilldatabase to keep requesting data until no more
                is available.<br>
                <br>
                The channel=cbbs items are correct, there is a mapping
                file in your .xmltv/supplement/tv_grab_uk_atlas
                directory ( tv_grab_uk_atlas.map.channels.conf) <br>
                <br>
                Mike</div>
            </blockquote>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>Mike,</div>
            <div><br>
            </div>
            <div>Thanks for the command and other info, much
              appreciated.  The command gives me a bit more info.</div>
            <div><br>
            </div>
            <div>When running it, I get a combination of:</div>
            <div><br>
            </div>
            <div>"500 Server Error (An internal server error occurred)"<br>
            </div>
            <div><br>
            </div>
            <div>and</div>
            <div><br>
            </div>
            <div>"400 Bad Request (You must specify at least one
              publisher that you have permission to view)"<br>
            </div>
            <div><br>
            </div>
            <div>I have generated a new app on Atlas and put the new API
              key in my config file, but no joy.</div>
            <div><br>
            </div>
            <div>I have also tried a combination of "BBC" and "UK
              channel lineups" in the enabled data sources, but doesn't
              seem to make much difference.</div>
            <div><br>
            </div>
            <div>Will try a new account etc, see if I get any further.</div>
            <div><br>
            </div>
            <div>Thanks</div>
            <div><br>
            </div>
            <div>Martin<br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    For the Atlas key you also need PressAssociation PA enabled as well
    (this is where all the channel program data comes from).<br>
    <br>
    I am starting to think the problem may be at the metabroadcast end,
    I have just tried with a new API key and got the 500 internal error.
    My current API key was provided over a year ago using the old manual
    request system i.e. before the web based system. Maybe there is some
    unknown magic in getting the  API key setup correctly?<br>
    <br>
    Mike<br>
    <blockquote
cite="mid:CAEBYFRLqb=qMsoY36On88qDPk1bd3mNh4O_On5seRDyN9qswXQ@mail.gmail.com"
      type="cite">
      <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>
    <br>
  </body>
</html>