How to do "redirects" in m3u8?

Currently, we send 302 to redirect to the m3u8 index file at the external site.

The nicest thing would be to list this m3u8 file in our own index. That way, we can host multiple channels, and disable and re-enable them on-the-fly, and list them and/or integrate EPG (possibly using scrapers).

It also makes it easy to import all exported channels to TVHeadend.

However, ffmpeg currently disallows recursing in m3u8 files. I don't know why this is except "for security reasons". Source: https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/hls.c

Edited by Ruben De Smet