Custom HTTP Header for streaming archives - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: Custom HTTP Header for streaming archives (/showthread.php?tid=135691) |
Custom HTTP Header for streaming archives - hans01 - 2012-07-09 Hello, is it possible to add custom http headers when streaming archives from URLs? I know xbmc supports this: Code: http://some.url/file.avi|header=value I would like to combine this with a .strm file that looks like this: Code: rar://http://some.url/file.rar/file.avi Can anybody point me in the right direction? Thanks, Hans RE: Custom HTTP Header for streaming archives - spiff - 2012-07-09 hmm? so what's the problem? you know rar is of the format rar://<url encoded path to archive>/<file in archive> ... RE: Custom HTTP Header for streaming archives - hans01 - 2012-07-09 (2012-07-09, 13:27)spiff Wrote: hmm? so what's the problem? you know rar is of the format rar://<url encoded path to archive>/<file in archive> ...Well I tried to add the |header=value after the rar part, and it didn't work. I wasn't sure if/how xbmc parses the http headers in a rar definition. What I did exactly was: rar://<url encoded path to archive>/<file in archive>|<urlencoded Cookie=value> RE: Custom HTTP Header for streaming archives - spiff - 2012-07-09 ... you didn't read the structure of the url i told you, did you... the file you're opening on the remote drive is the *rar* archive, not the file inside the rar. so it's the url to the *archive* that needs the property set, not the url to the file inside the archive. Code: archiveurl = http://some/where/|whatever=bar RE: Custom HTTP Header for streaming archives - hans01 - 2012-07-09 thanks spiff, I will test this when I am home RE: Custom HTTP Header for streaming archives - Chiitus - 2014-04-22 Oh, good topic!! I really need help to play a file on .rar archive. I tried this way, but a error appear showing "Can't find next item to play" My .strm code: Code: archiveurl = http://media-a505.firedrive.com/download/92/89354601f1d7eea77d58429fdada1933?h=lz3QFZ7li1ZSZGNxZmWBqQ&e=1398223600&f=BM.208.rar&domain=firedrive.com Help! |