MovieLib - Your movie database on web
also since redoing my database with all the fanart settings set to off in settings, the movielib addon throws an error:
interestingly, it seems like maybe it did not affect the movies, only the tv shows, I know on the tv shows I had some local files covers/fanart/nfo files, whereas the movies are all scraped info.

nano ~/.kodi/temp/kodi.log
Code:
16:57:31.527 T:140071097333504   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: ('fanart',)
                                            Traceback (most recent call last):
                                              File "/home/goliath/.kodi/addons/script.movielib/default.py", line 30, in <module>
                                                Movielib()
                                              File "/home/goliath/.kodi/addons/script.movielib/default.py", line 22, in __init__
                                                sync.start(self)
                                              File "/home/goliath/.kodi/addons/script.movielib/resources/lib/sync.py", line 82, in start
                                                check(self)
                                              File "/home/goliath/.kodi/addons/script.movielib/resources/lib/sync.py", line 224, in check
                                                syncImage.sync(self, dataXBMC['images'], dataSORT)
                                              File "/home/goliath/.kodi/addons/script.movielib/resources/lib/syncImage.py", line 43, in sync
                                                addImg(self, ImagesXBMC, ImagesToAdd, ImagesSORT)
                                              File "/home/goliath/.kodi/addons/script.movielib/resources/lib/syncImage.py", line 66, in addImg
                                                if len(ImagesToAdd[type][img_type]) > 0:
                                            KeyError: ('fanart',)
                                            -->End of Python script error report<--

I may need to delete the database and turn the fanart setting back on, except for the one that says change background.

EDIT: dropped the movielib db from mysql, and rescanned with the setting "Sync fanarts:" to on, now I only turned off "Show fanart in background:" and now I no longer got an error.

EDIT2: After a little more testing I will write a guide for setting this up on Ubuntu.
Reply
 
Thread Rating:
  • 8 Vote(s) - 4.63 Average


Messages In This Thread
RE: MovieLib - Your movie database on web - by xekon - 2017-03-28, 12:09
Last Post - by Jeffreywat - 2017-09-03, 14:02


Logout Mark Read Team Forum Stats Members Help
MovieLib - Your movie database on web4.638