[mythtv-users] XMLTV and mythfilldatabase

R. G. Newbury newbury at mandamus.org
Thu Mar 26 21:30:49 UTC 2020


TL;DR: Your xmltvid file is using the wrong format. Should be:
channel=31507
channel=24051
And it does seem to take FOREVER to run!

Long version
The process set out in the wiki can be confusing.

You have the correct grabber set in mythtv-setup -> General, (in this 
case, the tv_grabber_zz_sdjson grabber)

We can see this, as you get:
2020-03-26 13:04:52.395982 I  Updating source #1 (antenna_xmltv) with 
grabber tv_grab_zz_sdjson
2020-03-26 13:04:52.396432 I  Found 73 channels for source 1 which use 
grabber
2020-03-26 13:04:52.396893 I  Starting process signal handler
2020-03-26 13:04:52.396905 I  Starting process manager
2020-03-26 13:04:52.397833 I  Starting IO manager (write)
2020-03-26 13:04:52.397847 I  Starting IO manager (read)
2020-03-26 13:04:52.747539 I  Grabber has capabilities: baseline 
manualconfig preferredmethod
2020-03-26 13:04:53.098070 I  Grabber prefers method: allatonce
2020-03-26 13:04:53.098815 I  XMLTV config file is: 
/home/mythuser/.mythtv/antenna_xmltv.xmltv

The problem is format of your file: 
/home/mythtv/.mythtv/antenna_xmltv.xmltv.

This is where it gets confusing. If you run tv_grabber_zz_sdjson 
--configure, one of the choices is for the xmltvid format. You clearly 
selected the sdjson format: I12345.json.schedulesdirect.org
It looks like that format is used in your antenna_xmltv.xmltv file.

On my system the OTA.xmltv file looks like:
...
channel=31507
channel=24051

Even though the xmltvid entry in the Channel Editor shows the long form 
Ixxxxxx.json.schedulesdirect.org. (And even more confusing, the cable 
channels listings in the Channel Editor are the short form: the OTA 
channels are the long form, but ONLY in the Channel Editor.)

And yes there is a LONG gap, when nothing appears to be happening when 
you run the /usr/bin/mythfilldatabase program.

Geoff


On 2020-03-26 2:57 p.m., Jack McGee wrote:
> OK, I don't understand.
> 
> mythtvsetup on backend:
> 
> I deleted the VideoSource. Created a new one.
> 
> I go into Input connections, set each to that new source, and click 
> fetch listings from lisitings source.
> 
> Says it may take a long time. how much time.  I never see any changes in 
> that screen after I click that.
> 
> 
> On 3/26/20 1:36 PM, Peter Bennett wrote:
>> Did you follow the process in the wiki? 
>> (https://www.mythtv.org/wiki/XMLTV#Converting_from_DataDirect_to_XMLTV)
>> You need to either manually update the xmltvids in each channel or 
>> delete the channels and add them back with mythfilldatabase.
>>

-



More information about the mythtv-users mailing list