• 1
  • 34
  • 35
  • 36(current)
  • 37
  • 38
  • 45
MovieLib - Your movie database on web
On quckly try change url to script in addon settings to http://login:[email protected]/
Reply
(2015-10-20, 21:06)Regss Wrote: On quckly try change url to script in addon settings to http://login:[email protected]/
Thx for helping.
Here the error:
Quote:21:42:54 T:6764 NOTICE: >>>> Movielib <<<< Can't connect to: http://uhu:[email protected]/...cksettings
21:42:54 T:6764 NOTICE: >>>> Movielib <<<< [REQUEST ERROR]: nonnumeric port: '[email protected]'
The password is a numeric password.

Next check with nonnumeric password:
Quote:21:48:09 T:4708 NOTICE: >>>> Movielib <<<< Can't connect to: http://regss:[email protected]
21:48:09 T:4708 NOTICE: >>>> Movielib <<<< [REQUEST ERROR]: nonnumeric port: '[email protected]'
The same problem.
Reply
@Regss
do you find a solution for my problem?
What means the Movielib error?
Reply
I am having this same issue but the download for the fixed sync.py does not seem to be working for me.

(2015-10-15, 18:34)ensignvorik Wrote: Since the addon updated 1.4.1 and I updated the site to 2.8.0 my MovieLib DB is not updating and an error pops up saying error with script.

I believe the below is the necessary detail from the kodi.log file, how do I fix this?

17:28:21 T:1693447232 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 "/storage/.kodi/addons/script.movielib/default.py", line 30, in <module>
Movielib()
File "/storage/.kodi/addons/script.movielib/default.py", line 22, in __init__
sync.start(self)
File "/storage/.kodi/addons/script.movielib/lib/sync.py", line 71, in start
check(self)
File "/storage/.kodi/addons/script.movielib/lib/sync.py", line 150, in check
dataXBMC = getDataFromXBMC(self)
File "/storage/.kodi/addons/script.movielib/lib/sync.py", line 230, in getDataFromXBMC
dataXBMC['images'][table]['fanart'][data[table[0:-1]+'id']] = data['art']['fanart']
KeyError: ('fanart',)
-->End of Python script error report<--
Reply
The Filedropper link does not work anymore? Updating of the addon in Kodi does not work ... Movielib stopped syncing. Please help.
Reply
(2015-10-27, 20:49)Nepomuk Wrote: @Regss
do you find a solution for my problem?
What means the Movielib error?

Download and edit this file. In line 38 type login and pass. Replace file in addon/script.movielib/lib/
https://drive.google.com/open?id=0B-s-Tp...HlYd3RFTFE




(2015-10-29, 00:04)josh52180 Wrote: I am having this same issue but the download for the fixed sync.py does not seem to be working for me.

(2015-10-15, 18:34)ensignvorik Wrote: Since the addon updated 1.4.1 and I updated the site to 2.8.0 my MovieLib DB is not updating and an error pops up saying error with script.

I believe the below is the necessary detail from the kodi.log file, how do I fix this?

17:28:21 T:1693447232 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 "/storage/.kodi/addons/script.movielib/default.py", line 30, in <module>
Movielib()
File "/storage/.kodi/addons/script.movielib/default.py", line 22, in __init__
sync.start(self)
File "/storage/.kodi/addons/script.movielib/lib/sync.py", line 71, in start
check(self)
File "/storage/.kodi/addons/script.movielib/lib/sync.py", line 150, in check
dataXBMC = getDataFromXBMC(self)
File "/storage/.kodi/addons/script.movielib/lib/sync.py", line 230, in getDataFromXBMC
dataXBMC['images'][table]['fanart'][data[table[0:-1]+'id']] = data['art']['fanart']
KeyError: ('fanart',)
-->End of Python script error report<--

https://drive.google.com/open?id=0B-s-Tp...lNlQzl3V0U
Download and replace sync.py in addon/script.movielib/lib/
Reply
Replaced the sync.py but still same error "wrong version of the movielib script, update necessary."
Reply
(2015-10-30, 12:39)saeros Wrote: Replaced the sync.py but still same error "wrong version of the movielib script, update necessary."

