Some of the streamers I follow,and subscribe to, have their past broadcasts vods locked behind a subscription wall. Those will be listed when i chose past broadcasts, but are unable to play them. I suspect thats because I'm not logged in, hence Twitch doesn't know I'm a subscriber. Would be nice if it where possible to play those from Kodi, now I have to exit into the desktop and use a browser to view those vods, something i would like to avoid
I see on the Github page that user authentication is under "What's next?", any idea of when this can/will be implemented?
Edit: Found the answer on Github:
Quote:This feature is on the to do list, however it seems most contributing Devs are fairly busy at the moment (myself included). Feel free to develop it if you're capable and submit a pull request.
Unless something has changed since that was posted
Maybe this can be used to save some work/koding? If anyone has some free time on their hands they don't know what to do with
https://github.com/omab/python-social-auth
https://github.com/omab/python-social-au.../twitch.py
Edit 2:
I managed to get this to work in an
ugly way since i don't know Python (but some PHP, javascript and a few other things).
First i got my access token from Twitchs API with a little php script (used this lib:
https://github.com/Xxplosions/twitchtv-oauth) after having added and authorized that "app" on my twitch account, then appended ?oauth_token=YOUR_TOKEN_VALUE to the end of line 426 in twitch.py
From:
Code:
VIDEO_CHUNKS = 'https://api.twitch.tv/api/videos/{0}'
To
Code:
VIDEO_CHUNKS = 'https://api.twitch.tv/api/videos/{0}?oauth_token=YOUR_TOKEN_VALUE'
The token value is a string of 30 characters.
Of course next time this add-on gets updated this will (most likely) be overwritten. But until someone with the required Python knowledge and time is able to add this functionality, this works and is better than nothing (for me)