[GH-ISSUE #69] tvg-id #901

Closed
opened 2026-03-15 16:18:47 +03:00 by kerem · 30 comments
Owner

Originally created by @NezbednikSK on GitHub (Jul 24, 2021).
Original GitHub issue: https://github.com/Free-TV/IPTV/issues/69

Originally assigned to: @NezbednikSK on GitHub.

Uhh, so I would like your opinion.
I added Markíza, Doma and Dajto.
They only provide an SD stream for free and want you to pay for the HD stream.
Technically, this is not illegal as it is streamed off their servers.
Should the channels be removed / kept in SD?

Originally created by @NezbednikSK on GitHub (Jul 24, 2021). Original GitHub issue: https://github.com/Free-TV/IPTV/issues/69 Originally assigned to: @NezbednikSK on GitHub. Uhh, so I would like your opinion. I added Markíza, Doma and Dajto. They only provide an SD stream for free and want you to pay for the HD stream. Technically, this is not illegal as it is streamed off their servers. Should the channels be removed / kept in SD?
kerem closed this issue 2026-03-15 16:18:52 +03:00
Author
Owner

@freetv332 commented on GitHub (Aug 5, 2021):

Can you access the HD streams without paying?

<!-- gh-comment-id:893861006 --> @freetv332 commented on GitHub (Aug 5, 2021): Can you access the HD streams without paying?
Author
Owner

@NezbednikSK commented on GitHub (Aug 6, 2021):

Yep

<!-- gh-comment-id:894048461 --> @NezbednikSK commented on GitHub (Aug 6, 2021): Yep
Author
Owner

@NezbednikSK commented on GitHub (Aug 6, 2021):

The URLs are formatted the same as for some other channels, so with editing the URLs you can access them without paying.
Normally, you can only access the SD one for free. IMO we should remove them, as they are region-locked and the channel is officially pay-tv but their site offers a SD stream.

Let me make a PR that removes them.

<!-- gh-comment-id:894049383 --> @NezbednikSK commented on GitHub (Aug 6, 2021): The URLs are formatted the same as for some other channels, so with editing the URLs you can access them without paying. Normally, you can only access the SD one for free. IMO we should remove them, as they are region-locked and the channel is officially pay-tv but their site offers a SD stream. Let me make a PR that removes them.
Author
Owner

@NezbednikSK commented on GitHub (Aug 6, 2021):

  • Would you mind me rewriting the RTVS forwarder in PHP? RunKit is just so slow, ;-)
<!-- gh-comment-id:894061955 --> @NezbednikSK commented on GitHub (Aug 6, 2021): + Would you mind me rewriting the RTVS forwarder in PHP? RunKit is just so slow, ;-)
Author
Owner

@NezbednikSK commented on GitHub (Aug 6, 2021):

Also what about IDs for channels? tvg-id, I mean

<!-- gh-comment-id:894100581 --> @NezbednikSK commented on GitHub (Aug 6, 2021): Also what about IDs for channels? tvg-id, I mean
Author
Owner

@freetv332 commented on GitHub (Aug 17, 2021):

you mean channel numbers?

<!-- gh-comment-id:900247624 --> @freetv332 commented on GitHub (Aug 17, 2021): you mean channel numbers?
Author
Owner

@ghost commented on GitHub (Aug 17, 2021):

Nope, i meant IDs. They are used to show the correct EPG. Might be a good idea to implement them somehow, as (G), (S) and (Y) break them when not specified.

<!-- gh-comment-id:900470029 --> @ghost commented on GitHub (Aug 17, 2021): Nope, i meant IDs. They are used to show the correct EPG. Might be a good idea to implement them somehow, as (G), (S) and (Y) break them when not specified.
Author
Owner

@NezbednikSK commented on GitHub (Aug 18, 2021):

Oh yeah it is me, my alt account,

<!-- gh-comment-id:900917084 --> @NezbednikSK commented on GitHub (Aug 18, 2021): Oh yeah it is me, my alt account,
Author
Owner

@freetv332 commented on GitHub (Aug 22, 2021):

It sounds like a good idea, but where do you find these IDs?

<!-- gh-comment-id:903246686 --> @freetv332 commented on GitHub (Aug 22, 2021): It sounds like a good idea, but where do you find these IDs?
Author
Owner

@NezbednikSK commented on GitHub (Aug 22, 2021):

https://github.com/iptv-org/epg/blob/master/codes.csv

<!-- gh-comment-id:903320083 --> @NezbednikSK commented on GitHub (Aug 22, 2021): https://github.com/iptv-org/epg/blob/master/codes.csv
Author
Owner

