2014-07-15, 04:08
Hey guys! I was having trouble adding some shows from Netflix to my library. I'm sharing my addons_data folder via a samba share, and whenever I tried to add a show to the library, it gave an error message. The logs showed the following error:
I changed line 611 in default.py from:
to
and it fixed the problem.
Hope this helps anyone else with this problem!
Code:
21:39:17 T:139937886238464 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.OSError'>
Error Contents: (2, 'No such file or directory', '/home/<username>/.xbmc/userdata/addon_data/plugin.video.netflixbmc/library/TV/<show>/Season 1')
Traceback (most recent call last):
File "/home/<username>/.xbmc/addons/plugin.video.netflixbmc/default.py", line 898, in <module>
addSeriesToLibrary(seriesID, name, url)
File "/home/<username>/.xbmc/addons/plugin.video.netflixbmc/default.py", line 611, in addSeriesToLibrary
os.mkdir(seasonDir)
OSError: (2, 'No such file or directory', '/home/<username>/.xbmc/userdata/addon_data/plugin.video.netflixbmc/library/TV/<show>/Season 1')
-->End of Python script error report<--
I changed line 611 in default.py from:
Code:
os.mkdir(seasonDir)
Code:
xbmcvfs.mkdir(seasonDir)
Hope this helps anyone else with this problem!