xbmc / inputstream.adaptive

kodi inputstream addon for several manifest types
Other
453 stars 242 forks source link

Request headers set by user are used only in the initial request, and not in subsequent requests #1546

Closed kashaCode closed 6 months ago

kashaCode commented 6 months ago

Bug report

Describe the bug

My streaming service does not have a Kodi client, so I maintain my own. For authentication, certain HTTP request headers are required to be set. I am setting those via this line in my add-on:

"inputstream.adaptive.manifest_headers": urlencode(ISHeaders)

ISA is using the headers correctly in the initial request for manifest. Using Fiddler, I intercepted HTTP(S) traffic. See highlighted in red rectangle in screenshot:

mpd-req

But in the subsequent request to actually get the individual video segment files mentioned in the mpd manifest, these headers are not used. See "User-Agent" in screenshot:

dash-req

Expected Behavior

Headers (those that are relevant) set by user should be used in all subsequent requests.

Your Environment

Used Operating system:

note: Once the issue is made we require you to update it with new information should that be required. Team Kodi will consider your problem report however, we will not make any promises the problem will be solved.

CastagnaIT commented 6 months ago

as the name of the property says inputstream.adaptive.manifest_headers its for manifest only

read integration page https://github.com/xbmc/inputstream.adaptive/wiki/Integration