@freetv332 commented on GitHub (Aug 30, 2021):

OK let's add them. You can start modifying the lists, I'll adapt the program to include them in the playlist.

<!-- gh-comment-id:908467401 --> @freetv332 commented on GitHub (Aug 30, 2021): OK let's add them. You can start modifying the lists, I'll adapt the program to include them in the playlist.
Author
Owner

@NezbednikSK commented on GitHub (Aug 30, 2021):

Could you try making the script check if the ID is specified? Y'know, adding IDs to 700+ channels is quite the task.

<!-- gh-comment-id:908664092 --> @NezbednikSK commented on GitHub (Aug 30, 2021): Could you try making the script check if the ID is specified? Y'know, adding IDs to 700+ channels is quite the task.
Author
Owner

@ghost commented on GitHub (Sep 26, 2021):

https://github.com/iptv-org/epg/blob/master/codes.csv

404, you must use this url now: https://iptv-org.github.io/epg/index.html

<!-- gh-comment-id:927355583 --> @ghost commented on GitHub (Sep 26, 2021): > https://github.com/iptv-org/epg/blob/master/codes.csv 404, you must use this url now: https://iptv-org.github.io/epg/index.html
Author
Owner

@ghost commented on GitHub (Sep 26, 2021):

Could you try making the script check if the ID is specified? Y'know, adding IDs to 700+ channels is quite the task.

Script for format like in this pull request https://github.com/Free-TV/IPTV/pull/96

#!/usr/bin/env python3
import os
import re
for filename in sorted(os.listdir(".")):
    if filename == "README.md" or not filename.endswith(".md"):
        continue
    with open(filename, encoding='utf-8') as markup_file:
        group = filename.replace(".md", "").title()
        for line in markup_file:
            if "<h1>" in line.lower() and "</h1>" in line.lower():
                group = re.sub('<[^<>]+>', '', line.strip())
            if not "[>]" in line:
                continue
            split = line.split("|")
            try:
                epg_line = split[5].strip()
            except:
                epg_line = ''
            if not epg_line:
                print("EPG not found in file '{}' for channel '{}'".format(filename, split[2].strip()))
<!-- gh-comment-id:927357615 --> @ghost commented on GitHub (Sep 26, 2021): > Could you try making the script check if the ID is specified? Y'know, adding IDs to 700+ channels is quite the task. Script for format like in this pull request https://github.com/Free-TV/IPTV/pull/96 ``` #!/usr/bin/env python3 import os import re for filename in sorted(os.listdir(".")): if filename == "README.md" or not filename.endswith(".md"): continue with open(filename, encoding='utf-8') as markup_file: group = filename.replace(".md", "").title() for line in markup_file: if "<h1>" in line.lower() and "</h1>" in line.lower(): group = re.sub('<[^<>]+>', '', line.strip()) if not "[>]" in line: continue split = line.split("|") try: epg_line = split[5].strip() except: epg_line = '' if not epg_line: print("EPG not found in file '{}' for channel '{}'".format(filename, split[2].strip())) ```
Author
Owner

@NezbednikSK commented on GitHub (Oct 6, 2021):

nice one!

<!-- gh-comment-id:936309288 --> @NezbednikSK commented on GitHub (Oct 6, 2021): nice one!
Author
Owner

@KAMI911 commented on GitHub (Jul 22, 2022):

Could we add EPG support? AFAIK we have to add an another field to md files. I can manage to add that field if it is in the channel line and change the python code too.
Should I create a separated epg branch for testing and implementing, or an cloned repo? Could someone add EPG ids to *.md files?
Thanks!

<!-- gh-comment-id:1192780126 --> @KAMI911 commented on GitHub (Jul 22, 2022): Could we add EPG support? AFAIK we have to add an another field to md files. I can manage to add that field if it is in the channel line and change the python code too. Should I create a separated epg branch for testing and implementing, or an cloned repo? Could someone add EPG ids to *.md files? Thanks!
Author
Owner

@NezbednikSK commented on GitHub (Jul 22, 2022):

I'm up!

<!-- gh-comment-id:1192917676 --> @NezbednikSK commented on GitHub (Jul 22, 2022): I'm up!
Author
Owner

@KAMI911 commented on GitHub (Jul 23, 2022):

I started to add EPG id / tvg-id here:
https://github.com/Free-TV/IPTV/tree/epg
Playlist is here:
https://raw.githubusercontent.com/Free-TV/IPTV/epg/playlist.m3u8
Should I add something more like links to EPG XML files somehow, or this is enough to start use the tvg-id? The updated python script can work with and without EPG id.
I added tvg-id to few Hungarian channels. What is your opinion? What is the next task? If this provides a good solution and we got a few lists with tvg-id I can merge it to the master.

