Pass HTTP Headers to AddDirectoryItem
#1
Hello

Is there a way to pass headers to AddDirectoryItem when retrieving a video?
What I require specifically is 'Cookies' and 'Referer'
Alternatively, is it possible to to the same with player.Play()?

Thanks
Reply
#2
(2011-02-28, 14:18)spiff Wrote: http://some/url|Cookie=<urlencodedcookie> - set a cookie
http://some/url|Something=<urlencodedvalue> - set a value in the request header

and of course the combination
http://some/url|Cookie=<urlencodedcookie...codedvalue> - set a cookie
I believe you can you use a pipe and add them to the url.
Reply
#3
OK. Will try that
Thanks!
Reply

Logout Mark Read Team Forum Stats Members Help
Pass HTTP Headers to AddDirectoryItem0