You must update movielib script. Download it from first post and replace all files without install.php. Login to admin panel to auto update tables in database.
Reply
I update to new version 1.4.2.
Nepomuk, I added HTTP authentication for requests. You can add login and pass in movielib addon settings.
I fixed also bug described in above posts.
Reply
(2015-10-30, 19:24)Regss Wrote: I update to new version 1.4.2.
Nepomuk, I added HTTP authentication for requests. You can add login and pass in movielib addon settings.
I fixed also bug described in above posts.
Thx for adding this new feature.
At the moment it looks that the function is doing very well.

I have a new problem.
Today I have added a new TV Show but I cant see it in the TV show list. So I have a look in the db.
In the table episodes the new episodes where in it but in table tvshows the new show is missing. The last show have #11
In table episodes the var tvshow is filled with #12 thats the number of the new tvshow.

If you want I send you a db dump by eMail.
Reply
Replaced sync.py but still getting "MovieLib Error. Check log for more information." I'll get the log as soon as I can.

I am running this on my Minix Android TV box. I don't think that should have anything to do with it but just figured I'd throw it out there.
Reply
It seams that sync.php with option=cleandb makes problems.
Here a log-snipped:
Code:
21:42:38 T:3464  NOTICE: -->Python Interpreter Initialized<--
21:42:38 T:3464  NOTICE: >>>> Movielib <<<< XBMC: AuthLogin: XXX
21:42:38 T:3464  NOTICE: >>>> Movielib <<<< XBMC: URL: http://xxx.xx
21:42:38 T:3464  NOTICE: >>>> Movielib <<<< XBMC: AuthPass: XXXXXX
21:42:38 T:3464  NOTICE: >>>> Movielib <<<< XBMC: Auth: true
21:42:38 T:3464  NOTICE: >>>> Movielib <<<< XBMC: Token: xxxxxx
21:42:38 T:3464  NOTICE: >>>> Movielib <<<< XBMC: Notify: true
21:42:38 T:3464  NOTICE: >>>> Movielib <<<< XBMC: Debug: true
21:42:38 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST]: http://xxx.xx/sync.php?token=xxxxxx&option=checksettings
21:42:38 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST]:
21:42:38 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST DATA SIZE]: 0 bytes
21:42:39 T:3464  NOTICE: >>>> Movielib <<<< [RESPONSE]: {"site_name":"...
21:42:39 T:3464  NOTICE: >>>> Movielib <<<< Server: xbmc_exthumbs: 1
...
21:42:39 T:3464  NOTICE: >>>> Movielib <<<< Version is valid
21:42:39 T:3464  NOTICE: >>>> Movielib <<<< Token is valid
21:42:39 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST]: http://xxx.xx/sync.php?token=xxxxx&option=showhash
21:42:39 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST]:
21:42:39 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST DATA SIZE]: 0 bytes
21:42:39 T:3464  NOTICE: >>>> Movielib <<<< [RESPONSE]: {"movies":"","tvshows":"","episodes":"","images":""}
21:42:39 T:3464  NOTICE: >>>> Movielib <<<< [hashSITE]: {u'images': u'', u'movies': u'', u'episodes': u'', u'tvshows': u''}
21:43:25 T:3464  NOTICE: >>>> Movielib <<<< [videosMoviesXBMC]: {'344': ...
...
21:43:25 T:3464  NOTICE: >>>> Movielib <<<< === SYNC VIDEOS ===
21:43:26 T:3464  NOTICE: >>>> Movielib <<<< [MOVIES UPDATE NEEDED]
21:43:26 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST]: http://xxx.xx/sync.php?token=xxxxxx&option=showvideo&table=movies
21:43:26 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST]:
21:43:26 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST DATA SIZE]: 0 bytes
21:43:26 T:3464  NOTICE: >>>> Movielib <<<< [RESPONSE]: {"1"...
...
The same at TV Shows
...
21:43:40 T:3464  NOTICE: >>>> Movielib <<<< === CLEAN DATABASE ===
21:43:40 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST]: http://xxx.xx/sync.php?token=xxxxxx&option=cleandb
21:43:40 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST]: {'clean': ''}
21:43:40 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST DATA SIZE]: 6 bytes
21:43:50 T:3464  NOTICE: >>>> Movielib <<<< Can't connect to: http://xxx.xx/sync.php?token=xxxxxx&option=cleandb    <----------------------------------
21:43:50 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST ERROR]: timed out
21:43:50 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST]: Wait 5 secs and retring 1
...
21:44:15 T:3464  NOTICE: >>>> Movielib <<<< Can't connect to: http://xxx.xx/sync.php?token=xxxxxx&option=cleandb
21:44:15 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST ERROR]: timed out
21:44:15 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST]: Wait 5 secs and retring 2
...
21:44:40 T:3464  NOTICE: >>>> Movielib <<<< Can't connect to: http://xxx.xx/sync.php?token=xxxxxx&option=cleandb
21:44:40 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST ERROR]: timed out

