• 1
  • 30
  • 31
  • 32(current)
  • 33
  • 34
  • 45
MovieLib - Your movie database on web
(2015-08-16, 19:08)Regss Wrote: To test actors sync you must delete entire database becouse now actors are synced and movielib not try to update it.
It strange that poster and fanart are synced correctly but actors not. Make sure that folder cache/actors have acces to write to it.

@Regss what database do you mean - the kodi-db or the movielib-db.
The movielib-db I have cleared before starting kodi and movielib-add-on. Kodi-db is untouched.
And no the actors are not synced in the movielib-db the table is empty.
Look at my first post I have wrote that cache and cache/actors set CHMOD 0777

Now I have movielib-debugging set to off and restart Kodi please look at the kodi.log.
Link deleted

Everytime when I start kodi your add-on write the actors in kodi.log
5 Minutes later, I have nothing manipulate at the movielib-db. Link deleted

Here the db-dump Link deleted
Reply
I mean movielib-db must be empty (deleted all tables). If you disable debuging in movielib addon I can't see when script have problem with sync actors.
The list of actors that you see in this log is only a info from kodi that some script (movielib) request JSON command. It's important what happen after but you must enable debugging. When movielib database is empty and you start sync you must see a progress bar with syncing actors. To test you can wait to only few actors are synced and stop (quit KODI) then check in movielib db the actors table is filled. Do this when debugging is enabled and past log if actors not syncing.
Reply
(2015-08-17, 21:16)Regss Wrote: I mean movielib-db must be empty (deleted all tables). If you disable debuging in movielib addon I can't see when script have problem with sync actors.
The list of actors that you see in this log is only a info from kodi that some script (movielib) request JSON command. It's important what happen after but you must enable debugging. When movielib database is empty and you start sync you must see a progress bar with syncing actors. To test you can wait to only few actors are synced and stop (quit KODI) then check in movielib db the actors table is filled. Do this when debugging is enabled and past log if actors not syncing.

You tell me that I have to delete all tables that mean in SQL-Syntax I have to drop the tables. Right?
After that kodi.log tells me:
Quote:22:06:22 T:10868 NOTICE: Previous line repeats 2 times.
22:06:22 T:10868 NOTICE: Thread BackgroundLoader start, auto delete: false
22:06:22 T:9856 NOTICE: Thread JobWorker start, auto delete: true
22:06:26 T:10984 NOTICE: Thread LanguageInvoker start, auto delete: false
22:06:26 T:10984 NOTICE: -->Python Interpreter Initialized<--
22:06:26 T:10984 NOTICE: >>>> Movielib <<<< XBMC: URL: http://website.dom/movielib
22:06:26 T:10984 NOTICE: >>>> Movielib <<<< XBMC: Debug: true
22:06:26 T:10984 NOTICE: >>>> Movielib <<<< XBMC: Token: 3gv9rz
22:06:26 T:10984 NOTICE: >>>> Movielib <<<< XBMC: Notify: true
22:06:26 T:10984 NOTICE: >>>> Movielib <<<< [REQUEST]: http://website.dom/movielib/sync.php?tok...cksettings
22:06:26 T:10984 NOTICE: >>>> Movielib <<<< [REQUEST]:
22:06:26 T:10984 NOTICE: >>>> Movielib <<<< [REQUEST DATA SIZE]: 0 bytes
22:06:26 T:10984 NOTICE: >>>> Movielib <<<< [RESPONSE]: SELECT * FROM `config`<br>ERROR: MySQL - Table 'usr_web0815.config' doesn't exist
22:06:26 T:10984 NOTICE: >>>> Movielib <<<< [GET JSON ERROR]: No JSON object could be decoded
Attention website.dom is a dummy.

What I have done now ist, I deleted, drop all tables, delete all arts in /cache
and upload install.php new. Started the installation again. The only thing I do is that I manipulate the table config because I insert the token.
Then start the add-on, now the add-on would synch the actors first. After ten movies I kill kodi.
No actor pic in /cache/actors
Here the log: Link deleted
Hope it help now.
Reply
I found the problem.
When movielib asks for list of actros KODI return only name and role...

