[Release] Updated NZ IPTV Files

I have updated my IPTV generator script to output a few more types of m3u8 files that should be compatible with a greater range of devices & software.

You can view the currently available TV Channels & Radio Stations HERE.
Below are the different types of files that are automatically generated.


These m3us files are made to be used with any device / program that does not have it's own files below.
They don't pipe any streams and don't add any extra headers etc.


These m3u8 files are made to be used with KODI and IPTV Simple Client add-on.
They are very similar to the raw files, except they add a X_FORWARD header for all streams.


These m3u8 files are made to be imported into Tvheadend as an IPTV Automatic Network.
All the streams are piped to ffmpeg to re-container them as MPEG-TS.

Therefore, they require ffmpeg to be installed on the system running Tvheadend and that it's path is /usr/bin/ffmpeg (symlink if different).

Tvheadend will remove mapped services if the URL (the pipe:// command) changes.
To work around this, a URL from my site is used which will redirect to the actual media URL.
This allows the media URL to change without Tvheadend thinking it's a new channel.

If you don't have ffmpeg, you could try using the above RAW files instead - but you may find quite a few streams will not work without being piped through ffmpeg. I suggest a google for "how to install ffmpeg on XX". The steps are usually pretty easy :)


These files simply contain the stream information in a nice JSON formatted file.
My NZ Freeview & NZ Radio KODI add-ons use these files for their data.


All above files use my unique channel identifications.
This allows them to work with my below EPG files.
These are full 7 day EPG files for all Freeview channels.

All streams are scraped and checked nightly for maximum reliability.

You can view all the generated files on my Github HERE.
(Note: There may not be a nightly commit due to files not changing)
All above links simply redirect to the Github files.

Where possible, the providers API's are used to pull the stream URL's which will help reduce risk of outdated streams.

I am automatically notified of any failed streams.
It is best to pull the files on or after 2:00 am (as they are generated around 1:30am).

If you find yourself using any of these files, please consider shouting me a coffee.