If you want I can send the kodi.log you by email too.
Reply
(2015-10-30, 22:41)josh52180 Wrote: Replaced sync.py but still getting "MovieLib Error. Check log for more information." I'll get the log as soon as I can.

I am running this on my Minix Android TV box. I don't think that should have anything to do with it but just figured I'd throw it out there.

I need error from kodi.log




(2015-10-30, 23:31)Nepomuk Wrote: It seams that sync.php with option=cleandb makes problems.
Here a log-snipped:
Code:
21:42:38 T:3464  NOTICE: -->Python Interpreter Initialized<--
21:42:38 T:3464  NOTICE: >>>> Movielib <<<< XBMC: AuthLogin: XXX
21:42:38 T:3464  NOTICE: >>>> Movielib <<<< XBMC: URL: http://xxx.xx
21:42:38 T:3464  NOTICE: >>>> Movielib <<<< XBMC: AuthPass: XXXXXX
21:42:38 T:3464  NOTICE: >>>> Movielib <<<< XBMC: Auth: true
21:42:38 T:3464  NOTICE: >>>> Movielib <<<< XBMC: Token: xxxxxx
21:42:38 T:3464  NOTICE: >>>> Movielib <<<< XBMC: Notify: true
21:42:38 T:3464  NOTICE: >>>> Movielib <<<< XBMC: Debug: true
21:42:38 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST]: http://xxx.xx/sync.php?token=xxxxxx&option=checksettings
21:42:38 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST]:
21:42:38 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST DATA SIZE]: 0 bytes
21:42:39 T:3464  NOTICE: >>>> Movielib <<<< [RESPONSE]: {"site_name":"...
21:42:39 T:3464  NOTICE: >>>> Movielib <<<< Server: xbmc_exthumbs: 1
...
21:42:39 T:3464  NOTICE: >>>> Movielib <<<< Version is valid
21:42:39 T:3464  NOTICE: >>>> Movielib <<<< Token is valid
21:42:39 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST]: http://xxx.xx/sync.php?token=xxxxx&option=showhash
21:42:39 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST]:
21:42:39 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST DATA SIZE]: 0 bytes
21:42:39 T:3464  NOTICE: >>>> Movielib <<<< [RESPONSE]: {"movies":"","tvshows":"","episodes":"","images":""}
21:42:39 T:3464  NOTICE: >>>> Movielib <<<< [hashSITE]: {u'images': u'', u'movies': u'', u'episodes': u'', u'tvshows': u''}
21:43:25 T:3464  NOTICE: >>>> Movielib <<<< [videosMoviesXBMC]: {'344': ...
...
21:43:25 T:3464  NOTICE: >>>> Movielib <<<< === SYNC VIDEOS ===
21:43:26 T:3464  NOTICE: >>>> Movielib <<<< [MOVIES UPDATE NEEDED]
21:43:26 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST]: http://xxx.xx/sync.php?token=xxxxxx&option=showvideo&table=movies
21:43:26 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST]:
21:43:26 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST DATA SIZE]: 0 bytes
21:43:26 T:3464  NOTICE: >>>> Movielib <<<< [RESPONSE]: {"1"...
...
The same at TV Shows
...
21:43:40 T:3464  NOTICE: >>>> Movielib <<<< === CLEAN DATABASE ===
21:43:40 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST]: http://xxx.xx/sync.php?token=xxxxxx&option=cleandb
21:43:40 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST]: {'clean': ''}
21:43:40 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST DATA SIZE]: 6 bytes
21:43:50 T:3464  NOTICE: >>>> Movielib <<<< Can't connect to: http://xxx.xx/sync.php?token=xxxxxx&option=cleandb    <----------------------------------
21:43:50 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST ERROR]: timed out
21:43:50 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST]: Wait 5 secs and retring 1
...
21:44:15 T:3464  NOTICE: >>>> Movielib <<<< Can't connect to: http://xxx.xx/sync.php?token=xxxxxx&option=cleandb
21:44:15 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST ERROR]: timed out
21:44:15 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST]: Wait 5 secs and retring 2
...
21:44:40 T:3464  NOTICE: >>>> Movielib <<<< Can't connect to: http://xxx.xx/sync.php?token=xxxxxx&option=cleandb
21:44:40 T:3464  NOTICE: >>>> Movielib <<<< [REQUEST ERROR]: timed out

