<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 13:23, Martin Moores wrote:<br>
    </div>
    <blockquote
cite="mid:CAEBYFR+GRhm8zr3F=H7RMgGOgcBFqGYfPXyG4C25L1=9M_yfiA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi all,
        <div><br>
        </div>
        <div>Always deciding just before Christmas is the best time to
          do things, I thought I would do a re-scan and try and move
          over to the new Atlas source for guide data.</div>
        <div><br>
        </div>
        <div>I don't seem to be getting very far unfortunately,
          mythfilldatabase fails with:</div>
        <div><br>
        </div>
        <div>
          <div>2014-12-20 12:57:24.771291 I  No programs found in data.</div>
        </div>
        <div><br>
        </div>
        <div>Full log - <a moz-do-not-send="true"
            href="http://pastebin.com/4bwu8LS4">http://pastebin.com/4bwu8LS4</a><br>
        </div>
        <div><br>
        </div>
        <div>What I have done:</div>
        <div><br>
        </div>
        <div>1 - Renamed .xmltv directories in home directories and old
          xmltv file, so nothing potentially clashing remained</div>
        <div>2 - Changed the grabber in video sources in backend setup,
          ran through configure etc.<br>
        </div>
        <div>3 - Manually ran "mythfilldatabase" command, getting the
          above output.</div>
        <div><br>
        </div>
        <div>One thing I did notice about Atlas was that there are no
          XMLTV URLs in my /home/user/.mythtv/Freeview T1 SD.xmltv,
          just:</div>
        <div><br>
        </div>
        <div>
          <div>channel=cbbs</div>
          <div>channel=cbd2</div>
          <div>channel=cbbq</div>
        </div>
        <div><br>
        </div>
        <div>Whereas with Radio Times is was:</div>
        <div><br>
        </div>
        <div>
          <div>channel=<a moz-do-not-send="true"
              href="http://hd.bbc1.bbc.co.uk">hd.bbc1.bbc.co.uk</a></div>
          <div>channel=<a moz-do-not-send="true"
              href="http://freeview.hd.channel4.com">freeview.hd.channel4.com</a></div>
        </div>
        <div><br>
        </div>
        <div>etc</div>
        <div><br>
        </div>
        <div>Just the way the grabber works I guess.</div>
        <div><br>
        </div>
        <div>I have also tried running with "--max-days 13", which I
          have read is required with Atlas, but no joy.</div>
        <div><br>
        </div>
        <div>Running with "--max-days 13 -v all" shows this:</div>
        <div><br>
        </div>
        <div>
          <div>2014-12-20 13:15:46.323246 N  Data is already present for
            Sat Dec 20 2014, skipping</div>
          <div>2014-12-20 13:15:46.323255 I  </div>
          <div>2014-12-20 13:15:46.323259 I  Checking day @ offset 1,
            date: Sun Dec 21 2014</div>
          <div>2014-12-20 13:15:46.323261 I  Data Refresh always needed
            for tomorrow</div>
          <div>2014-12-20 13:15:46.323263 N  Refreshing data for Sun Dec
            21 2014</div>
          <div>2014-12-20 13:15:46.323621 I  XMLTV config file is:
            /home/user/.mythtv/Freeview T1 SD.xmltv</div>
          <div>2014-12-20 13:15:46.325069 I  Grabber Command: nice
            tv_grab_uk_atlas --config-file '/home/user/.mythtv/Freeview
            T1 SD.xmltv' --output /tmp/myth4nzcf1 --days 1 --offset 1</div>
          <div>2014-12-20 13:15:46.325072 I  ----------------- Start of
            XMLTV output -----------------</div>
          <div>2014-12-20 13:15:46.325530 I  Managed child (PID: 12796)
            has started! * command=nice tv_grab_uk_atlas --config-file
            '/home/user/.mythtv/Freeview T1 SD.xmltv' --output
            /tmp/myth4nzcf1 --days 1 --offset 1, timeout=0</div>
          <div>2014-12-20 13:15:46.325546 I  (0x19632a0)::IncrRef()
            -> 2</div>
          <div>2014-12-20 13:15:54.820853 I  Managed child (PID: 12796)
            has exited! command=nice tv_grab_uk_atlas --config-file
            '/home/user/.mythtv/Freeview T1 SD.xmltv' --output
            /tmp/myth4nzcf1 --days 1 --offset 1, status=0, result=0</div>
          <div>2014-12-20 13:15:54.828099 I  (0x19632a0)::DecrRef()
            -> 1</div>
          <div>2014-12-20 13:15:54.828117 I  (0x19632a0)::DecrRef()
            -> 0</div>
          <div>2014-12-20 13:15:54.828139 I  ------------------ End of
            XMLTV output ------------------</div>
        </div>
        <div><br>
        </div>
        <div>Full log - <a moz-do-not-send="true"
            href="http://pastebin.com/Z6iz8ehc">http://pastebin.com/Z6iz8ehc</a><br>
        </div>
        <div><br>
        </div>
        <div>Note all the commands are running with "--days 1", is that
          right?</div>
        <div><br>
        </div>
        <div>Appreciate if anyone can shed any light on this.</div>
        <div><br>
        </div>
        <div>Thanks</div>
        <div><br>
        </div>
        <div>Martin</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    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<br>
    <a moz-do-not-send="true" href="http://hd.bbc1.bbc.co.uk"></a>
    <blockquote
cite="mid:CAEBYFR+GRhm8zr3F=H7RMgGOgcBFqGYfPXyG4C25L1=9M_yfiA@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>