Kodi Community Forum

Full Version: Light IMDb Ratings Update 5.1.3
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I installed 19.1 again after the debacle of 19.0, but again most addons, like this 4.3.0 is not working ok.
Just like the titan mod for matrix, terrible.
i know kodi developpers are not to blaim, but i turned of auto update on shield and reinstalled 18.9. All works perfect now.
i rather have a good working , but less safe version, than very secure matrix version thats works terrible even out of the box.
Lets hope version 20 will be gerat again.
Since a few days it gets stuck on updating. Not on a specific movie but just random, about 50 movies into the scan I think. I think it’s since update 19.1. Anyone else experiencing problems?
(2021-05-10, 15:06)Edworld Wrote: [ -> ]Thanks for the response.

The option to update the top250 movie list only. 

Thanks
Hi @Edworld , sorry for my late reply.

I still don't clearly understand your request, sorry. Do you mean to have saved in a txt file (or just showed in the Kodi GUI) the current Top250 movies on IMDb OR to update the ratings of only the movies in your library that are in the Top250?

Thanks a lot!
(2021-05-18, 17:49)djhifi Wrote: [ -> ]@axlt2002 Scanning stops mid-scan and throws the following error
Quote:2021-05-18 06:02:53.536 T:3434    ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'Exception'>
                                                   Error Contents: ID: 0 not found
                                                   Traceback (most recent call last):
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.light.imdb.ratings.update/main.py", line 15, in <module>
                                                       StartUpdate()
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.light.imdb.ratings.update/main.py", line 12, in StartUpdate
                                                       update_main.perform_update()
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.light.imdb.ratings.update/resources/core/update_main.py", line 229, in perform_update
                                                       TVShows()
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.light.imdb.ratings.update/resources/core/update_main.py", line 133, in __init__
                                                       self.doUpdateTVShows()
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.light.imdb.ratings.update/resources/core/update_main.py", line 176, in doUpdateTVShows
                                                       IMDb, statusInfo = get_tvshow_IMDb_ID("tvshow", TVShow[0], TVShow[2], TVShow[3], TVShow[4])
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.light.imdb.ratings.update/resources/core/update_common.py", line 95, in get_tvshow_IMDb_ID
                                                       (IMDb, add_statusInfo) = get_IMDb_ID_from_theTVDB("tvshow", TVDB)
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.light.imdb.ratings.update/resources/core/tvdb_scraper.py", line 25, in get_IMDb_ID_from_theTVDB
                                                       response = show.info()
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.light.imdb.ratings.update/resources/support/tvdbsimple/series.py", line 65, in info
                                                       response = self._GET(path)
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.light.imdb.ratings.update/resources/support/tvdbsimple/base.py", line 162, in _GET
                                                       return self._request('GET', path, params=params, cleanJson=cleanJson)
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.light.imdb.ratings.update/resources/support/tvdbsimple/base.py", line 154, in _request
                                                       return self._request(method=method, path=path, params=params,
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.light.imdb.ratings.update/resources/support/tvdbsimple/base.py", line 157, in _request
                                                       raise Exception(response.json()['Error'])
                                                   Exception: ID: 0 not found
                                                   -->End of Python script error report<--
Running 19.1 (NVIDIA Shield)
Hi @djhifi, thanks for spotting this out!

I guess the error could be related to the fact that the TVDB APIs are no more free. I was already thinking to remove the TVDB wrapper in the next release and just rely on the TMDB one to retrieve the missing IMDb IDs.

Can you confirm anyway that the error is related to a TV show and/or episode that is missing the IMDb ID? Otherwise the TVDB wrapper shouldn't have been called...

Have a nice day!
(2021-05-20, 09:18)Karellen Wrote: [ -> ]Hi @axlt2002

It's been about a year since I last updated my ratings, (mainly as I was waiting for you to release a v3.5.4 type version for Matrix) but I thought it about time I update at least a few tv shows, Unfortunately, nothing seems to happen when I run the addon on any particular tv show. Ratings for the tv show don't change, and it skips through two or three random episodes and finishes.

Wondering if you can see anything in the log. I have enabled logging in the addon settings, but not much seems to appear in the log. The only thing I see around line 1240 is DatabaseUtils::GetSortFieldList: unknown field 36, not sure if that is the issue.

https://paste.kodi.tv/pagofajozu.kodi

Will you be releasing the slower, but more accurate version for Matrix at all?
Hello @Karellen, hope you are doing great!

Thanks for this...to be honest I can not find something useful in the log. May you can also share the update.log you can find under the addon_data folder? I saw that IMDb pages format is changed and this could be part of the issue...for sure I have to update the regex used to scrape the right information.

About the "slow version"  Smile  Yes, I'm really planning to release it for Matrix as well, may be in a single new version with both options or something similar...what I just need is...free time to do that. Still a crazy period...
(2021-05-22, 01:37)bacardicola Wrote: [ -> ]I installed 19.1 again after the debacle of 19.0, but again most addons, like this 4.3.0 is not working ok.
Just like the titan mod for matrix, terrible.
i know kodi developpers are not to blaim, but i turned of auto update on shield and reinstalled 18.9. All works perfect now.
i rather have a good working , but less safe version, than very secure matrix version thats works terrible even out of the box.
Lets hope version 20 will be gerat again.
Hi @bacardicola, thanks for your post.

I think that instead of complaining with Kodi new version, you could be more of help in reporting what exactly doesn't work for thie add-on (may be there is a bug to be solved in it). So, please refer to the first post in order to provide the logs that might help in solving the problem.

Best Regards!  Smile
(2021-05-22, 22:00)mark_dj Wrote: [ -> ]Since a few days it gets stuck on updating. Not on a specific movie but just random, about 50 movies into the scan I think. I think it’s since update 19.1. Anyone else experiencing problems?
Hello @mark_dj, thanks for writing.

I confirm that I'm experiencing the same issue. I don't know if it is just related to 19.1 or even earlier versions, but I'm going to take a look to it as soon as possible.

Let's keep in touch!
(2021-05-24, 11:09)axlt2002 Wrote: [ -> ]
(2021-05-22, 22:00)mark_dj Wrote: [ -> ]Since a few days it gets stuck on updating. Not on a specific movie but just random, about 50 movies into the scan I think. I think it’s since update 19.1. Anyone else experiencing problems?
Hello @mark_dj, thanks for writing.

I confirm that I'm experiencing the same issue. I don't know if it is just related to 19.1 or even earlier versions, but I'm going to take a look to it as soon as possible.

Let's keep in touch!

Great, thank you!
Hello guys,

The new version 4.4.0 has just been realeased. It now supports the new IMDb pages format and solves the issue of being stuck randomly during the ratings update.

In case of any new issue (hope not so many!), please do not hesitate to post it in this thread.

Good night!
Hi @axlt2002 
With Version 4.4.0 i have many errors

Code:
Stalingrad (IMDb ID: tt0108211, TVDB ID: n/a, TMDB ID: 11101)
Method get_IMDb_page - https://www.imdb.com/title/tt0108211/ -> Error accessing IMDb site (503 Service Unavailable)

Booksmart (IMDb ID: tt1489887, TVDB ID: n/a, TMDB ID: 505600)
Method get_IMDb_page - https://www.imdb.com/title/tt1489887/ -> Error accessing IMDb site (503 Service Unavailable)

Thank You for Smoking (IMDb ID: tt0427944, TVDB ID: n/a, TMDB ID: 9388)
Method get_IMDb_page - https://www.imdb.com/title/tt0427944/ -> Error accessing IMDb site (503 Service Unavailable)

Stalingrad (IMDb ID: tt0108211, TVDB ID: n/a, TMDB ID: 11101)
Method get_IMDb_page - https://www.imdb.com/title/tt0108211/ -> Error accessing IMDb site (503 Service Unavailable)

Tucker (IMDb ID: tt0096316, TVDB ID: n/a, TMDB ID: 28176)
Method get_IMDb_page - https://www.imdb.com/title/tt0096316/ -> Error accessing IMDb site (503 Service Unavailable)


edit: Sorry again, today scan works without issues!

Thank you
(2021-05-30, 00:00)halidri Wrote: [ -> ]Hi @axlt2002 
With Version 4.4.0 i have many errors

Code:
Stalingrad (IMDb ID: tt0108211, TVDB ID: n/a, TMDB ID: 11101)
Method get_IMDb_page - https://www.imdb.com/title/tt0108211/ -> Error accessing IMDb site (503 Service Unavailable)

Booksmart (IMDb ID: tt1489887, TVDB ID: n/a, TMDB ID: 505600)
Method get_IMDb_page - https://www.imdb.com/title/tt1489887/ -> Error accessing IMDb site (503 Service Unavailable)

Thank You for Smoking (IMDb ID: tt0427944, TVDB ID: n/a, TMDB ID: 9388)
Method get_IMDb_page - https://www.imdb.com/title/tt0427944/ -> Error accessing IMDb site (503 Service Unavailable)

Stalingrad (IMDb ID: tt0108211, TVDB ID: n/a, TMDB ID: 11101)
Method get_IMDb_page - https://www.imdb.com/title/tt0108211/ -> Error accessing IMDb site (503 Service Unavailable)

Tucker (IMDb ID: tt0096316, TVDB ID: n/a, TMDB ID: 28176)
Method get_IMDb_page - https://www.imdb.com/title/tt0096316/ -> Error accessing IMDb site (503 Service Unavailable)


edit: Sorry again, today scan works without issues!

Thank you
Hi @halidri, thanks a lot for having updated your post.

As you can see from the log, the error was not due to the add-on itself but to an issue with the IMDb server. The new ratings update you made confirmed that this was a temporary issue. Good ending then! Smile

Have a great day!
Hi @axlt2002

Is there a repo available for the add-on to have automatic updates ?

I translated a french version of the strings file if you want to include it : https://paste.kodi.tv/teniwuloyi
(2021-06-03, 15:53)Mirgolth Wrote: [ -> ]Hi @axlt2002

Is there a repo available for the add-on to have automatic updates ?

I translated a french version of the strings file if you want to include it : https://paste.kodi.tv/teniwuloyi
Hi @Mirgolth merci beaucoup! I will for sure include it in the next version!

About the repository, at the moment there is not such possibility (you have to manually download and install the latest version). Once the version for Matrix will be "stable", I will consider to port it into the Kodi official repository.

Enjoy the evening!
(2021-03-12, 10:25)axlt2002 Wrote: [ -> ]I never experienced this bug...anyway it seems that is a well know (old date) issue...hope this will be fixed soon.
The fix was merged yesterday... https://github.com/xbmc/xbmc/pull/19762

If you use KodiSetup-20210607-51b8b04a-Matrix-x64.exe or any nightly after that, then it will have the fix.

You can download the nightlies here for Win 64bit... https://mirrors.kodi.tv/nightlies/windows/win64/Matrix/

I have tested and rebuilt part of my library and all seems to be working again.
I noticed today that some of the movies in the library have not been update with the current imdb250 rating. I checked on https://250.took.nl/ for the last time these movies had a rating change and it seems they've not been updating since end of May so like 2 weeks. I checked the update log and I see this for each of the movies throughout the logs. For tv shows too it says "no rating".

"Movie Name here":
Method parse_IMDb_page: tt0056172 -> no rating

What does "no rating" mean? Is it that the addon couldn't find the rating on IMDB using the IMDB ID or does it signify something broke at my end? I am using v3.5.4.