Posts: 74
Joined: Jul 2004
Reputation:
0
I get a message "No Video" when I go to Following/Channels/Channels_Name/Past Broadcast , but there are videos.
(Twitch V2 )
The Twitch v1.4.6 gaves me Http error since yesterday
Also with the new V2 , I get message Client ID mismatch , even if I go to the site and generate a token with my connected account twitch. I also Reset Function Cache
Posts: 1
Joined: Apr 2017
Reputation:
0
Keep getting "No Live Data Found" when trying to watch certain streamers. Have gotten it on Destiny and Lirik so far. Any fix?
Posts: 14
Joined: Apr 2016
Reputation:
0
fuxxi
Junior Member
Posts: 14
2017-04-09, 23:16
(This post was last modified: 2017-04-09, 23:26 by fuxxi.)
@anxdpanic: It would be nice if You can keep the old branch, as Twitch V2 is not working on my enigma2 Kodi 16 (cant upgrade to 17 as it is not available). :-(
After clicking on "Get OAuth token" Kodi just crashes.
23:13:41 T:2390750240 ERROR: /usr/lib/python2.7/site-packages/cryptography/hazmat/backends/__init__.py:7: UserWarning: Module requests was already imported from /media/hdd/.kodi/addons/script.module.requests/lib/requests/__init__.pyo, but /usr/lib/python2.7/site-packages is being added to sys.path
import pkg_resources
23:13:41 T:2390750240 ERROR: /usr/lib/python2.7/site-packages/cryptography/hazmat/backends/__init__.py:7: UserWarning: Module six was already imported from /media/hdd/.kodi/addons/script.module.six/lib/six.pyo, but /usr/lib/python2.7/site-packages is being added to sys.path
import pkg_resources
edit: Or can I somehow manually setup OAuth token? Because changing oauth_client_id in settings.xml on /media/hdd/.kodi/userdata/addon_data/plugin.video.twitch/ is not working.
Also there "oauth_client_id" and "oauth_clientid" in the settings.xml. Is this correct?
edit 2: More from Kodi.log:
23:15:13 T:3042881536 ERROR: GetDirectory - Error getting plugin://plugin.video.twitch/createFollowingList
23:15:13 T:2438661152 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ImportError'>
Error Contents: Failed to import _strptime because the import lockis held by another thread.
Traceback (most recent call last):
File "/media/hdd/.kodi/addons/plugin.video.twitch/resources/lib/service.py", line 108, in <module>
if (timestamp is None) or (get_stamp_diff(timestamp) >= delay_time):
File "/media/hdd/.kodi/addons/plugin.video.twitch/resources/lib/addon/utils.py", line 173, in get_stamp_diff
stamp_datetime = datetime(*(time.strptime(current_stamp, stamp_format)[0:6])) # datetime.strptime has issues
ImportError: Failed to import _strptime because the import lockis held by another thread.
-->End of Python script error report<--
23:15:13 T:3042881536 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.twitch/createFollowingList) failed
23:15:13 T:3042881536 DEBUG: CGUIMediaWindow::GetDirectory ()
23:15:13 T:3042881536 DEBUG: ParentPath = [plugin://plugin.video.twitch/createFollowingList]
23:15:13 T:2364929056 DEBUG: Thread BackgroundLoader start, auto delete: false
23:15:13 T:3042881536 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
23:15:13 T:2364929056 DEBUG: Thread BackgroundLoader 2364929056 terminating
23:15:14 T:2438661152 WARNING: CPythonInvoker(0, /media/hdd/.kodi/addons/plugin.video.twitch/resources/lib/service.py): the python script "/media/hdd/.kodi/addons/plugin.video.twitch/resources/lib/service.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon7xbmcgui6WindowE
23:15:14 T:2438661152 INFO: Python script stopped
23:15:14 T:2438661152 DEBUG: Thread LanguageInvoker 2438661152 terminating
Posts: 782
Joined: May 2016
Reputation:
280
2017-04-09, 23:37
(This post was last modified: 2017-04-09, 23:39 by anxdpanic.)
That looks to be a user environment issue, that can likely be resolved.
The client id setting was changed as it is not intended to be used unless you know how to configure your twitch application for the redirect and generating of the token. (leave it blank)
In the mean time, will pm you the link to generate so you can see if it is usable beyond that for you. * edit nm I guess I can't do that even.
Posts: 14
Joined: Apr 2016
Reputation:
0
fuxxi
Junior Member
Posts: 14
2017-04-09, 23:45
(This post was last modified: 2017-04-09, 23:46 by fuxxi.)
@anxdpanic: Im registered at github, if that helps.
Also: I already manually generated an OAuth Token. And I replaced oauth token settings in settings.xml, but still crashing anyway (look the logs).
Posts: 782
Joined: May 2016
Reputation:
280
From the log, it looks like you have a bad installation of the add-on.
ParentPath = [plugin://plugin.video.twitch/createFollowingList] <-- that is a V1 route
where service.py is from V2