Understanding EPG and m3u playlist relationship

by zapp_44

Hello,

I’m trying to understand how EPG and IPTV m3u works. My Service provider is not providing EPG for all channels .. so I’m trying to learn how to make my own,

for Example from M3U:

#EXTINF:-1 tvg-ID="" tvg-name="CA: CBC TORONTO" tvg-logo="" group-title="US Canada",CA: CBC TORONTO
http://IPTV_service.com/channles 

and I downloaded EPG data using zap2xml from zap2it and tvguide. I’m trying to make one work.

here is xml example form tvguide

<channel id="I6.15758.tvguide.com">
		<display-name>6 CBLTHD</display-name>
		<display-name>6</display-name>
		<display-name>CBLTHD</display-name>
		<display-name>CBC Toronto HDTV</display-name>
</channel>

and from zap2it

<channel id="I1.10084.zap2it.com">
		<display-name>1 CBC</display-name>
		<display-name>1</display-name>
		<display-name>CBC</display-name>
		<icon src="https://zap2it.tmsimg.com/h3/NowShowing/10084/s10084_h3_aa.png" />
</channel>

I’m trying to figure out if I need to use a “channel id” tag and match it in M3U or maybe name?

When I tried usnig data from zap2it nothing happened. I didn’t get a EPG info

I used this in M3U :

#EXTINF:-1 tvg-ID="I1.10084.zap2it.com" tvg-name="CA: CBC TORONTO" tvg-logo="" group-title="US Canada",CA: CBC TORONTO
http://IPTV_service.com/channles 

I’m on a window 10 in KODI with PVR IPTV Simple Client.

I think I’m missing something, I’m not sure what.

any suggestions on how to make EGP work?

Thanks

brandeded

IMHO this is way too technical and specific for this forum. It's like you're way down the track and are asking people to troubleshoot your code.

Instead, have you just tried to pull an EPG? Usually providers use xmltv ( https://github.com/XMLTV/ )

For example I pull my EPG from here and my provider didn't give me the link

http://contoso.local:8080/xmltv.php?username=USERNAME&password=PASSWORD

jcac44

How do you configure zap2xml to work with tvguide.com?

allanfarrell

Just pay for xtream editor and do it easily. It's not very expensive