free-greek-iptv / greek-iptv

Λίστα με κανάλια της Ελλάδας και της Κύπρου.
236 stars 153 forks source link

EPG for various channels not loading #41

Open Lelibell opened 3 years ago

Lelibell commented 3 years ago

HI Guys,

Ive discovered a bug with how the android.m3u playlist is referencing epg channels to pull the info:

Current attribute tag: epg-name Should be attribute tag: epg-id

Not sure what iptv apps you are using for testing but in my research ive come to find that there are two "standards" (and I use that word loosely) for IPTV apps. For those that use the XMLTV format you need to reference using the latter. Such examples include Kodi PVR IP TV Simple Client and Home IPTV.

I have tested this using the above change and it fixes all channels with an EPG channel reference tag per stream.

I have also added in several other missing EPG channel references (but that commit was rejected) in my test copy of the code. Let me know if you want me to send you a copy if you prefer to review/load manually.

Cheers

komhsgr commented 3 years ago

EPG is for app greek tv android and working great

Lelibell commented 3 years ago

Hi Komhsgr,

I agree the android app works great. The changes I tested do 2 things:

  1. Enable the EPG for more channels (as not all m3u8 links have the EPG references). This is a no brainer in my opinion.
  2. Including the tvg-id field instead of the tvg-name field enables the EPG for other apps that utilise a different standard. It is possible for both attributes to be specified in the record to cover both standards. I tested this on IPTV PVR Simple Client and that did not break. Might also work on your app without breaking it too whilst also expanding your great work to use cases elsewhere. This one is of course more of a discretionary thing.

Keep up the great work. Im no coding pro but do like to contribute where I can.

Cheers