<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/20/18 9:15 PM, Bill Meek wrote:<br>
</div>
<blockquote type="cite"
cite="mid:b25d9e21-4591-2498-e773-29ed310d10c8@gmail.com">On
11/20/18 9:32 AM, Bill Meek wrote:
<br>
<blockquote type="cite">On 11/20/18 5:57 AM, James Abernathy
wrote:
<br>
<blockquote type="cite">
<br>
On 11/19/18 9:25 PM, Robert Kulagowski wrote:
<br>
<blockquote type="cite">On Mon, Nov 19, 2018 at 7:35 PM James
Abernathy <a class="moz-txt-link-rfc2396E" href="mailto:jfabernathy@gmail.com"><jfabernathy@gmail.com></a> wrote:
<br>
<blockquote type="cite">To me this seems like a source data
problem. When I pointed it out to SD, at first they said
they had no problem, but it got fixed within hours.
<br>
</blockquote>
If the grabber keeps the raw JSON around, then take it,
paste it into
<br>
jsonlint.com and see if the channel is there. If it's in the
raw data,
<br>
but not in MythTV, then it's a MythTV issue. If it's not
there, then
<br>
you can let me know that it's not in the raw JSON.
<br>
</blockquote>
<br>
I'm hoping someone can tell me where to find the raw JSON.
I'll test what I find in preparation for if this happens
again. I checked this morning and I have 20 days of EPG on
the channel that was giving me problems yesterday before it
was fixed.
<br>
</blockquote>
<br>
Can't tell you where the "raw JSON" lives, but the XML is
downloaded 1st:
<br>
<br>
Open two terminal windows. cd /tmp in the 1st one.
<br>
<br>
In the 2nd, start running mythfilldatabase -v xmltv
<br>
<br>
When you see messages like these in the 2nd window:
<br>
<br>
2018-11-20 08:36:32.280982 I Inserting new program :
2018-12-10T18:30:00Z - 2018-12-10T19:00:00Z
I98010.json.schedulesdirect.org some pgm
<br>
<br>
Go the the 1st window and type ls -lrt. You'll see a file named
<br>
mythLLLLLL (L=letters.) type: cp mythLLLLLL blah
<br>
<br>
Unless you've got a really small number of channels, you don't
need to
<br>
be quick, but the mythLLLLLL file will go away.
<br>
<br>
The blah file has the raw XML in it. How to determine if your
channel is
<br>
there I also don't know. But, this is what I get for my 11.1
channel and
<br>
that channel is in my EPG and can be recorded:
<br>
<br>
$ grep "11\.1" blah
<br>
<display-name>11.1</display-name>
<br>
<br>
You can also grep for the xmltvid and (at least I) see lots of
entries,
<br>
most likely for each program.
<br>
<br>
Haven't been following this thread close enough, but assume that
in the
<br>
sqlite DB that 11.1 is marked selected. I've been using
sqlitebrowser
<br>
to view/change mine.
<br>
<br>
</blockquote>
<br>
Or, maybe just using the existing option to verify the channel;
<br>
<br>
tv_grab_zz_sdjson_sqlite --config-file
'/home/mythtv/.mythtv/HDHR.xmltv' --list-channels
<br>
<br>
adjusting the config-file for your system.
<br>
<br>
Maybe someone else (that's not just getting started with this
method
<br>
can comment on if the JSON is available. I'm thinking that it only
<br>
exists as the grabber processes it, not in a file. And, then
perhaps
<br>
it's converted to XML which is readable in /tmp.
<br>
<br>
</blockquote>
<p>At this point my list of channels is correct and at least 2 days
of EPG updates at 2am has run correctly and pulled data. I have no
schedule breaks in data during this 21 days. <br>
</p>
<p>So I'm back to normal here and I will keep monitoring it.</p>
<p>The question is, will these EPG pulls every change my list of
channels? If my list of channels is used to pull the data, then I
should get whatever is listed for those channels. If the channel
list changes on the upstream service, then I would not get data,
but my channel list locally should be the same?</p>
<p>I know I don't fully understand the process. I see in the
tv_grab_zz_sdjson_sqlite setup it talks about '<span style="color:
rgb(37, 37, 37); font-family: sans-serif; font-size: 14px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: 400; letter-spacing:
normal; orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial; display: inline
!important; float: none;">existing and future channels</span>'.
So I'm guessing if new channels are added I'll see them. Since
this rarely happens, not sure I've seen it happen.</p>
<p>Jim A</p>
<p><br>
</p>
</body>
</html>