A few clarifications on this:
There wouldn't actually be two STREAMER_APP values -- more like one semi-universal one.
So, you could do something like scripts/onn/all
, and then in your all.m3u
you could pass the name of the app to open, along with the channel identifier. Something like:
#EXTM3U
#EXTINF:-1 channel-id="8" tvc-guide-stationid="25102",USA Network
http://{{ .IPADDRESS }}/play/tuner/nbc~usa
Where the last part of the URL nbc~usa
would be parsed in each script to open the nbc app, and then tune to usa network. Details would be different, but that would be the idea.