[mythtv-users] 2 missing channels with XMLTV JSON, but not missing with DataDirect.

Bill Meek keemllib at gmail.com
Tue Nov 20 15:32:51 UTC 2018


On 11/20/18 5:57 AM, James Abernathy wrote:
> 
> On 11/19/18 9:25 PM, Robert Kulagowski wrote:
>> On Mon, Nov 19, 2018 at 7:35 PM James Abernathy <jfabernathy at gmail.com> wrote:
>>> 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.
>> If the grabber keeps the raw JSON around, then take it, paste it into
>> jsonlint.com and see if the channel is there. If it's in the raw data,
>> but not in MythTV, then it's a MythTV issue. If it's not there, then
>> you can let me know that it's not in the raw JSON.
> 
> 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.

Can't tell you where the "raw JSON" lives, but the XML is downloaded 1st:

Open two terminal windows. cd /tmp in the 1st one.

In the 2nd, start running mythfilldatabase -v xmltv

When you see messages like these in the 2nd window:

   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

Go the the 1st window and type ls -lrt. You'll see a file named
mythLLLLLL (L=letters.) type: cp mythLLLLLL blah

Unless you've got a really small number of channels, you don't need to
be quick, but the mythLLLLLL file will go away.

The blah file has the raw XML in it. How to determine if your channel is
there I also don't know. But, this is what I get for my 11.1 channel and
that channel is in my EPG and can be recorded:

$ grep "11\.1" blah
   <display-name>11.1</display-name>

You can also grep for the xmltvid and (at least I) see lots of entries,
most likely for each program.

Haven't been following this thread close enough, but assume that in the
sqlite DB that 11.1 is marked selected. I've been using sqlitebrowser
to view/change mine.

-- 
Bill


More information about the mythtv-users mailing list