2014-03-08, 21:44
For anyone else having issues making the adjustment to default.py, check your indentations, it seem python is expecting spaces instead of tabs, notepad++ auto tabbed on the indentation when i copied and pasted from the line posted on page 28.
If you made that goof you get this error in the debug log:
14:32:45 T:7704 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndentationError'>
Error Contents: ('unexpected indent', ('C:\\Users\\dyerseve\\AppData\\Roaming\\XBMC\\addons\\plugin.video.netflixbmc\\default.py', 474, 1, '\tmatch = re.compile(\'"LOCALE":"(.+?)"\', re.DOTALL).findall(content)\n'))
IndentationError: ('unexpected indent', ('C:\\Users\\dyerseve\\AppData\\Roaming\\XBMC\\addons\\plugin.video.netflixbmc\\default.py', 474, 1, '\tmatch = re.compile(\'"LOCALE":"(.+?)"\', re.DOTALL).findall(content)\n'))
-->End of Python script error report<--
14:32:45 T:2588 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.netflixbmc/
If you made that goof you get this error in the debug log:
14:32:45 T:7704 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndentationError'>
Error Contents: ('unexpected indent', ('C:\\Users\\dyerseve\\AppData\\Roaming\\XBMC\\addons\\plugin.video.netflixbmc\\default.py', 474, 1, '\tmatch = re.compile(\'"LOCALE":"(.+?)"\', re.DOTALL).findall(content)\n'))
IndentationError: ('unexpected indent', ('C:\\Users\\dyerseve\\AppData\\Roaming\\XBMC\\addons\\plugin.video.netflixbmc\\default.py', 474, 1, '\tmatch = re.compile(\'"LOCALE":"(.+?)"\', re.DOTALL).findall(content)\n'))
-->End of Python script error report<--
14:32:45 T:2588 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.netflixbmc/