Skip to content

Commit 2286850

Browse files
authored
Merge pull request #635 from anxdpanic/pr_isengard
2.6.0~beta4
2 parents 5450eef + 6089cb7 commit 2286850

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

addon.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2-
<addon id="plugin.video.twitch" version="2.6.0~beta3" name="Twitch" provider-name="anxdpanic, A Talented Community">
2+
<addon id="plugin.video.twitch" version="2.6.0~beta4" name="Twitch" provider-name="anxdpanic, A Talented Community">
33
<requires>
44
<import addon="xbmc.python" version="2.20.0"/>
55
<import addon="script.module.six" version="1.11.0"/>

resources/lib/twitch_addon/addon/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def get_video_by_id(self, video_id):
257257
@api_error_handler
258258
@cache.cache_method(cache_limit=cache.limit)
259259
def _get_video_token(self, video_id):
260-
results = self.usher.vod_token(video_id=video_id)
260+
results = self.usher.vod_token(video_id=video_id, headers=self.get_private_credential_headers())
261261
if 'token' in results:
262262
results = json.loads(results['token'])
263263
return self.error_check(results)

0 commit comments

Comments
 (0)