2016-08-04, 14:48
So I went ahead and added my Oauth ID to my setup and VODs play. Even though they are free. As long as it works, that's all that matters.
# from / new
QUALITY_LIST_STREAM = ['Source', '720p60', '720p30', '540p30', '480p30', '360p30', '240p30', '144p30', 'High', 'Medium', 'Low', 'Mobile']
# to / old
QUALITY_LIST_STREAM = ['Source', 'High', 'Medium', 'Low', 'Mobile']
2:55:50 T:1148 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ValueError'>
Error Contents: u'1080p60' is not in list
Traceback (most recent call last):
File "C:\Users\Bob\AppData\Roaming\Kodi\addons\plugin.video.twitch\resources\lib\__run__.py", line 7, in <module>
sys.exit(PLUGIN.run())
File "C:\Users\Bob\AppData\Roaming\Kodi\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 332, in run
items = self._dispatch(self.request.path)
File "C:\Users\Bob\AppData\Roaming\Kodi\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 306, in _dispatch
listitems = view_func(**items)
File "C:\Users\Bob\AppData\Roaming\Kodi\addons\plugin.video.twitch\resources\lib\exception.py", line 11, in wrapper
return func(*args, **kwargs)
File "C:\Users\Bob\AppData\Roaming\Kodi\addons\plugin.video.twitch\resources\lib\routes.py", line 291, in playLive
stream['path'] = TWITCHTV.getLiveStream(name, videoQuality)
File "C:\Users\Bob\AppData\Roaming\Kodi\addons\plugin.video.twitch\resources\lib\twitch\api.py", line 197, in getLiveStream
playlist = M3UPlaylist(data)
File "C:\Users\Bob\AppData\Roaming\Kodi\addons\plugin.video.twitch\resources\lib\twitch\utils.py", line 115, in __init__
qualityInt = self.qualityList.index(quality)
ValueError: u'1080p60' is not in list
-->End of Python script error report<--
12:55:50 T:7032 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.twitch/playLive/dota2ti/-2/
12:57:23 T:2356 NOTICE: [xbmcswift2] Request for "/playLive/dota2ti/-2/" matches rule for function "playLive"
12:57:24 T:2356 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ValueError'>
Error Contents: u'1080p60' is not in list
Traceback (most recent call last):
File "C:\Users\Bob\AppData\Roaming\Kodi\addons\plugin.video.twitch\resources\lib\__run__.py", line 7, in <module>
sys.exit(PLUGIN.run())
File "C:\Users\Bob\AppData\Roaming\Kodi\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 332, in run
items = self._dispatch(self.request.path)
File "C:\Users\Bob\AppData\Roaming\Kodi\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 306, in _dispatch
listitems = view_func(**items)
File "C:\Users\Bob\AppData\Roaming\Kodi\addons\plugin.video.twitch\resources\lib\exception.py", line 11, in wrapper
return func(*args, **kwargs)
File "C:\Users\Bob\AppData\Roaming\Kodi\addons\plugin.video.twitch\resources\lib\routes.py", line 291, in playLive
stream['path'] = TWITCHTV.getLiveStream(name, videoQuality)
File "C:\Users\Bob\AppData\Roaming\Kodi\addons\plugin.video.twitch\resources\lib\twitch\api.py", line 197, in getLiveStream
playlist = M3UPlaylist(data)
File "C:\Users\Bob\AppData\Roaming\Kodi\addons\plugin.video.twitch\resources\lib\twitch\utils.py", line 115, in __init__
qualityInt = self.qualityList.index(quality)
ValueError: u'1080p60' is not in list
-->End of Python script error report<--
12:57:24 T:7032 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.twitch/playLive/dota2ti/-2/
QUALITY_LIST_STREAM = ['Source', 'High', '1080p60', '720p60', '720p30', '540p30', '480p30', '360p30', '240p30', '144p30', 'Medium', 'Low', 'Mobile']
QUALITY_LIST_VIDEO = ['live', '1080p60', '720p', '720p60', '720p30', '540p30', '480p30', '360p30', '240p30', '144p30', '480p', '360p', '226p']
(2016-08-23, 15:02)KingsCross Wrote: Given that Kodi doesn't appear to have a way of deleting thumbnailsYou can use the texturecache script in a cron job / scheduled task: http://forum.kodi.tv/showthread.php?tid=...recache.py
texturecache.py purge all static-cdn.jtvnw.net > clean-twitch-thumbs.log
(2016-08-28, 15:38)Crowly Wrote:Code:texturecache.py purge all static-cdn.jtvnw.net > clean-twitch-thumbs.log
0 5 * * * /storage/texturecache.py purge all static-cdn.jtvnw.net >> /var/media/EXT4_500GB/.logs/clean-thumbs.log
0 6 * * * /storage/texturecache.py purge all i.ytimg.com >> /var/media/EXT4_500GB/.logs/clean-thumbs.log
(2016-08-30, 17:54)Arokhaerr Wrote: And is there a way to combine both entries into one maybe?Put it all into one script, called ex kodiCleanThumbs
#!/bin/sh
/storage/texturecache.py purge all static-cdn.jtvnw.net >> /var/media/EXT4_500GB/.logs/clean-thumbs.log
/storage/texturecache.py purge all i.ytimg.com >> /var/media/EXT4_500GB/.logs/clean-thumbs.log
(2016-08-15, 05:30)Jan_Dan Wrote: Why does the past broadcasts not work or the normal Streams?
Get always an HTTP error.
Error Log
http://pastebin.com/WSeV0L7y
(2016-09-02, 12:41)dazzlerellis Wrote:(2016-08-15, 05:30)Jan_Dan Wrote: Why does the past broadcasts not work or the normal Streams?
Get always an HTTP error.
Error Log
http://pastebin.com/WSeV0L7y
Me too would like to get past streams working