nyplayer 90 Posted March 5, 2018 Posted March 5, 2018 (edited) I noticed that getting the actors for any of the Law and Order shows fails... it is the only shows that is failing. 06:23:18.869 T:138568254544 ERROR: GetDirectory - Error getting plugin://plugin.get.cast/?mode=title&dbtype=tvshow&dbinfo=Law & Order: Criminal Intent06:23:18.902 T:138831361104 NOTICE: EMBY.websocket_client -> Message: {"MessageType":"LibraryChanged","MessageId":"5b8ef278618b45c3a07b885c019b792f","Data":{"FoldersAddedTo":[],"FoldersRemovedFrom":[],"ItemsAdded":[],"ItemsRemoved":[],"ItemsUpdated":["3ea294a3f17a67f652553a6d28156564"],"CollectionFolders":[]}}06:23:18.928 T:138831361104 NOTICE: EMBY.librarysync -> Queue update: [u'3ea294a3f17a67f652553a6d28156564']06:23:20.107 T:138493121616 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.UnboundLocalError'> Error Contents: local variable 'method' referenced before assignment Traceback (most recent call last): File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.get.cast/plugin.py", line 85, in <module> Main() File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.get.cast/plugin.py", line 80, in __init__ get_actors(self.mode, self.dbtype, self.dbinfo, full_liz) File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.get.cast/plugin.py", line 21, in get_actors json_query = get_query(dbtype, dbinfo, mode) File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.get.cast/plugin.py", line 65, in get_query json_query = xbmc.executeJSONRPC('''{ "jsonrpc": "2.0", "method": %s, "params": {%s: %d, "properties": ["title", "file", "cast"]}, "id": 1 }''' % (method, param, int(dbinfo))) UnboundLocalError: local variable 'method' referenced before assignment -->End of Python script error report<--06:23:20.127 T:138694321232 ERROR: GetDirectory - Error getting / Edited March 5, 2018 by nyplayer
nyplayer 90 Posted March 5, 2018 Author Posted March 5, 2018 06:28:03.413 T:138568254544 ERROR: Previous line repeats 598 times.06:28:03.413 T:138568254544 ERROR: GetDirectory - Error getting06:28:04.221 T:138635363408 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.UnboundLocalError'> Error Contents: local variable 'method' referenced before assignment Traceback (most recent call last): File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.get.cast/plugin.py", line 85, in <module> Main() File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.get.cast/plugin.py", line 80, in __init__ get_actors(self.mode, self.dbtype, self.dbinfo, full_liz) File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.get.cast/plugin.py", line 21, in get_actors json_query = get_query(dbtype, dbinfo, mode) File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.get.cast/plugin.py", line 65, in get_query json_query = xbmc.executeJSONRPC('''{ "jsonrpc": "2.0", "method": %s, "params": {%s: %d, "properties": ["title", "file", "cast"]}, "id": 1 }''' % (method, param, int(dbinfo))) UnboundLocalError: local variable 'method' referenced before assignment -->End of Python script error report<--06:28:04.387 T:138569290832 ERROR: GetDirectory - Error getting plugin://plugin.get.cast/?mode=title&dbtype=tvshow&dbinfo=Law & Order: Special Victims Unit
sualfred 677 Posted March 5, 2018 Posted March 5, 2018 Thanks, I'll take a look. @ Can you please split this issue in a new thread? It has nothing to do with EmbyCon.
nyplayer 90 Posted March 5, 2018 Author Posted March 5, 2018 Thanks, I'll take a look. @ Can you please split this issue in a new thread? It has nothing to do with EmbyCon. Sorry was a bit early posted in wrong forum.
sualfred 677 Posted March 6, 2018 Posted March 6, 2018 Should work now. Please update Embuary and plugin.get.cast. Both are available on the Emby beta and my personal repo
nyplayer 90 Posted March 6, 2018 Author Posted March 6, 2018 Should work now. Please update Embuary and plugin.get.cast. Both are available on the Emby beta and my personal repo Thank You it is working.
Recommended Posts