Code:
22:19:04 T:11168  NOTICE: {"id":1,"jsonrpc":"2.0","result":{"limits":{"end":1016,"start":0,"total":1016},"movies":[{"cast":[{"name":"Denzel Washington","order":0,"role":"Bobby"},{"name":"Mark Wahlberg","order":1,"role":"Stig"},{"name":"Paula Patton","order":2,"role":"Deb"}...

In my KODI returned like this:

Code:
08:08:50 T:3532  NOTICE: {"id":1,"jsonrpc":"2.0","result":{"limits":{"end":13,"start":0,"total":13},"movies":[{"cast":[{"name":"Colin Farrell","order":0,"role":"Marty","thumbnail":"image://http%3a%2f%2f1.fwcdn.pl%2fp%2f00%2f81%2f10081%2f324356.1.jpg/"},{"name":"Sam Rockwell","order":1,"role":"Billy","thumbnail":"image://http%3a%2f%2f1.fwcdn.pl%2fp%2f72%2f12%2f7212%2f341683.1.jpg/"}...

Some reason your KODI not return URL's to thumbnails.

Now, to make it easier to find the problem. In KODI Settings -> Services -> Web server -> Enable Allow remote control via HTTP on some port
Then in webbrowser use JSON command to show few movies with actors. We see if returned thumbnails:

Code:
http://[KODI IP]/jsonrpc?request=%7B%22jsonrpc%22%3A%20%222.0%22%2C%20%22method%22%3A%20%22VideoLibrary.GetMovies%22%2C%20%22params%22%3A%20%7B%22limits%22%3A%20%7B%20%22start%22%20%3A%200%2C%20%22end%22%3A%2010%20%7D%2C%20%22properties%22%3A%20%5B%22title%22%2C%20%22cast%22%5D%7D%2C%20%22id%22%3A%201%7D

KODI IP is a IP address of machine that KODI run. If webbrowser is on this same machine type 127.0.0.1
Reply
Wink 
I have enabled webserver.
Port:80, no Username, No Password, WebSkin: default

This was the code I insert in the address-row of my chrome:
Code:
http://127.0.0.1/jsonrpc?request={%22jsonrpc%22%3A%20%222.0%22%2C%20%22method%22%3A%20%22VideoLib%E2%80%8Brary.GetMovies%22%2C%20%22params%22%3A%20{%22limits%22%3A%20{%20%22start%22%20%3%E2%80%8BA%200%2C%20%22end%22%3A%2010%20}%2C%20%22properties%22%3A%20[%22title%22%2C%20%22cast%22]}%2C%20%22id%22%3A%201}

The answer from chrome:
Code:
{"error":{"code":-32700,"message":"Parse error."},"id":null,"jsonrpc":"2.0"}

I send you a PM with the dump of MyVideo93
Reply
deleted
Reply
@regess
do you have PM disabled, because I cant reply.
Reply
no, i send you PM with my email.
Reply
bad idea to let your email on public forum.
HTPC - Nvidia Shield TV
Desktop - Homemade : 11th Gen Intel® Core™ i5-11600K @ 3.90GHz | 32GB | AMD Radeon RX 6600 XT | SSD 500Go + 750Go + HDD 500Go | --W10--
NAS - Synology DS414 : [2*8To WD Red Plus (Raid 1)] + [2*6To WD Red (Raid 1)]
KODI 19.3
Reply
@Regss I have you a email yesterday and at this moment.
Reply
So @Regss have found the problem. Laugh
Thank you very much for helping and spend your time for me.

It was my mistake. I have vergotten to activate:
Settings -> Video -> Library -> Download actors thumbnails
because I thought I dont need it because the actors thumbs are local on my mediaserver. That was the error in my mind.

Iam not sure if Update library its enough, so I deleted kodi-db and make the db new. Now its all fine the actors thumb are shown when move over the actor name.
Reply
Hello,
Can i suggest to add some statistics on the movie like the average of imdb score of the all movies, for year, ecc. ?
Reply
@Regss, do you remember that we had done some changes at End of August.

Now I want to ask when you update github?
Reply
In a few days. I rewrite sync functions. I Added separate function to sync all images. Now when you delete some poster on fanart then it auto resync. I need test it before I update to github.
Reply
@regess

Good to here. :-)
The new function to sync the images is a good idea because I have found dozens of movies without a image in my movielib. At the moment I search the movieID in movielib and then I search the thumbs in textures13.db. Copy and rename it to movies_ID.jpg, movies_ID_f.jpg and upload it to /cache by hand. Movies_ID_txx.jpg I dont update this arts.

I do not found a reason why dozens of movies have no arts uploaded when I start movielib. Every movie I added local the arts with embermanager before and in Kodi they have all poster, fanart and extrafanarts in textures13.db - so I hope your new function will check that the arts in the movielib-cache folder and if not the function will upload it then.
Reply
  • 1
  • 30
  • 31
  • 32(current)
  • 33
  • 34
  • 45

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