hls stream that requires a cookie

Hi,

 

So far I've been able to port a few plugins over and there are a few that requires a session token to be passed to the hls stream to be able to get the key.  What can I use to do this?

 

Thanks

Session tokens are usually part of the playlist url. If you require a cookie for the stream, you should be able to do it like this: https://github.com/plexinc-plugins/Services.bundle/blob/master/Contents/Service%20Sets/com.plexapp.plugins.nbc/URL/NBC/ServiceCode.pys#L129 I am not 100% sure if this works on *all* Plex clients, though.

thanks, I’ll give that a try. how about custom headers?