<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 11/19/18 5:47 AM, James Abernathy
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:be19952d-af7d-63b7-a130-8f3433f034fd@gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <p>I've narrowed my problem with missing EPG data for my local ABC
        channel 11-1.  Using my normal XMLTV JSON setup, I initialized
        the database and started over. At the point where you get the
        list of channels I'm missing 11-1, and 11-2, but I see 11-3.
        Below is the console, I've delete stuff not relevant to 11-*. <br>
      </p>
      <p><br>
        mythtv@mythbuntu:~$ tv_grab_zz_sdjson_sqlite --days 0
        --config-file $HOME/.mythtv/SD.xmltv<br>
        Opening the local database<br>
        Obtaining authentication token for Schedules Direct<br>
           Schedules Direct account expires on 2019-12-02T14:19:06<br>
           Schedules Direct data last updated on 2018-11-19T02:45:17<br>
        Downloading data from Schedules Direct<br>
           not downloading lineups from Schedules Direct (data current)<br>
           not downloading channel and station maps for lineup
        USA-OTA-27592 (data current)<br>
           not downloading station schedule hashes (data current)<br>
           not downloading daily schedules (data current)<br>
           not downloading programs (data current)<br>
           not downloading programs for supplemental data (data current)<br>
        Processing data and creating XMLTV output<br>
        <?xml version="1.0" encoding="UTF-8"?><br>
        <!-- Note: This data has been downloaded from Schedules
        Direct, and use of the data is restricted by the subscriber
        agreement to non-commercial use with open source projects. 
        Refer to the Schedules Direct subscriber agreement for more
        information --><br>
        <!DOCTYPE tv SYSTEM "xmltv.dtd"><br>
        <br>
        <tv generator-info-name="tv_grab_zz_sdjson_sqlite"
        generator-info-url=<a class="moz-txt-link-rfc2396E"
          href="https://github.com/garybuhrmaster/tv_grab_zz_sdjson_sqlite"
          moz-do-not-send="true">"https://github.com/garybuhrmaster/tv_grab_zz_sdjson_sqlite"</a>
        source-info-name="Schedules Direct" source-info-url=<a
          class="moz-txt-link-rfc2396E"
          href="https://www.schedulesdirect.org" moz-do-not-send="true">"https://www.schedulesdirect.org"</a>><br>
        <b><br>
        </b><b> </channel></b><b><br>
        </b><b> <channel id="I30623.json.schedulesdirect.org"></b><b><br>
        </b><b>  <display-name lang="en">WTVDDT3
          (WTVD-DT3)</display-name></b><b><br>
        </b><b>  <display-name
          lang="en">WTVDDT3</display-name></b><b><br>
        </b><b>  <display-name lang="en">11.3</display-name></b><b><br>
        </b><b>  <icon
          src=<a class="moz-txt-link-rfc2396E"
href="https://s3.amazonaws.com/schedulesdirect/assets/stationLogos/s92091_h3_aa.png"
            moz-do-not-send="true">"https://s3.amazonaws.com/schedulesdirect/assets/stationLogos/s92091_h3_aa.png"</a>
          width="360" height="270" /></b><b><br>
        </b><b> </channel></b><br>
      </p>
      <p>So then I ran mythtv-setup and deleted all Video Sources and
        created a new one for SchedulesDirect internal DataDirect
        method. i.e. no XMLTV json.</p>
      <p>Now I have an EPG with all of the 11-* subchannels. But I only
        have 13 days of data instead of the 20 you get with XMLTV json.</p>
      <p>So is this a json grabber issue or SchedulesDirect issue? My
        email from SchedulesDirect just said they had data for 11-* and
        gave me a short listing: </p>
      <pre class="moz-quote-pre" wrap="">There's data on the server for stationID 21103:

2018-11-18 7:00PM|America's Funniest Home Videos
2018-11-18 8:00PM|Dancing With the Stars: Juniors: Giving Thanks
2018-11-18 9:00PM|Shark Tank
2018-11-18 10:01PM|Shark Tank
2018-11-18 11:00PM|ABC 11 Eyewitness News at 11PM
2018-11-18 11:35PM|ABC 11 Eyewitness News Extra
2018-11-19 12:00AM|Castle: Tick, Tick, Tick ...
2018-11-19 1:00AM|Castle: Valkyrie
2018-11-19 2:00AM|ABC World News Now
2018-11-19 4:00AM|America This Morning
2018-11-19 4:30AM|ABC 11 Eyewitness News at 4:30am
2018-11-19 5:00AM|ABC 11 Eyewitness News at 5:00AM
2018-11-19 5:30AM|ABC 11 Eyewitness News at 5:30AM
2018-11-19 6:00AM|ABC 11 Eyewitness News at 6:00AM
2018-11-19 7:00AM|Good Morning America
2018-11-19 9:00AM|Live with Kelly and Ryan
2018-11-19 10:00AM|Rachael Ray: Thanksgiving Is Three Days Away, and We're Already Thinking About the Leftovers!
2018-11-19 11:00AM|The View
2018-11-19 12:00PM|ABC 11 Eyewitness News at Noon
2018-11-19 1:00PM|GMA Day
2018-11-19 2:00PM|Who Wants to Be a Millionaire
2018-11-19 2:30PM|RightThisMinute
2018-11-19 3:00PM|General Hospital
2018-11-19 4:00PM|ABC 11 Eyewitness News at 4:00pm
2018-11-19 5:00PM|ABC 11 Eyewitness News at 5:00PM
2018-11-19 5:30PM|ABC 11 Eyewitness News at 5:30PM
2018-11-19 6:00PM|ABC 11 Eyewitness News at 6:00PM
2018-11-19 6:30PM|ABC World News Tonight With David Muir


</pre>
      <p class="moz-quote-pre" wrap="">Where do we start?<br>
        Jim A<br>
      </p>
      <br>
    </blockquote>
    <p>This is interesting. A few hours after this original email, in a
      debug effort I ran:</p>
    <p> tv_grab_zz_sdjson_sqlite --quiet --get-lineup --config-file
      ~/.mythtv/SD.xmltv</p>
    <p>This time it showed the missing channels, so I went through the
      whole delete All Video Sources and setup XMLTV json again.  This
      time when finished and back online I see all expected channels
      with EPG data. <br>
    </p>
    <p>So problem solved.  I can only figure that SD found something on
      their end after my second email to them and fixed it.</p>
    <p>Jim A</p>
    <p><br>
    </p>
  </body>
</html>