Jump to content


IAmATeaf

Member Since 7 May 2011
Offline Last Active Today, 10:57
-----

Posts I've Made

In Topic: How to debug EPGImport 0 events issue

2 January 2021 - 17:27

Did some more investigation, have downloaded the source file and added some extra print statements (with MK in the text), have to admit I still don't fully understand but it looks like although it downloads the file /tmp/epgimport it then doesn't seem to use it as I've highlighted below. So the None is the name of the file that it's processing?

 

[EPGImport MK] Within try sslverify.
[XMLTVImport] autostart (0) occured at 1609604192.75
[XMLTVImport] autostart (0) occured at 1609604192.88
[XMLTVImport] WakeUpTime now set to 1609654808 (now=1609604192)
[EPGImport] nextImport, source= IPTV
[EPGImport] Downloading: https://IPTV.uk:443/...ord&next_days=2 to local path: /tmp/epgimport
[EPGImport] No IPv6, using IPv4 directly: https://IPTV.uk:443/...ord&next_days=2
[EPGImport] afterDownload /tmp/epgimport
[EPGImport] unlink /tmp/epgimport
[EPGImport MK] self.channelFiles None
[EPGImport MK] not self.channelFiles
[EPGImport] afterChannelDownload None
[EPGImport] Using twisted thread
[EPGImport MK] Using twisted thread None
[EPGImport] Parsing channels from '/etc/epgimport/xstreamity.IPTV.channels.xml'
[XMLTVConverter] Enumerating event information
[XMLTVConverter MK] not self.channels
[EPGImport] ### thread is ready ### Events: 0
[EPGImport] imported 0 events
[XMLTVImport] Save last import date and count event
[XMLTVImport] Run check deep standby after import
[EPGImport] #### Finished ####

In Topic: How to debug EPGImport 0 events issue

2 January 2021 - 12:49

XStreamity just makes use of any epg data on the box. So I’m using EPGIMPORT to pull down the epg from the provider and then process and inject it into the epg cache but it always seems to find 0 events.

In Topic: How to debug EPGImport 0 events issue

1 January 2021 - 17:09

After your explanation above I think I've found what might be the issue but have no idea if it really is the issue or even how to fix/resolve?  By the way I'm using XStreamity so have no real bouquets on the box as such.

 

So the downloaded epgimport file has no references to the service ref. Would the lack of a matching service ref mean that when XMLTVConvertor processes the files it find no matches hence reports 0 events to populate back into the boxes epg.dat file?

 

Snippet from channels.xml

<?xml version="1.0" encoding="utf-8"?>
<channels>
<channel id="skysportsnews.uk">1:0:1:0000:7c99:000003e7:0:0:0:0:http%3a//example.m3u8</channel><!--UK | Sky Sports News FHD-->
<channel id="skysportsnews.uk">1:0:1:0000:0053:000003e7:0:0:0:0:http%3a//example.m3u8</channel><!--UK | Sky Sports News HD-->
<channel id="skysportsnews.uk">1:0:1:0000:0090:000003e7:0:0:0:0:http%3a//example.m3u8</channel><!--UK | Sky Sports News SD-->
 
Snippet from the downloaded epgimport file (There are multiple channel= entries for the epg events)
<?xml version="1.0" encoding="utf-8" ?><!DOCTYPE tv SYSTEM "xmltv.dtd"><tv generator-info-name="IPTV IPTV" generator-info-url="http://IPTV.co.uk:80/">
<channel id="skysportsnews.uk"><display-name>UK | Sky Sports News HD</display-name><icon src="http://epg4you.com/l...ysportsnews.png" /></channel>
<channel id="skysportsnews.uk"><display-name>UK | Sky Sports News SD</display-name><icon src="http://epg4you.com/l...ysportsnews.png" /></channel>
<channel id="skysportsnews.uk"><display-name>UK | Sky Sports News FHD</display-name><icon src="http://epg4you.com/l...ortsnews_uk.png" /></channel>
channel="skysportsnews.uk" ><title>Gillette Soccer Special</title><desc>Follow all the drama from the evening&apos;s matches, with the team on hand to bring you all the latest scores and talking points from around the grounds..</desc></programme><programme start="20201229184500 +0000" stop="20201229220000 +0000"

In Topic: How to debug EPGImport 0 events issue

1 January 2021 - 14:57

Thanks for the reply, much appreciated. I seem to have made a boo-boo with pasting snippets of the log. There is a reference to the channels file, see below. I’ll compare the contents of the downloaded EPG file and the channels.xml, any hints/tips on what specifically to look for?

XMLTVImport] autostart (0) occured at 1609498649.37
[XMLTVImport] autostart (0) occured at 1609498649.51
[XMLTVImport] WakeUpTime now set to 1609568408 (now=1609498649)
[XMLTVImport] Selected source: ['']
sourcesDone(): False None
[EPGImport] nextImport, source= IPTV
[EPGImport] Downloading: https://IPTV.uk:443/...ord&next_days=2 to local path: /tmp/epgimport
[EPGImport] No IPv6, using IPv4 directly: https://IPTV.uk:443/...ord&next_days=2
[EPGImport] afterDownload /tmp/epgimport
[EPGImport] unlink /tmp/epgimport
[EPGImport] afterChannelDownload None
[EPGImport] Using twisted thread
[EPGImport] Parsing channels from '/etc/epgimport/xstreamity.IPTV.channels.xml'
[XMLTVConverter] Enumerating event information
[EPGImport] ### thread is ready ### Events: 0
[EPGImport] imported 0 events
[XMLTVImport] Save last import date and count event
[XMLTVImport] Run check deep standby after import
[EPGImport] #### Finished ####