<!-- gh-comment-id:1193080789 --> @KAMI911 commented on GitHub (Jul 23, 2022): I started to add EPG id / tvg-id here: https://github.com/Free-TV/IPTV/tree/epg Playlist is here: https://raw.githubusercontent.com/Free-TV/IPTV/epg/playlist.m3u8 Should I add something more like links to EPG XML files somehow, or this is enough to start use the tvg-id? The updated python script can work with and without EPG id. I added tvg-id to few Hungarian channels. What is your opinion? What is the next task? If this provides a good solution and we got a few lists with tvg-id I can merge it to the master.
Author
Owner

@NezbednikSK commented on GitHub (Jul 24, 2022):

sounds good! i guess it's a matter of adding IDs for every channel now :)

<!-- gh-comment-id:1193244309 --> @NezbednikSK commented on GitHub (Jul 24, 2022): sounds good! i guess it's a matter of adding IDs for every channel now :)
Author
Owner

@NezbednikSK commented on GitHub (Jul 24, 2022):

and since they're IDs, https://github.com/iptv-org/epg could be used alongside the playlist to show the EPG itself

<!-- gh-comment-id:1193244634 --> @NezbednikSK commented on GitHub (Jul 24, 2022): and since they're IDs, https://github.com/iptv-org/epg could be used alongside the playlist to show the EPG itself
Author
Owner

@KAMI911 commented on GitHub (Jul 25, 2022):

@NezbednikSK: I updated the Hungarian file, could you add more for testing?

<!-- gh-comment-id:1193747210 --> @KAMI911 commented on GitHub (Jul 25, 2022): @NezbednikSK: I updated the Hungarian file, could you add more for testing?
Author
Owner

@KAMI911 commented on GitHub (Jul 25, 2022):

Added x-tvg-url support.
@NezbednikSK

<!-- gh-comment-id:1193781485 --> @KAMI911 commented on GitHub (Jul 25, 2022): Added x-tvg-url support. @NezbednikSK
Author
Owner

@NezbednikSK commented on GitHub (Jul 25, 2022):

Sure!

<!-- gh-comment-id:1194492775 --> @NezbednikSK commented on GitHub (Jul 25, 2022): Sure!
Author
Owner

@NezbednikSK commented on GitHub (Jul 25, 2022):

#184

<!-- gh-comment-id:1194521721 --> @NezbednikSK commented on GitHub (Jul 25, 2022): #184
Author
Owner

@KAMI911 commented on GitHub (Jul 26, 2022):

Thank you!

<!-- gh-comment-id:1195150746 --> @KAMI911 commented on GitHub (Jul 26, 2022): Thank you!
Author
Owner

@KAMI911 commented on GitHub (Jul 26, 2022):

It seems it is working with external EPG. Could you add more channels tvg-ids?

<!-- gh-comment-id:1195812721 --> @KAMI911 commented on GitHub (Jul 26, 2022): It seems it is working with external EPG. Could you add more channels tvg-ids?
Author
Owner

@KAMI911 commented on GitHub (Jul 27, 2022):

Added 3a220e1a8d
@NezbednikSK , @freetv332 , @riqueenz
Could you contribute additional EPG ids?
I used https://iptv-org.github.io/ page and the search on this page.
It would be nice to finish this ASAP then merge into the master branch. What are your opinions?

<!-- gh-comment-id:1196396964 --> @KAMI911 commented on GitHub (Jul 27, 2022): Added 3a220e1a8db7d55f886649c02dafb9d9b84a0eb7 @NezbednikSK , @freetv332 , @riqueenz Could you contribute additional EPG ids? I used https://iptv-org.github.io/ page and the search on this page. It would be nice to finish this ASAP then merge into the master branch. What are your opinions?
Author
Owner

@NezbednikSK commented on GitHub (Jul 27, 2022):

on it

<!-- gh-comment-id:1196775544 --> @NezbednikSK commented on GitHub (Jul 27, 2022): on it
Author
Owner

@KAMI911 commented on GitHub (Sep 19, 2022):

Do you mind if I close this issue? Since the main task has solved to have EPG id support.

<!-- gh-comment-id:1251324354 --> @KAMI911 commented on GitHub (Sep 19, 2022): Do you mind if I close this issue? Since the main task has solved to have EPG id support.
Author
Owner

@NezbednikSK commented on GitHub (Sep 19, 2022):

i guess

<!-- gh-comment-id:1251456188 --> @NezbednikSK commented on GitHub (Sep 19, 2022): i guess
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/IPTV#901
No description provided.