Necroing an old feature request that had a fair few votes on it as a really liked / requested feature.
Allow the use pre and post commands to IPTV Muxes OR networks as a whole without having to alter the M3U line-by-line or individual MUX URLs.
E.g.
Current faffery required :
pipe:///usr/bin/ffmpeg -reconnect 1 -reconnect_at_eof 1 -reconnect_streamed 1 -reconnect_delay_max 2000 -probesize 1000k -analyzeduration 0 -fpsprobesize 0 -fflags -nobuffer -err_detect ignore_err -i https://someurl/somechannel/someUUID -codec copy -f mpegts -tune zerolatency pipe:1
PRE : /usr/bin/ffmpeg -reconnect 1 -reconnect_at_eof 1 -reconnect_streamed 1 -reconnect_delay_max 2000 -probesize 1000k -analyzeduration 0 -fpsprobesize 0 -fflags -nobuffer -err_detect ignore_err
URL : https://someurl/somechannel/someUUID
POST : -codec copy -f mpegts -tune zerolatency pipe:1
Simply, 3 fields that when combined create final the MUX.