su1s / e2m3u2bouquet

Enigma2 IPTV m3u parser and bouquet creator
GNU General Public License v3.0
68 stars 50 forks source link

tgv-id and tgv-ID field in m3u file, e2m3u2bouquet takes the wrong one #124

Open McTuron opened 4 years ago

McTuron commented 4 years ago

Hi, I noticed that some of my channels have a wrong tgv-id in my config file. Looking into my .m3u file, I found a correctly maintained fiels tgv-id (all lowercase) as the second field, and then as the 6th field another tgv-ID (with an uppercase -ID in the field name), which had sometimes content not matching the first field.

e2m3u2bouquet seems to always use the tgv-ID field (the uppercase ID one).

Can this be changed so that the lowercase tgv-id field is always used?

here is an example of these lines where the content does not match

EXTINF:-1 tvg-id="ZDFinfo.de" tvg-name="ZDF Info DE" tvg-logo="https://xxx.xxx/de/ZDFinfo.de.png" tvg-chno="1159" channel-id="1159" tvg-ID="" group-title="DE-Free",|DE| ZDF INFO

EXTINF:-1 tvg-id="ServusTV.de" tvg-name="Servus TV DE" tvg-logo="https://xxx.xxx/de/ServusTV.de.png" tvg-chno="1235" channel-id="1235" tvg-ID="SERVUS TV HD (DE)" group-title="DE-Free",|DE| SERVUSTV HD DEUTSCHLAND

thanks