EPG in New Zealand

SS IPTV App for LG Smart TV discussion
Paule
Ensign
Ensign
Posts: 9
Joined: 01 Mar 2018, 04:14
TV Model: Samsung 55f7100
New Zealand

EPG in New Zealand

Post by Paule »

Hi

I live in New Zealand, we only have satelite TV where I live, so the picture and choice is not great, I have been trying to use SS-IPTV to watch the freeview channels, the picture and sound is great, thanks.

I am having issues with the EPG, there is a source for EPG information "http://iptv.matthuisman.nz", I have been discussing the issue with Matt. He has said.
============================
Matt Mod Paul • a day ago
I can't add those headers because the file is hosted on github (they control the headers).
They have the Access-Control-Allow-Origin: * but not the others.

(besides that, for xmltv the following headers are also required: (Access-Control-Allow-Methods: "GET, POST, OPTIONS, HEAD";
Access-Control-Allow-Headers: "Range"; Access-Control-Expose-Headers: "Accept-Ranges, Content-Encoding, Content-Length, Content-Range").

He does not support the JTV files.
===========================

Is there any way I can get EPG in New Zealand to work with SS-IPTV.

Many thanks for your help.

Paul

admin
Administrator
Administrator
Posts: 510
Joined: 15 Apr 2013, 21:45
TV Model: Samsung, Sony, Hisense, LG
Been thanked: 8 times
Great Britain

Re: EPG in New Zealand

Post by admin »

Your examples have been checked on our side.
The application has been updated to support your case.

It is possible to use compressed xmltv with the following conditions:
1. Required "Access-Control-Allow-Origin: *" header.
2. Required gzip compression, compression method should be "deflate" (1f 8b 08)
3. The file should have extension ".xml.gz" (ex.: guide.xml.gz).

The size of the compressed file should be less than 0.5 MB. The reason of the limit is bad performance on TV's.

Could you check and report the result?
Best Wishes,
Administrator of SS IPTV Forum

User avatar
Eugene
Project Leader
Project Leader
Posts: 5620
Joined: 15 Apr 2013, 22:54
TV Model: LG 47LM960V, LG LB679V
Location: Санкт-Петербург
Been thanked: 18 times
Contact:
Russia

Re: EPG in New Zealand

Post by Eugene »

Note that using of external EPG without headers required basically will become the reason of interface freezing whilie uploading xmltv.

Paule
Ensign
Ensign
Posts: 9
Joined: 01 Mar 2018, 04:14
TV Model: Samsung 55f7100
New Zealand

Re: EPG in New Zealand

Post by Paule »

Hi Guys,

Thanks for looking at this.

I am not sure if I am missing something, I have tried to get it to work but as of yet not hand any joy.

This is my m3u file with only 3 channels.
=================================
#EXTM3U x-tvg-url="http://iptv.matthuisman.nz/nzau/tv_grab_nzau"

#EXTINF:-1 tvg-name="001" tvg-id="tv.9" tvg-logo="https://raw.githubusercontent.com/matthuisman/iptv/master/nz/images/tv.9.png",TVNZ 1
http://iptv.matthuisman.nz/nz/tv.9.m3u8 ... c%2F1.0%29

#EXTINF:-1 tvg-name="002" tvg-id="tv.10" tvg-logo="https://raw.githubusercontent.com/matthuisman/iptv/master/nz/images/tv.10.png",TVNZ 2
http://iptv.matthuisman.nz/nz/tv.10.m3u ... c%2F1.0%29

#EXTINF:-1 tvg-name="003" tvg-id="tv.11" tvg-logo="https://raw.githubusercontent.com/matthuisman/iptv/master/nz/images/tv.11.png",Three
http://iptv.matthuisman.nz/nz/tv.11.m3u ... c%2F1.0%29
==========================================
I have changed the the first line in the m3u file three times as below
+++++++++++++++++++++++++++++++++
#EXTM3U x-tvg-url="http://iptv.matthuisman.nz/nzau/tv_grab_nzau"
#EXTM3U x-tvg-url="http://iptv.matthuisman.nz/nzau/epg.xml.gz"
#EXTM3U x-tvg-url="http://iptv.matthuisman.nz/nzau/epg.xml"
++++++++++++++++++++++++++++++++++++++
This is a small section of the epg file.
========================
<tv generator-info-name="MattHuisman.nz Freeview Scraper">
<channel id="tv.11">
<display-name>3 Three</display-name>
<icon src="https://raw.githubusercontent.com/matthuisman/iptv/master/nz/images/tv.11.png"/>
</channel>
......................................
<programme channel="tv.11" start="20180305095500 +0000" stop="20180305110500 +0000">
<title>Newshub Nation (Encore)</title>
<desc>
Hosted by Lisa Owen, Newshub Nation is an in-depth weekly current affairs show focusing on the major players and forces that shape New Zealand.
</desc>
<episode-num system="dd_progid">T805451</episode-num>
</programme>
========================
Any ideas what I am doing wrong, many thanks for your help.

Paul

admin
Administrator
Administrator
Posts: 510
Joined: 15 Apr 2013, 21:45
TV Model: Samsung, Sony, Hisense, LG
Been thanked: 8 times
Great Britain

Re: EPG in New Zealand

Post by admin »

Hi,

Let's review your links:
1. #EXTM3U x-tvg-url="http://iptv.matthuisman.nz/nzau/tv_grab_nzau"
2. #EXTM3U x-tvg-url="http://iptv.matthuisman.nz/nzau/epg.xml.gz"
3. #EXTM3U x-tvg-url="http://iptv.matthuisman.nz/nzau/epg.xml"

As I have wrote before, the extension ".xml.gz" is required.
So, only case 2 is suitable for this requirement.

But the link "http://iptv.matthuisman.nz/nzau/epg.xml.gz" doesn't have "Access-Control-Allow-Origin: *".

Anyway, this is redirect to "https://raw.githubusercontent.com/matthuisman/iptv/9be1ac1f3ea7b0eee3174fd186f1d1b94492fcc7/nzau/epg.xml.gz"
The last link meets all the requirements and works fine.

The following playlist shows EPG for the channels in my case:

Code: Select all

#EXTM3U x-tvg-url="https://raw.githubusercontent.com/matthuisman/iptv/9be1ac1f3ea7b0eee3174fd186f1d1b94492fcc7/nzau/epg.xml.gz"
#EXTINF:-1 tvg-name="001" tvg-id="tv.9" tvg-logo="https://raw.githubusercontent.com/matthuisman/iptv/master/nz/images/tv.9.png",TVNZ 1
http://iptv.matthuisman.nz/nz/tv.9.m3u8 ... c%2F1.0%29
#EXTINF:-1 tvg-name="002" tvg-id="tv.10" tvg-logo="https://raw.githubusercontent.com/matthuisman/iptv/master/nz/images/tv.10.png",TVNZ 2
http://iptv.matthuisman.nz/nz/tv.10.m3u ... c%2F1.0%29
#EXTINF:-1 tvg-name="003" tvg-id="tv.11" tvg-logo="https://raw.githubusercontent.com/matthuisman/iptv/master/nz/images/tv.11.png",Three
http://iptv.matthuisman.nz/nz/tv.11.m3u ... c%2F1.0%29


Please note that the link: "https://raw.githubusercontent.com/matthuisman/iptv/9be1ac1f3ea7b0eee3174fd186f1d1b94492fcc7/nzau/epg.xml.gz"
has more than 3MB of xmltv content after decompression, it is the reason of slow performance (slow loading of the EPG on TV after the playlist is loaded).
That's why you need to wait till EPG became visible.
You may exclude unused channels for speedup.

For external playlist is useful to disable cache with attribute "?r=${random}":
Ordinary link: http://my.server.com/playlist.m3u
Without caching: http://my.server.com/playlist.m3u?r=${random}
Best Wishes,
Administrator of SS IPTV Forum

Paule
Ensign
Ensign
Posts: 9
Joined: 01 Mar 2018, 04:14
TV Model: Samsung 55f7100
New Zealand

Re: EPG in New Zealand

Post by Paule »

Hi

I have copied the data that you have tested but unfortunately I did not get any EPG data, this is my data.
====================================
#EXTM3U x-tvg-url="https://raw.githubusercontent.com/matthuisman/iptv/9be1ac1f3ea7b0eee3174fd186f1d1b94492fcc7/nzau/epg.xml.gz"
#EXTINF:-1 tvg-name="001" tvg-id="tv.9" tvg-logo="https://raw.githubusercontent.com/matthuisman/iptv/master/nz/images/tv.9.png",TVNZ 1
http://iptv.matthuisman.nz/nz/tv.9.m3u8 ... c%2F1.0%29
#EXTINF:-1 tvg-name="002" tvg-id="tv.10" tvg-logo="https://raw.githubusercontent.com/matthuisman/iptv/master/nz/images/tv.10.png",TVNZ 2
http://iptv.matthuisman.nz/nz/tv.10.m3u ... c%2F1.0%29
#EXTINF:-1 tvg-name="003" tvg-id="tv.11" tvg-logo="https://raw.githubusercontent.com/matthuisman/iptv/master/nz/images/tv.11.png",Three
http://iptv.matthuisman.nz/nz/tv.11.m3u ... c%2F1.0%29
+++++++++++++++++++++++++++++++++++++++
You say that the ("https://raw.githubusercontent.com/matthuisman/iptv/9be1ac1f3ea7b0eee3174fd186f1d1b94492fcc7/nzau/epg.xml.gz") has "Access-Control-Allow-Origin: *", is this in the file or on the web server, how did find this and the redirection.

I can create a basic http server on my router (192.168.1.*) to serve up files would this work if I put the EPG.xml.gz file there.

Is there some other way to test the the m3u and EPG.xml.gz files from within my network.

Is there away to tell if my SS-IPTV application is up to date.

Many thanks for your help

Cheers Paul

User avatar
Eugene
Project Leader
Project Leader
Posts: 5620
Joined: 15 Apr 2013, 22:54
TV Model: LG 47LM960V, LG LB679V
Location: Санкт-Петербург
Been thanked: 18 times
Contact:
Russia

Re: EPG in New Zealand

Post by Eugene »

We tested this case on many our devices and everything should work. So, it's very strange why it doesn't work for you.
Could you please, make video from app's start and how open playlist. Write, please, your device Id also.

Paule
Ensign
Ensign
Posts: 9
Joined: 01 Mar 2018, 04:14
TV Model: Samsung 55f7100
New Zealand

Re: EPG in New Zealand

Post by Paule »

Hi
I have added the Brave channel so you can see the the EPG is working from your internal source, data uploaded m3u file below.

Code: Select all

#EXTM3U x-tvg-url="https://raw.githubusercontent.com/matthuisman/iptv/9be1ac1f3ea7b0eee3174fd186f1d1b94492fcc7/nzau/epg.xml.gz"
#EXTINF:-1 tvg-name="001" tvg-id="tv.9" tvg-logo="https://raw.githubusercontent.com/matthuisman/iptv/master/nz/images/tv.9.png",TVNZ 1
http://iptv.matthuisman.nz/nz/tv.9.m3u8|X-Forwarded-For=202.89.4.222&User-Agent=FMLE%2F3.0+%28compatible%3B+FMSc%2F1.0%29
#EXTINF:-1 tvg-name="003" tvg-id="tv.11" tvg-logo="https://raw.githubusercontent.com/matthuisman/iptv/master/nz/images/tv.11.png",Three
http://iptv.matthuisman.nz/nz/tv.11.m3u8|X-Forwarded-For=202.89.4.222&User-Agent=FMLE%2F3.0+%28compatible%3B+FMSc%2F1.0%29
#EXTINF:-1 tvg-name="004" tvg-id="tv.12" tvg-logo="https://raw.githubusercontent.com/matthuisman/iptv/master/nz/images/tv.12.png",Bravo
http://iptv.matthuisman.nz/nz/tv.12.m3u8|X-Forwarded-For=202.89.4.222&User-Agent=FMLE%2F3.0+%28compatible%3B+FMSc%2F1.0%29


I have attached a screen shot of the application summary but unfortunately I can't find a video format (MP4, MPG, AVI) that it will let me attach, is there some other way I can send it

I hope this helps



Cheers Paul

Paule
Ensign
Ensign
Posts: 9
Joined: 01 Mar 2018, 04:14
TV Model: Samsung 55f7100
New Zealand

Re: EPG in New Zealand

Post by Paule »

Hi

I could not find a way to upload the video, so I have taken screenshots with the times;

4 sec from image 1 to change to image 2
5 sec from image 2 to change to image 3

Paule
Ensign
Ensign
Posts: 9
Joined: 01 Mar 2018, 04:14
TV Model: Samsung 55f7100
New Zealand

Re: EPG in New Zealand

Post by Paule »

Hi

I could not find a way to upload the video, so I have taken screenshots with the times;

13 sec from image 3 to change to image 4
2 sec from image 4 to change to image 5
1 sec from image 5 to change to image 6

Post Reply