If you want I can send the kodi.log you by email too.

Thanks Nepomuk, I find bug in movielib script. In function.php i forgot to uncomment line 198 and script not create indexes in database. This slow down script.
I update to new version 2.8.1
To update download and replace only 3 files: function.php, config.php and files.md5 then login to admin panel and tables update automatically. Now cleandb function will work fast.
Reply
Super @Regss for the very quick response.

The missing series is here now and all do very well.

First I have replace this 3 files you tell me, login admin panel and all fine on movielib-webside
After that I started Kodi and the script runs very well. I am wondering that the script tells me that he is erasing more that 8k Arts on webserver. Ok, maybe this are old arts that the bug cant delete in the last weeks/months.
Oh no, thats my mistage I have forgotten to start the movie server, so the script cant find any arts on the server, now the script delete all arts von the webserver too.
And I can tell you the script is very fast. I shutdown Kodi immediately but more than 4k files are deleted on the web server.
After starting the movie server and restart kodi movielib-addon is now uploading this all files again.

Feature request:
Can you verify the connection to the movies and arts locally when you see that the movies are on a other machine then kodi e.g. when using smb, before you start sync?
Reply
This is the error message i have all the time:

09:30:49 T:4597268480 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'module' object has no attribute 'OrderedDict'
Traceback (most recent call last):
File "/Users/Rudi/Library/Application Support/Kodi/addons/script.movielib/default.py", line 30, in <module>
Movielib()
File "/Users/Rudi/Library/Application Support/Kodi/addons/script.movielib/default.py", line 22, in __init__
sync.start(self)
File "/Users/Rudi/Library/Application Support/Kodi/addons/script.movielib/resources/lib/sync.py", line 74, in start
check(self)
File "/Users/Rudi/Library/Application Support/Kodi/addons/script.movielib/resources/lib/sync.py", line 153, in check
dataXBMC = getDataFromXBMC(self)
File "/Users/Rudi/Library/Application Support/Kodi/addons/script.movielib/resources/lib/sync.py", line 193, in getDataFromXBMC
dataXBMC = collections.OrderedDict( [('videos', {} ), ('images', {} )] )
AttributeError: 'module' object has no attribute 'OrderedDict'
-->End of Python script error report<--
Reply
  • 1
  • 34
  • 35
  • 36(current)
  • 37
  • 38
  • 45

Logout Mark Read Team Forum Stats Members Help
MovieLib - Your movie database on web8