Kodi Community Forum
[RELEASE] Twitch.tv - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] Twitch.tv (/showthread.php?tid=134538)



RE: [RELEASE] Twitch.tv - Crowly - 2016-07-03

(2016-06-22, 22:37)MrSprigster Wrote: Crowly,your changes have been added to the Git.Thanks
Theres a bug in resources/lib/twitch/api.py: oauthtoken is missing as an argument in getVideoPlaylist()

Should be
Code:
def getVideoPlaylist(self, _id, maxQuality, oauthtoken):



RE: [RELEASE] Twitch.tv - Arokhaerr - 2016-07-03

(2016-07-03, 10:46)Crowly Wrote:
(2016-06-22, 22:37)MrSprigster Wrote: Crowly,your changes have been added to the Git.Thanks
Theres a bug in resources/lib/twitch/api.py: oauthtoken is missing as an argument in getVideoPlaylist()

Should be
Code:
def getVideoPlaylist(self, _id, maxQuality, oauthtoken):
With this change my reported bug about not being able to play Gronkh's past broadcast also vanished, thank you! ^^


RE: [RELEASE] Twitch.tv - Syncopation - 2016-07-03

So if Kodi repo has a broken version of this add-on, why not update the repo, if the github version already has a fix?
Since the repo version shows "http error" for basically every action, the addon is useless in that repo.


RE: [RELEASE] Twitch.tv - MrSprigster - 2016-07-03

Official Repo has been updated. Waiting on Pull Request merge.

Isengard+


RE: [RELEASE] Twitch.tv - Syncopation - 2016-07-04

installed from zip and twich addon is back to working state. awesome, thanks! let's hope team kodi can pull this soon.


RE: [RELEASE] Twitch.tv - miscz - 2016-07-07

Hi, the new release throws unicode errors on non-English locale

23:12:59 T:139892533282560 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeEncodeError'>
Error Contents: 'ascii' codec can't encode character u'\u0105' in position 3: ordinal not in range(128)
Traceback (most recent call last):
File "/home/misk/.kodi/addons/Twitch.tv-on-XBMC-master/resources/lib/__run__.py", line 7, in <module>
sys.exit(PLUGIN.run())
File "/home/misk/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 332, in run
items = self._dispatch(self.request.path)
File "/home/misk/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 306, in _dispatch
listitems = view_func(**items)
File "/home/misk/.kodi/addons/Twitch.tv-on-XBMC-master/resources/lib/exception.py", line 11, in wrapper
return func(*args, **kwargs)
File "/home/misk/.kodi/addons/Twitch.tv-on-XBMC-master/resources/lib/routes.py", line 95, in createListOfFeaturedStreams
for featuredStream in featuredStreams]
File "/home/misk/.kodi/addons/Twitch.tv-on-XBMC-master/resources/lib/converter.py", line 118, in convertStreamToListItem
info = self.getPlotForStream(stream)
File "/home/misk/.kodi/addons/Twitch.tv-on-XBMC-master/resources/lib/converter.py", line 225, in getPlotForStream
viewers=formatKey(Keys.VIEWERS), delay=formatKey(Keys.DELAY),
File "/home/misk/.kodi/addons/Twitch.tv-on-XBMC-master/resources/lib/converter.py", line 221, in formatKey
value = item_template.format(head=headings.get(thisKey), info=info.get(thisKey))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0105' in position 3: ordinal not in range(128)
-->End of Python script error report<--


RE: [RELEASE] Twitch.tv - VelvetKevorkian - 2016-07-08

Installed latest version via KODI repo just now, then tried latest master from git... past broadcasts still won't play.


RE: [RELEASE] Twitch.tv - Crowly - 2016-07-08

Added your oauth key? Some channels have their past broadcasts behind subscription paywalls, are you sub'ed to the channel? Have you checked the log file?


RE: [RELEASE] Twitch.tv - max_gradient - 2016-07-09

Past broadcasts also broken here. I checked and I do have the getVideoPlaylist correct including oauthtoken.

And no, paywall is not the reason, Im talking about free VODs that were previously working fine.

