Skip to content

Commit

Permalink
header debug cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
s0faking committed Jan 30, 2022
1 parent d72d083 commit 2b433fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/lib/Addon.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def run():
if is_helper.check_inputstream():
link = unqoute_url(link)
debugLog("Restart Source Link: %s" % link)
headers = "User-Agent=%s&Content-Type=text/xml&SOAPAction=http://schemas.microsoft.com/DRM/2007/03/protocols/AcquireLicense" % Settings.userAgent()
headers = "User-Agent=%s&Content-Type=text/xml" % Settings.userAgent()

if params.get('lic_url'):
lic_url = unqoute_url(params.get('lic_url'))
Expand Down Expand Up @@ -249,7 +249,7 @@ def run():
debugLog("Video Url: %s" % stream_url)
debugLog("DRM License Url: %s" % lic_url)
play_item = xbmcgui.ListItem(path=stream_url, offscreen=True)
headers = "User-Agent=%s&Content-Type=text/xml&SOAPAction=http://schemas.microsoft.com/DRM/2007/03/protocols/AcquireLicense" % Settings.userAgent()
headers = "User-Agent=%s&Content-Type=text/xml" % Settings.userAgent()

play_item.setContentLookup(False)
play_item.setMimeType(input_stream_mime)
Expand Down

0 comments on commit 2b433fc

Please sign in to comment.