Kodi Community Forum

Full Version: Pass HTTP Headers to AddDirectoryItem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
(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.
OK. Will try that
Thanks!