I've created an m3u with the following method:
[PRE]
wget -O somelist.m3u '
http://example.com:9981/playlist/channels'
[/PRE]
Then I remove the '?ticket=.....' from the URL's and add the username info in the URL:
[PRE]
http://example.com:9981/stream/channelid/936827062?ticket=ADA49BE7A675997954DFB39B53EB94BDBD22D4D1&profile=pass
[/PRE]
change to
[PRE]
http://mylogin:mypass@example.com:9981/stream/channelid/936827062
[/PRE]
I feed the m3u file into a player (like vlc) and I noticed that when I select a channel, it doesnt' work from the first attempt, I need to reselect one more time.
The interesting part in the log:
[PRE]
tvheadend[1322]: webui: Stop streaming /stream/channelid/576096775, No service assigned to channel
[/PRE]
If I try again, it looks like the "service gets assigned to channel" and I can stream the channel to the player.
I am suspecting that tvheadend makes the assignement in the background on the fly.
question:
Am I calling the IPTV stream correctly? or am I supposed to call it with a different url i.e. using the mux URL?