2014-08-05, 13:47
Hello... brand new user here. Here are a few things that are not working for me currently (version 1.2.9):
Next Page (gets a 404 error)
Search
There are also occasional failures, like selecting a genre and getting a script error, but trying again and it works. Perhaps a retry setting would be nice?
If I ever get time to familiarize myself with the code base, I may do so, though my python chops are... ahem... limited.
Also, thanks for this plugin. I only switched to xbmc because I wanted a "one box" solution for media, and netflix is essential for that.
John
Next Page (gets a 404 error)
Code:
06:37:46 T:140339844134656 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'urllib2.HTTPError'>
Error Contents: HTTP Error 404: Not Found
Traceback (most recent call last):
File "/home/xbmc/.xbmc/addons/plugin.video.netflixbmc/default.py", line 878, in <module>
listVideos(url, type)
File "/home/xbmc/.xbmc/addons/plugin.video.netflixbmc/default.py", line 117, in listVideos
content = opener.open(url).read()
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 531, 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<--
Search
Code:
06:40:28 T:140339833177856 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.KeyError'>
Error Contents: ('galleryVideos',)
Traceback (most recent call last):
File "/home/xbmc/.xbmc/addons/plugin.video.netflixbmc/default.py", line 888, in <module>
search(type)
File "/home/xbmc/.xbmc/addons/plugin.video.netflixbmc/default.py", line 526, in search
listSearchVideos("http://api-global.netflix.com/desktop/search/instantsearch?esn=www&term="+search_string+"&locale="+addon.getSetting("language")+"&country=US&authURL="+addon.getSetting("auth")+"&_retry=0&routing=redirect", type)
File "/home/xbmc/.xbmc/addons/plugin.video.netflixbmc/default.py", line 173, in listSearchVideos
for item in content["galleryVideos"]["items"]:
KeyError: ('galleryVideos',)
-->End of Python script error report<--
There are also occasional failures, like selecting a genre and getting a script error, but trying again and it works. Perhaps a retry setting would be nice?
If I ever get time to familiarize myself with the code base, I may do so, though my python chops are... ahem... limited.
Also, thanks for this plugin. I only switched to xbmc because I wanted a "one box" solution for media, and netflix is essential for that.
John