31-07-2018, 11:14
OK, the python code that trigger error is this:
...but the code itself is OK and is working fine for anybody else (but you). The following errors in the Kodi log file are not in the DF addon, but in python urllib2 library:
This makes me guess the problem is in the python implementation of your version of Kodi. Can you test this title (and episode) with other Kodi version?
Код:
currentlisturl = base_url+'/api/5/series/'+series+'/episodes/?cs='+consumer_secret+'&page_size=100&page='+page
req = urllib2.Request(currentlisturl)
req.add_header('User-Agent', UA)
opener = urllib2.build_opener()
f = opener.open(req)
Код:
File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib2.py", line 435, in open
response = meth(req, response)
File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib2.py", line 473, in error
return self._call_chain(*args)
File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib2.py", line 407, in _call_chain
result = func(*args)
File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found
-->End of Python script error report<--
This makes me guess the problem is in the python implementation of your version of Kodi. Can you test this title (and episode) with other Kodi version?