Closed pimjansen closed 3 years ago
Looks like I have the same problem. I have a new Netflix account, downloaded and installed 1.3.23, and every action I do in the interface (except "Genres", see below) breaks with an error and I get this in the log:
EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File "/home/media/.kodi/addons/plugin.video.netflixbmc/default.py", line 1312, in <module>
listVideos(url, type, runAsWidget)
File "/home/media/.kodi/addons/plugin.video.netflixbmc/default.py", line 276, in listVideos
listVideo(videoID, "", "", False, False, type)
File "/home/media/.kodi/addons/plugin.video.netflixbmc/default.py", line 375, in listVideo
title = match[0].strip()
IndexError: list index out of range
-->End of Python script error report<--
When accessing "Genres" there is no error and I get an empty list. Running Kode 17.0 (alpha) on Ubuntu 15.10 in standalone mode (no window manager)
The problem seems to be in default.py line 375, where the regular expression tries to match a span that is no longer on the Netflix page. I've worked around the problem by using the regex instead that extract the title from the title card's ARIA label:
id="title-card.*?"[^>]+aria-label="([^"]+)"'
id="title-card.*?"[^>]+aria-label="([^"]+)"' is a syntax error for me.
shouldn't it be title =
Hi all,
I receive an error while fetching the latest movies from Netflix. Below is the log. As you can see there is a python exception. All other steps before went well like profile selection etc.
Specs: Plugin: 1.3.23 (latest git master) Ubuntu 15.10 Kodi 15.2 - Git: 02e7013 (Nov 1 2015)