tunarr icon indicating copy to clipboard operation
tunarr copied to clipboard

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

Open chrisbenincasa opened this issue 1 year ago • 1 comments
trafficstars

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 avatar Apr 30 '24 15:04 chrisbenincasa

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

chrisbenincasa avatar Jun 11 '24 14:06 chrisbenincasa