jnk22 / kodinerds-iptv

Kodinerds IPTV - Freie und legale Streams für Kodi
http://bit.ly/kodinerds-iptv-thread
657 stars 177 forks source link

Please add tvh-epg="0" for the pipe/tvheadend playlist #647

Open butrus opened 10 months ago

butrus commented 10 months ago

Adding a collection of IPTVs is a really nice feature in tvheadend, it however causes tvheadend to grab periodically the streams to search for EPG (OTA) in these streams.

You can disable it with automatic IPTV networks in tvheadend by adding tvh-epg="0" into the #EXTINF:-1 header in the playlist.

See: • https://tvheadend.org/issues/3225https://github.com/tvheadend/tvheadend/commit/7ec7cfac95f3261a4b3eeeecd3ef55d067b760d2

So I kindly ask you to add this property into the stream as IPTV streams usually contain no EPG data so it is unnecessary to run epggrab on them and for networks with slow internet connectivity completely overwhelm these. (As is the case in the rural areas of Germany...)

jnk22 commented 10 months ago

Hi @butrus, this sounds like a sensible request to me.

If I understand correctly, this should be of no problem for other users as we do not provide any EPG data ourselves, which would be another tag then. Can you confirm this?

What I don't see is why Tvheadend would try to grab EPG data in the first place as there is no explicit EPG data provided in our lists, neither in the file header, nor in any single stream header. Tvheadend however periodically checks for updates of the list, just want to be sure that we do not mix those two.

Also, do you have some logs and/or details about how often and when Tvheadend tries to grab new EPG data, so that I can verify the changes?

jnk22 commented 10 months ago

Well, obviously the provided "tvg-id" maps to EPG data that a user has potentially installed.. Haven't really used externally provided XMLTV URL's in IPTV lists in a long time, only the Tvheadend grabbers with custom mappings and custom XMLTV files.

However, if we were to disable this for the "pipe" list, I am currently unsure of how Tvheadend handles this:

Does it disable automatic search for EPG data if mapped to a channel, even if Tvheadend grabbers would provide that data, or does this not affect it at all?

And do you know of a tag that Tvheadend uses for a single stream to fetch EPG data from?