chrisbenincasa / tunarr

Create a classic TV experience using your own media - IPTV backed by Plex/Jellyfin
https://tunarr.com/
zlib License
178 stars 14 forks source link

Use @iptv/playlist to generate M3U files in a typesafe way #409

Open chrisbenincasa opened 6 months ago

chrisbenincasa commented 6 months ago

We recently converted our XMLTV generation over to use the @iptv/xmltv library which offers typesafe and fast xmltv generation. They also include a similar library for generating (and parsing) m3u files, https://github.com/ektotv/playlist. We can use this to build m3us without relying on the very gnarly string concatenation we are doing today.

chrisbenincasa commented 5 months ago

Ended up forking this because I had to make quite a few changes: https://github.com/chrisbenincasa/playlist