2017-02-13, 16:19
Works now, thanks! Now it's very fast, too.
cpp:ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'dict' object has no attribute 'sort'
Traceback (most recent call last):
File "/storage/.kodi/addons/service.subtitles.opensubtitles/service.py", line 178, in <module>
Search(item)
File "/storage/.kodi/addons/service.subtitles.opensubtitles/service.py", line 44, in Search
search_data.sort(key=lambda x: [not x['MatchedBy'] == 'moviehash',
AttributeError: 'dict' object has no attribute 'sort'
-->End of Python script error report<--
12:27:01.323 T:1496314784 ERROR: GetDirectory - Error getting plugin://service.subtitles.opensubtitles/?action=search&languages=English&preferredlanguage=Polish
c++:23:17:04.351 T:1397748656 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'dict' object has no attribute 'sort'
Traceback (most recent call last):
File "/home/pi/.kodi/addons/service.subtitles.opensubtitles/service.py", line 178, in <module>
Search(item)
File "/home/pi/.kodi/addons/service.subtitles.opensubtitles/service.py", line 44, in Search
search_data.sort(key=lambda x: [not x['MatchedBy'] == 'moviehash',
AttributeError: 'dict' object has no attribute 'sort'
-->End of Python script error report<--
23:17:04.500 T:1750197168 ERROR: GetDirectory - Error getting plugin://service.subtitles.opensubtitles/?action=search&languages=English%2cPortuguese%2cPortuguese%20(Brazil)&preferredlanguage=Portuguese