One of those projects that has me wondering what I was doing instead of building this. The end result is great, and the technical details seem like they'd be interesting. TIL about Internet Protocol TV: https://github.com/iptv-org/iptv
replies(2):
Nowadays theres better tools for the job. StreamMaster* for example can handle thousands of IPTV sources and let you organise them nicely into something that can be read by Plex, Jellyfin, etc.
*Sadly recently abandoned but still available on github.