2017-02-27, 21:03
Hi I'm using this in Krypton (LibrELEC) but there is no artwork. I have my movies stored on a NAS and they show up in the video library but not here. Is there a way to get movie details from my library? Thanks
(2017-02-13, 19:45)Hardax Wrote: I'm getting an error when trying to add a movie to my watch list from within the Extended Info script. The plug on n works when used stand alone.
(2017-04-05, 19:48)zenyatta80 Wrote:(2017-02-13, 19:45)Hardax Wrote: I'm getting an error when trying to add a movie to my watch list from within the Extended Info script. The plug on n works when used stand alone.
I am having the same issue. Don't know if the problem is with this addon or extended info script.
https://paste.ubuntu.com/24321586/
Any help is much appreciated.
04:03:55.504 T:140208353085184 NOTICE: [xbmcswift2] Request for "/watchlist/movies/add" matches rule for function "add_movie_to_watchlist"
04:03:55.506 T:140208353085184 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.KeyError'>
Error Contents: ('ids',)
Traceback (most recent call last):
File "/home/xbmc/.kodi/addons/plugin.video.trakt_list_manager/addon.py", line 485, in <module>
plugin.run()
File "/home/xbmc/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 332, in run
items = self._dispatch(self.request.path)
File "/home/xbmc/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 306, in _dispatch
listitems = view_func(**items)
File "/home/xbmc/.kodi/addons/plugin.video.trakt_list_manager/addon.py", line 218, in add_movie_to_watchlist
imdb_id=movie['ids']['imdb'],
KeyError: ('ids',)
-->End of Python script error report<--
(2017-04-23, 04:11)Funky_Funked Wrote:(2017-04-05, 19:48)zenyatta80 Wrote:(2017-02-13, 19:45)Hardax Wrote: I'm getting an error when trying to add a movie to my watch list from within the Extended Info script. The plug on n works when used stand alone.
I am having the same issue. Don't know if the problem is with this addon or extended info script.
https://paste.ubuntu.com/24321586/
Any help is much appreciated.
Same for me, heres the log part of the script. I guess extended info script has changed somehow and this script needs adaptation... but what do i know
Log:
Code:04:03:55.504 T:140208353085184 NOTICE: [xbmcswift2] Request for "/watchlist/movies/add" matches rule for function "add_movie_to_watchlist"
04:03:55.506 T:140208353085184 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.KeyError'>
Error Contents: ('ids',)
Traceback (most recent call last):
File "/home/xbmc/.kodi/addons/plugin.video.trakt_list_manager/addon.py", line 485, in <module>
plugin.run()
File "/home/xbmc/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 332, in run
items = self._dispatch(self.request.path)
File "/home/xbmc/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 306, in _dispatch
listitems = view_func(**items)
File "/home/xbmc/.kodi/addons/plugin.video.trakt_list_manager/addon.py", line 218, in add_movie_to_watchlist
imdb_id=movie['ids']['imdb'],
KeyError: ('ids',)
-->End of Python script error report<--
change lines 311 312
'imdb_id': plugin.request.args.get('imdb_id', [''])[0],
'tmdb_id': plugin.request.args.get('tmdb_id', [''])[0],
to
'imdb': plugin.request.args.get('imdb_id', [''])[0],
'tmdb': plugin.request.args.get('tmdb_id', [''])[0],
and 315 316
if movie.get('imdb_id') or movie.get('tmdb_id'):
return movie
to
if movie.get('imdb') or movie.get('tmdb'):
return { 'ids': movie }
Quote:so to fix that you need to edit some code in addon.py in .kodi/kodi/addons/plugin.video.trakt_list_manager
Code:change lines 311 312
'imdb_id': plugin.request.args.get('imdb_id', [''])[0],
'tmdb_id': plugin.request.args.get('tmdb_id', [''])[0],
to
'imdb': plugin.request.args.get('imdb_id', [''])[0],
'tmdb': plugin.request.args.get('tmdb_id', [''])[0],
and 315 316
if movie.get('imdb_id') or movie.get('tmdb_id'):
return movie
to
if movie.get('imdb') or movie.get('tmdb'):
return { 'ids': movie }
got the fix from an github pullrequest made by patrickjahns that never got merged.
https://github.com/dersphere/plugin.vide...5204ad839f
(2017-05-03, 11:29)pmazey Wrote: Sorry if this is a dumb question, but where do you go to in Kodi to edit the above code? or does it need to be done outside of the Kodi app?
02:53:23.434 T:3040 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.trakt_list_manager/?content_type=executable
02:53:23.434 T:3040 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.trakt_list_manager/?content_type=executable) failed