MovieLib - Your movie database on web
(2015-10-04, 18:53)Regss Wrote: Done.
New version of Movielib script 2.8.0 - Download
To update replace all files without install.php and login to admin panel to update tables in database.

New version of Movielib Kodi add-on 1.4.0 in my repository.

v. 2.8.0
- fixed filter delete button
- fixed database tables
- added indexes to database
- added cleaning function
- added function to separate image sync
- rewrited sync function
- fixed filter links
- added delete button for each poster, fanart image in admin panel
- added playcount digit in default view
- added function to autosync webserver settings for control remote (default disabled, to enable it go to settings in admin panel)

@Regss

I have updated too.
Here my discription what I have done:
First started kodi, add-ons update and waiting until kodi.db is updated and movielib is updated.
Then replace on webserver all files you wrote.
Restart kodi, now movielib add-on deleted all movie-arts and tv-shows-arts on webserver, then upload movie-poster, then movie-fanart
NOT the Movies_ID_txx.jpg arts and NOT the arts of tv-shows.
movielib breaks with error.

Here the log-sequence:
Code:
19:34:53 T:8204   ERROR: C:\Program Files (x86)\Kodi\system\python\Lib\urllib.py:1288: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
                                              return ''.join(map(quoter, s))
19:34:53 T:8204   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: (u'\xe4',)
                                            Traceback (most recent call last):
                                              File "C:\Users\XXX\AppData\Roaming\Kodi\addons\script.movielib\default.py", line 30, in <module>
                                                Movielib()
                                              File "C:\Users\XXX\AppData\Roaming\Kodi\addons\script.movielib\default.py", line 22, in __init__
                                                sync.start(self)
                                              File "C:\Users\XXX\AppData\Roaming\Kodi\addons\script.movielib\lib\sync.py", line 71, in start
                                                check(self)
                                              File "C:\Users\XXX\AppData\Roaming\Kodi\addons\script.movielib\lib\sync.py", line 161, in check
                                                syncImage.sync(self, dataXBMC['images'])
                                              File "C:\Users\XXX\AppData\Roaming\Kodi\addons\script.movielib\lib\syncImage.py", line 79, in sync
                                                t = art.create('image://' + urllib.quote_plus(ImagesXBMC[type][img_type][id]) + '/', 'e', int(ex_size[0]), int(ex_size[1]), 70)
                                              File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib.py", line 1293, in quote_plus
                                                s = quote(s, safe + ' ')
                                              File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib.py", line 1288, in quote
                                                return ''.join(map(quoter, s))
                                            KeyError: (u'\xe4',)
                                            -->End of Python script error report<--

Ok, restart kodi but the same issue.
I am wondering because normally movielib startet updating when kodi finished update kodi.db but here movielib starts now immediately.
movielib stop with error:
Code:
19:39:00 T:13056   ERROR: C:\Program Files (x86)\Kodi\system\python\Lib\urllib.py:1288: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
                                              return ''.join(map(quoter, s))
19:39:00 T:13056   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: (u'\xe4',)
                                            Traceback (most recent call last):
                                              File "C:\Users\XXX\AppData\Roaming\Kodi\addons\script.movielib\default.py", line 30, in <module>
                                                Movielib()
                                              File "C:\Users\XXX\AppData\Roaming\Kodi\addons\script.movielib\default.py", line 22, in __init__
                                                sync.start(self)
                                              File "C:\Users\XXX\AppData\Roaming\Kodi\addons\script.movielib\lib\sync.py", line 71, in start
                                                check(self)
                                              File "C:\Users\XXX\AppData\Roaming\Kodi\addons\script.movielib\lib\sync.py", line 161, in check
                                                syncImage.sync(self, dataXBMC['images'])
                                              File "C:\Users\XXX\AppData\Roaming\Kodi\addons\script.movielib\lib\syncImage.py", line 79, in sync
                                                t = art.create('image://' + urllib.quote_plus(ImagesXBMC[type][img_type][id]) + '/', 'e', int(ex_size[0]), int(ex_size[1]), 70)
                                              File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib.py", line 1293, in quote_plus
                                                s = quote(s, safe + ' ')
                                              File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib.py", line 1288, in quote
                                                return ''.join(map(quoter, s))
                                            KeyError: (u'\xe4',)
                                            -->End of Python script error report<--

EDIT:
Sorry vergotten to write that all movie-posters and movie-fanarts are now on the webserver.
Reply


Messages In This Thread
RE: MovieLib - Your movie database on web - by Nepomuk - 2015-10-07, 20:08
Last Post - by Jeffreywat - 2017-09-03, 14:02
Logout Mark Read Team Forum Stats Members Help
MovieLib - Your movie database on web8