Log error:
15:50:05 T:2471197504 NOTICE: [xbmcswift2] Request for "/createFollowingList/" matches rule for function "createFollowingList"
15:50:13 T:2435832640 NOTICE: [xbmcswift2] Request for "/channelVideos/cohhcarnage/" matches rule for function "channelVideos"
15:50:15 T:2435832640 NOTICE: [xbmcswift2] Request for "/channelVideosList/cohhcarnage/0/true/" matches rule for function "channelVideosList"
15:50:19 T:2393967424 NOTICE: [xbmcswift2] Request for "/playVideo/v77092622/-2/" matches rule for function "playVideo"
15:50:24 T:3029973440 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.twitch/playVideo/v77092622/-2/]


RE: [RELEASE] Twitch.tv - Whitewolf99 - 2016-07-09

have the same problem with vods not working.


RE: [RELEASE] Twitch.tv - Crowly - 2016-07-10

I see that github is updated to 1.4.2, give that a try. If not do a clean reinstall of the add on (uninstall, delete the plugin.video.twitch folder in .kodi/userdata/addon_data/, install). I tried some of Cohh's vod's and they played fine on my system. Also take a look at this issue: https://github.com/StateOfTheArt89/Twitch.tv-on-XBMC/issues/175 (seems like the client id and oauth token is mixed up, these are stored in .kodi/userdata/addon_data/plugin.video.twitch/settings.xml, Your oauth token should be stored in <setting id="oauth_token" value="YOUR_OAUTH_TOKEN_HERE" />)

And a tip when you are having issue, always provide as much information as possible (OS, kodi and addon version, log), so its possible to try to reproduce the issue and then debug it.


RE: [RELEASE] Twitch.tv - Essometer - 2016-07-19

I thought the integration of the ircchat addon into the twitch addon was a reallly good idea.
That's why I forked the irchchat and made some changes to it to make it a litte bit more like real twitch chat:

-the chat names get a random color assigned
-changing the chat update in the setting menu
-twitch emotes (partially)

The problems with emotes is that I can't use grouplist, since they can't be populated form a python script.
I also can't dynamicly set an X position. That's why emotes only get parsed when only emotes are used in
a single chat message or if an emote is at the beginning of a message.

To install emotes just place them in /resources/skins/Defaults/emotes. I know thats not perfekt, but
it will work. The Files should be in .png format and named like the emotes.


https://github.com/Exormeter/script.ircchat

Please keep in mind that this is the first time I did anything with Kodi scripting related.


RE: [RELEASE] Twitch.tv - V8MEM - 2016-07-20

Client-ID will be required for Kraken API calls soon
https://blog.twitch.tv/client-id-required-for-kraken-api-calls-afbb8e95f843


RE: [RELEASE] Twitch.tv - KingsCross - 2016-07-20

For some reason I can't get twitch add-on to appear in the kodi repo even though it used to be there but it would say 'dependencies not met'. The older version (I already have installed) currently still works ok but its odd because the option to update isn't available any more. I am running an older kodi OE so is it because you need the latest version of OE to be able to get the latest version of Twitch add-on? It just seems odd because if I didn't already have Twitch add-on installed, I wouldn't even know it existed because it won't show up in the kodi repo now (presumably because the old OE doesn't have the dependencies to run the newest version?).


RE: [RELEASE] Twitch.tv - Crowly - 2016-07-21

(2016-07-20, 06:48)V8MEM Wrote: Client-ID will be required for Kraken API calls soon
This was fixed in 1.4.2, https://github.com/StateOfTheArt89/Twitch.tv-on-XBMC/issues/164

(2016-07-20, 20:28)KingsCross Wrote: is it because you need the latest version of OE to be able to get the latest version of Twitch add-on?
Which Kodi and Twitch version are you running? It is add-on dependent if they support older kodi versions. You can always try to download and install the latest version from github, https://github.com/StateOfTheArt89/Twitch.tv-on-XBMC/archive/master.zip. Make sure you backup your current add-on in case the latest version breaks on your system.


This forum uses Lukasz Tkacz MyBB addons.