Kodi Community Forum
[Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Jarvis* - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Jarvis* (/showthread.php?tid=167754)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Jarvis* - mikebzh44 - 2016-06-23

After editing addon.xml to bump release version :

Code:
    <requires>
        <import addon="xbmc.python" version="2.25.0"/>
        <import addon="xbmc.gui" version="5.12.0"/>
        <import addon="xbmc.addon" version="16.9.701"/>
    </requires>

I have run successfully this addon and update Top250 movies and ratings.

And as this addon use JSON query to update Top250 or rating :

resources\lib\movies.py :

Code:
util.executeJSON('VideoLibrary.SetMovieDetails', {'movieid': movie['movieid'], 'rating': float(imdb.rating()), 'votes': imdb.votes()})

resources\lib\top250.py
Code:
util.executeJSON('VideoLibrary.SetMovieDetails', {'movieid': movie['movieid'], 'top250': position})

It should make it Krypton compliant.


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Jarvis* - mikebzh44 - 2016-06-23

Also add some new ID label for translate settings windows and add French language (send PR on GITHUB).


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Jarvis* - mikebzh44 - 2016-06-23

@sualfred : you are right.

I have test upgrading rate from a fresh Kodi database with only one movie : Oblivion

After scrapping this movie with The Movie DB, rating table is filled :

Image

Then I run this addon :

Code:
16:20:59 T:8764  NOTICE: [IMDB Update] - Starting IMDB Update v0.8.10
16:21:01 T:8764  NOTICE: [IMDB Update] - [1] Oblivion: updated from 6.30000019073 (3475) to 7.0 (382.459)
16:21:01 T:8764  NOTICE: [IMDB Update] - Résumé des notes pour les films: 1 de 1 a été mis à jour!

But now table rating is empty :

Image

I have add some debug log and here is the JSON query for updating rate and votes :

Code:
17:02:33 T:572  NOTICE: [IMDB Update] - executeJSON : VideoLibrary.SetMovieDetails, params: {'rating': 7.0, 'votes': '382459', 'movieid': 1}
17:02:33 T:572  NOTICE: [IMDB Update] - result[jsonrpc] = 2.0
17:02:33 T:572  NOTICE: [IMDB Update] - result[id] = 1
17:02:33 T:572  NOTICE: [IMDB Update] - result[result] = OK
17:02:33 T:572  NOTICE: [IMDB Update] - [1] Oblivion: updated from 6.30000019073 (3475) to 7.0 (382459)

Maybe it's a JSON issue : http://forum.kodi.tv/showthread.php?tid=68263&pid=2363325#pid2363325


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Jarvis* - phate89 - 2016-06-23

It's a bug.. This pr , even if unrelated, will fix it (probably tomorrow's build will include it):
https://github.com/xbmc/xbmc/pull/10020


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Jarvis* - mikebzh44 - 2016-06-23

Good news Wink


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Jarvis* - mikebzh44 - 2016-06-24

Latest build of Krypton (KodiSetup-20160623-2731311-master) fix this issue :

Image


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Jarvis* - sualfred - 2016-06-25

Thanks for the update Smile


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Jarvis* - Boulder - 2016-07-09

I'm getting some strange errors with Jarvis:

http://pastebin.com/ddziu63V

According to the log it seems that some ratings or Top250 movies are parsed??


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Jarvis* - MrSmith2019 - 2016-07-11

Still one of the best addons available. Thanks for that!


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Jarvis* - Finchy - 2016-07-11

Awesome, thanks for getting it working on Jarvis, great app! Smile


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Jarvis* - Soujirou Seta - 2016-09-12

Thanks for the update, great


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Jarvis* - Boulder - 2016-09-17

This addon is now marked as broken in Krypton and thus disabled. Is there something that could be done to make it compatible?


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Jarvis* - zag - 2016-09-17

Just use nodes like i've mentioned about 5 times in this thread?


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Jarvis* - krakout - 2016-09-22

(2016-09-17, 14:24)zag Wrote: Just use nodes like i've mentioned about 5 times in this thread?

I only see two references in this thread - one is this last post of yours and another points to your signature, but it must have been changed because it says nothing about nodes...?


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Jarvis* - bsoriano - 2016-10-18

(2016-06-23, 11:37)mikebzh44 Wrote: Also add some new ID label for translate settings windows and add French language (send PR on GITHUB).

@mikebzh44, do you have a modded version in GitHub or another place that you can share, that works well in Krypton Beta 3? I would be most grateful if you could post a link.

Regards,

Bart