M3u setup with session cookie

Can someone possibly share a screenshot of a custom channel setup with a channels m3u? I found an earlier post that gave an example of the url but I’m not sure how to incorporate it.
http://ip:8089/devices/ANY/channels.m3u?session=xxxx
HLS/mpeg2ts url or text guide data ect
Also on a side note when messing with VLC I’ve noticed that streams with stream.mpg? Load really fast, how would I add that to the http://ip:8089/devices/ANY/channels.m3u?session=xxxx example
Of someone could share a screenshot with their ip redacted like this it would be helpful

For stream.mpg you would select MPEGTS and use channels.m3u?format=ts

How would session= be added
Ip:8089….,channels.m3u?format=ts/session=xxxx?
?/& ??

It would be using &

For remote access you would use https and your remote domain

https://xxx.u.channelsdvr.net:8089/devices/ANY/channels.m3u?format=ts&session=xxx

But format=ts might not work so well remotely. It depends what kind of bandwidth is available on both sides and how far the two servers are. In that case you would remove format=ts and switch to HLS mode

1 Like

Ok perfect that url is what I was looking for. And that will be used as url under source and I won’t be using text option correct?

I have a gig upload on the source side and 500mb download on the other side. But I’ll keep that in mind if it hiccups

What would xmltv guide data url look like?

Would guide data url look like this?

https://xxx.u.channelsdvr.net:8089/devices/ANY/session=xxx&guide/xmltv?duration=604800

And what is 604800?

1 Like

It would be:

https://xxx.u.channelsdvr.net:8089/devices/ANY/guide/xmltv?duration=604800&session=xxx

604800 = 7 days * 24 hours * 60 minutes * 60 seconds

1 Like

Thanks I’ll give it a go when I dig the session cookie up

This is the amount of guide data it will return, in seconds.

2 Likes

How do you get the session info? I never realized this could be done. I’ve always used a VPN to get to my home network.

In a chrome browser you would use developer tools to find the cookie. Honestly Tailscale is a better option. The cookies expired every 30days and you have to update the m3u with a new one.

What he said, I've worked with both and Tailscale is right way to go.