Dynamic m3u8 playlist



Hi,

I’d like to automate the following and feed it to IPTV simple client:

(echo \#EXTM3U;curl server/stations.json|jq -r ‘…’)>playlist.m3u8

So anytime when the simple client wants to load the playlist I’d like to feed it the above file. Is that already possible or what would be the best way to achieve this?