Jump to content


Photo

EPGImport - GZ compression issue

EPGImport compression

  • Please log in to reply
4 replies to this topic

#1 h0ttz

  • Member
  • 6 posts

0
Neutral

Posted 23 February 2020 - 07:06

Hi, my provider returns their EPG file using .gz compression.

 

Here is the link: http://m3u4u.com/epg/z87jtvqgk5

 

 

I check the source code of your epg importer and I could see you are expecting that filename ends with ".gz".

 

vOZNt96.png

 

 

As you can see on the url above that is not happening and the EPG importer does not work!

 

ZT8yaG1.png

 

Is it possible for you to get the file name from the "Response Headers" ?

 

zKCuhpi.png

 

You can check the "Content-Disposition" and look for the "filename". on that case it will be "guide.xml.gz"

 

Let me know if this is useful and if I can provide you with more details.

 

Thank you.



Re: EPGImport - GZ compression issue #2 h0ttz

  • Member
  • 6 posts

0
Neutral

Posted 25 February 2020 - 23:03

Anyone ????



Re: EPGImport - GZ compression issue #3 Pr2

  • PLi® Contributor
  • 4,329 posts

+173
Excellent

Posted 26 February 2020 - 16:00

Have you checked that the there is a match possible between the suls_iptv_m3u4_channels.xml channelID and the data in the .gz file?

.gz is still supported and there is now error from your download.

The problem is in the setup between the channels list and this data file.


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: EPGImport - GZ compression issue #4 h0ttz

  • Member
  • 6 posts

0
Neutral

Posted 28 February 2020 - 00:16

Have you checked that the there is a match possible between the suls_iptv_m3u4_channels.xml channelID and the data in the .gz file?

.gz is still supported and there is now error from your download.

The problem is in the setup between the channels list and this data file.

 

 

First of all, thank you for taking the time to reply to my topic.
 
So, I collected all these log files to share with you. I believe that they will be valuable for you to debug the problem.

 

 

 

9dGm2zk.png

 

 

suls_iptv_test.sources.xml

 

kK4jACb.png

 

 

suls_iptv_test_channels.xml

 

pk1EFKo.png

 

 

twisted.log

 

v51WCOT.png

 

 

 

Importing from hdd with SUCCESS

 

5pgbiom.png

 

 

channel.m3u

#EXTM3U url-tvg="http://m3u4u.com/epg/z87jtvqgk5"
#EXTINF:-1 tvg-chno="1" tvg-id="BBCOne.uk" tvg-name="BBCOne" tvg-logo="https://s3.amazonaws.com/schedulesdirect/assets/stationLogos/s17153_h3_aa.png" group-title="Group Test",BBCOne
https://theblaze4.akamaized.net/hls/live//699982/theblaze/cm-dvr/master.m3u8
 
 

guide.xml

<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE tv SYSTEM "xmltv.dtd">
<tv generator-info-name="m3u4u" generator-info-url="https://m3u4u.com/">
<channel id="BBCOne.uk">
<display-name>BBCOne</display-name>
</channel>
<programme start="20200224234000 +0000" stop="20200225003000 +0000" channel="BBCOne.uk">
<title lang="en">The Graham Norton Show</title>
<desc lang="en">A compilation of highlights from the current series, featuring a host of stars.</desc>
</programme>
<programme start="20200225003000 +0000" stop="20200225003500 +0000" channel="BBCOne.uk">
<title lang="en">Weather for the Week Ahead</title>
<desc lang="en">Detailed weather forecast.</desc>
</programme>
</tv>

 

Attached Files


Edited by h0ttz, 28 February 2020 - 00:18.


Re: EPGImport - GZ compression issue #5 Pr2

  • PLi® Contributor
  • 4,329 posts

+173
Excellent

Posted 28 February 2020 - 22:51

Seems that you are using the XMLTV import and not the EPG Import from OpenPLi.

Because in your log there is the IPv6 implementation which is not in EPGImport.

 

https://github.com/o...GImport.py#L414

 

So you should better ask for support on an OE-A based forum since they are use the XMLTV Import.


Edited by Pr2, 28 February 2020 - 22:54.

NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 






Also tagged with one or more of these keywords: EPGImport, compression

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users