Hi sphere
im using Apple itunes trailers addon with this addon to include some movies in my trakt watchlist,
but if movie have ' : in the name it cant add
here is the error
Code:
12:41:02 T:5340 NOTICE: [TraktListApi]: "_api_call response: {u'status': u'success', u'message': u'all good!'}"
12:41:02 T:5340 NOTICE: [xbmcswift2] Request for "/movies/add" matches rule for function "add_movie_to_list"
12:41:02 T:5340 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: not enough arguments for format string
Traceback (most recent call last):
File "C:\Users\Fabio\AppData\Roaming\XBMC\addons\plugin.video.trakt_list_manager\addon.py", line 512, in <module>
plugin.run()
File "C:\Users\Fabio\AppData\Roaming\XBMC\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 332, in run
items = self._dispatch(self.request.path)
File "C:\Users\Fabio\AppData\Roaming\XBMC\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 306, in _dispatch
listitems = view_func(**items)
File "C:\Users\Fabio\AppData\Roaming\XBMC\addons\plugin.video.trakt_list_manager\addon.py", line 277, in add_movie_to_list
movie = get_movie()
File "C:\Users\Fabio\AppData\Roaming\XBMC\addons\plugin.video.trakt_list_manager\addon.py", line 341, in get_movie
movies = api.search_movie(movie['title'])
File "C:\Users\Fabio\AppData\Roaming\XBMC\addons\plugin.video.trakt_list_manager\resources\lib\api.py", line 79, in search_movie
return self._api_call(path)
File "C:\Users\Fabio\AppData\Roaming\XBMC\addons\plugin.video.trakt_list_manager\resources\lib\api.py", line 166, in _api_call
'username': self._username
TypeError: not enough arguments for format string
-->End of Python script error report<--
Movie name Thor: The Dark World
i can't delete movies from my watchlist either
Code:
14:30:26 T:1124 NOTICE: [TraktListApi]: "_api_call response: {u'status': u'success', u'message': u'all good!'}"
14:30:26 T:1124 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'xbmcswift2.urls.NotFoundException'>
Error Contents: No matching view found for /watchlist/movies/delete/tt1690953/
Traceback (most recent call last):
File "C:\Users\Fabio\AppData\Roaming\XBMC\addons\plugin.video.trakt_list_manager\addon.py", line 512, in <module>
plugin.run()
File "C:\Users\Fabio\AppData\Roaming\XBMC\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 332, in run
items = self._dispatch(self.request.path)
File "C:\Users\Fabio\AppData\Roaming\XBMC\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 318, in _dispatch
raise NotFoundException, 'No matching view found for %s' % path
NotFoundException: No matching view found for /watchlist/movies/delete/tt1690953/
-->End of Python script error report<--
and there is a error in the Portuguese(brazil) translate that can lead to some misunderstood.
Watchlist is translated to "Lista Assistidos" witch means "Watched",
better not translate it and keep watchlist or use something like this "Lista para Assistir"
Thanks.