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) *Isengard* - Jandalf - 2015-09-02

(2015-08-25, 01:07)wgstarks Wrote: I'm not quite sure if this is what you meant. Didn't get any errors.
Code:
Last login: Mon Aug 24 18:48:02 on ttys000
HT-Mini-2:~ wgstarks$ python
Python 2.7.10 (default, Jul 14 2015, 19:46:27)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> "{:,}".format(802556)
'802,556'
>>> "{0:,}".format(802556)
'802,556'
>>> "{:0,}".format(802556)
'802,556'
>>>
(2015-08-30, 19:03)wgstarks Wrote: Just an update. I noticed today that the addon only seems to fail when running automated updates. If I manually launch an update they complete without any errors. At least in my case.
Kodi seem to use a strange python environment that behaves weird...

could you replace the file /Users/<your_user_name>/Library/Application Support/Kodi/addons/script.imdbupdate/resources/lib/imdbMovie.py
with this one: https://gist.github.com/Jandalf/1d59d0ac2cf8075809db

and check if this solves the problem. then I will release this as a new version.


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Isengard* - wgstarks - 2015-09-02

(2015-09-02, 21:39)Jandalf Wrote:
(2015-08-25, 01:07)wgstarks Wrote: I'm not quite sure if this is what you meant. Didn't get any errors.
Code:
Last login: Mon Aug 24 18:48:02 on ttys000
HT-Mini-2:~ wgstarks$ python
Python 2.7.10 (default, Jul 14 2015, 19:46:27)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> "{:,}".format(802556)
'802,556'
>>> "{0:,}".format(802556)
'802,556'
>>> "{:0,}".format(802556)
'802,556'
>>>
(2015-08-30, 19:03)wgstarks Wrote: Just an update. I noticed today that the addon only seems to fail when running automated updates. If I manually launch an update they complete without any errors. At least in my case.
Kodi seem to use a strange python environment that behaves weird...

could you replace the file /Users/<your_user_name>/Library/Application Support/Kodi/addons/script.imdbupdate/resources/lib/imdbMovie.py
with this one: https://gist.github.com/Jandalf/1d59d0ac2cf8075809db

and check if this solves the problem. then I will release this as a new version.

Will give it a try and post back.


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Isengard* - wgstarks - 2015-09-03

(2015-09-02, 23:05)wgstarks Wrote:
(2015-09-02, 21:39)Jandalf Wrote: Kodi seem to use a strange python environment that behaves weird...

could you replace the file /Users/<your_user_name>/Library/Application Support/Kodi/addons/script.imdbupdate/resources/lib/imdbMovie.py
with this one: https://gist.github.com/Jandalf/1d59d0ac2cf8075809db

and check if this solves the problem. then I will release this as a new version.

Will give it a try and post back.

I've installed the new py file. Of course now I'll have to wait for the weekly run. Is there anyway to see when the latest update occurred other than searching the log file? My system is running 24/7 so it's likely I won't see the popup start/finish windows.


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Isengard* - Jandalf - 2015-09-03

(2015-09-03, 01:56)wgstarks Wrote: I've installed the new py file. Of course now I'll have to wait for the weekly run. Is there anyway to see when the latest update occurred other than searching the log file? My system is running 24/7 so it's likely I won't see the popup start/finish windows.

sorry I forgot about this: go to /Users/<your_user_name>/Library/Application Support/Kodi/userdata/addon_data/script.imdbupdate and delete the last_run files this should start the weekly update after a short time.


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Isengard* - wgstarks - 2015-09-03

(2015-09-03, 07:28)Jandalf Wrote:
(2015-09-03, 01:56)wgstarks Wrote: I've installed the new py file. Of course now I'll have to wait for the weekly run. Is there anyway to see when the latest update occurred other than searching the log file? My system is running 24/7 so it's likely I won't see the popup start/finish windows.

sorry I forgot about this: go to /Users/<your_user_name>/Library/Application Support/Kodi/userdata/addon_data/script.imdbupdate and delete the last_run files this should start the weekly update after a short time.

Outstanding. Worked great. Both automated updates ran without errors.


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Isengard* - Boulder - 2015-09-03

(2015-09-02, 21:21)Jandalf Wrote:
(2015-08-30, 18:17)Boulder Wrote: Is it possible to make the update process completely silent or is it Kodi displaying the messages? I get a message which tells me that the process starts and then the results when it's finished. This is when the updater is set to automatically update the data on a weekly basis.

By the way, how often should it update? I'm quite sure I've seen the messages more often than once a week.
yes it would be possible, because the add-on generates the message. but I don't like the idea of another more silent option. is this really a big deal?
it should run only on weekly basis. could you show me a debug log of the time where he runs the update in under a week?
The last time I had booted Kodi was on August 30th, and this is what I found out from the log:

19:37:56 T:139770722834176 NOTICE: -->Python Interpreter Initialized<--
19:37:56 T:139770722834176 NOTICE: [IMDB Update] - Starting IMDB Update v0.8.3
19:38:28 T:139770722834176 NOTICE: [IMDB Update] - Alien: updated from 8.5 (500180) to 8.5 (495389)

I then booted Kodi today (four days later) and this is what I got:

18:07:15 T:140437751396096 NOTICE: -->Python Interpreter Initialized<--
18:07:15 T:140437751396096 NOTICE: [IMDB Update] - Starting IMDB Update v0.8.3
18:07:21 T:140437751396096 NOTICE: [IMDB Update] - Alien³: updated from 6.40000009537 (188103) to 6.4 (186144)
18:07:52 T:140437751396096 WARNING: [IMDB Update] - Henry Rollins: Live in the Conversation Pit: no IMDb id
18:07:55 T:140437751396096 NOTICE: [IMDB Update] - The Hunger Games: updated from 7.30000019073 (637592) to 7.3 (633180)
18:08:05 T:140437751396096 NOTICE: [IMDB Update] - The Man from Laramie: updated from 7.40000009537 (6208) to 7.4 (6185)
18:08:44 T:140437751396096 NOTICE: [IMDB Update] - Winter's Tale: updated from 6.19999980927 (35718) to 6.2 (35328)
18:08:45 T:140437751396096 NOTICE: [IMDB Update] - The Wizard of Oz: updated from 8.10000038147 (260959) to 8.1 (258636)
18:08:46 T:140437751396096 NOTICE: [IMDB Update] - Movies ratings summary: 5 of 432 were updated!

As you can see, the older log doesn't have the summary at all.

The thing with the message is that it sometimes pops up right after midnight during the weekend when I'm usually watching some movie. I don't know if it's supposed to appear only in the Kodi GUI but it does appear over the video as well. Maybe make the "silent" option totally silent so no need for a new option?


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Isengard* - Jandalf - 2015-09-07

(2015-09-03, 14:52)wgstarks Wrote: Outstanding. Worked great. Both automated updates ran without errors.

and here bundled as a new version:

Download:
script.imdbupdate-0.8.4.zip


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Isengard* - Jandalf - 2015-09-07

(2015-09-03, 17:25)Boulder Wrote: 19:37:56 T:139770722834176 NOTICE: -->Python Interpreter Initialized<--
19:37:56 T:139770722834176 NOTICE: [IMDB Update] - Starting IMDB Update v0.8.3
19:38:28 T:139770722834176 NOTICE: [IMDB Update] - Alien: updated from 8.5 (500180) to 8.5 (495389)

I then booted Kodi today (four days later) and this is what I got:

18:07:15 T:140437751396096 NOTICE: -->Python Interpreter Initialized<--
18:07:15 T:140437751396096 NOTICE: [IMDB Update] - Starting IMDB Update v0.8.3
18:07:21 T:140437751396096 NOTICE: [IMDB Update] - Alien³: updated from 6.40000009537 (188103) to 6.4 (186144)
18:07:52 T:140437751396096 WARNING: [IMDB Update] - Henry Rollins: Live in the Conversation Pit: no IMDb id
18:07:55 T:140437751396096 NOTICE: [IMDB Update] - The Hunger Games: updated from 7.30000019073 (637592) to 7.3 (633180)
18:08:05 T:140437751396096 NOTICE: [IMDB Update] - The Man from Laramie: updated from 7.40000009537 (6208) to 7.4 (6185)
18:08:44 T:140437751396096 NOTICE: [IMDB Update] - Winter's Tale: updated from 6.19999980927 (35718) to 6.2 (35328)
18:08:45 T:140437751396096 NOTICE: [IMDB Update] - The Wizard of Oz: updated from 8.10000038147 (260959) to 8.1 (258636)
18:08:46 T:140437751396096 NOTICE: [IMDB Update] - Movies ratings summary: 5 of 432 were updated!

As you can see, the older log doesn't have the summary at all.

The thing with the message is that it sometimes pops up right after midnight during the weekend when I'm usually watching some movie. I don't know if it's supposed to appear only in the Kodi GUI but it does appear over the video as well. Maybe make the "silent" option totally silent so no need for a new option?

thats strange, I need a detailed debug log to understand the problem, but I don't think you want to run kodi in debug mode a for a longer time? could I point you to a file to change so you get the debug log of this add-on in normal mode? I think the totally silent option makes sense now, will have a look into this...


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Isengard* - wgstarks - 2015-09-07

(2015-09-07, 22:06)Jandalf Wrote: and here bundled as a new version:

Was anything else changed here? Just wondering if I need to re-install?


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Isengard* - Boulder - 2015-09-08

(2015-09-07, 22:11)Jandalf Wrote:
(2015-09-03, 17:25)Boulder Wrote: 19:37:56 T:139770722834176 NOTICE: -->Python Interpreter Initialized<--
19:37:56 T:139770722834176 NOTICE: [IMDB Update] - Starting IMDB Update v0.8.3
19:38:28 T:139770722834176 NOTICE: [IMDB Update] - Alien: updated from 8.5 (500180) to 8.5 (495389)

I then booted Kodi today (four days later) and this is what I got:

18:07:15 T:140437751396096 NOTICE: -->Python Interpreter Initialized<--
18:07:15 T:140437751396096 NOTICE: [IMDB Update] - Starting IMDB Update v0.8.3
18:07:21 T:140437751396096 NOTICE: [IMDB Update] - Alien³: updated from 6.40000009537 (188103) to 6.4 (186144)
18:07:52 T:140437751396096 WARNING: [IMDB Update] - Henry Rollins: Live in the Conversation Pit: no IMDb id
18:07:55 T:140437751396096 NOTICE: [IMDB Update] - The Hunger Games: updated from 7.30000019073 (637592) to 7.3 (633180)
18:08:05 T:140437751396096 NOTICE: [IMDB Update] - The Man from Laramie: updated from 7.40000009537 (6208) to 7.4 (6185)
18:08:44 T:140437751396096 NOTICE: [IMDB Update] - Winter's Tale: updated from 6.19999980927 (35718) to 6.2 (35328)
18:08:45 T:140437751396096 NOTICE: [IMDB Update] - The Wizard of Oz: updated from 8.10000038147 (260959) to 8.1 (258636)
18:08:46 T:140437751396096 NOTICE: [IMDB Update] - Movies ratings summary: 5 of 432 were updated!

As you can see, the older log doesn't have the summary at all.

The thing with the message is that it sometimes pops up right after midnight during the weekend when I'm usually watching some movie. I don't know if it's supposed to appear only in the Kodi GUI but it does appear over the video as well. Maybe make the "silent" option totally silent so no need for a new option?

thats strange, I need a detailed debug log to understand the problem, but I don't think you want to run kodi in debug mode a for a longer time? could I point you to a file to change so you get the debug log of this add-on in normal mode? I think the totally silent option makes sense now, will have a look into this...
Sure, just let me know what to change and I'll try to get you some results. For what it's worth, I left the Chromebox on on that latter day and sometime during the next night, there was a log entry stating that it had updated the MPAA ratings. So it kind of seems that it doesn't update all data at once but piece by piece over the days.


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Isengard* - Jandalf - 2015-09-10

(2015-09-07, 23:15)wgstarks Wrote: Was anything else changed here? Just wondering if I need to re-install?
no only this fix, you can always find a changelog here changelog

(2015-09-08, 04:54)Boulder Wrote: Sure, just let me know what to change and I'll try to get you some results. For what it's worth, I left the Chromebox on on that latter day and sometime during the next night, there was a log entry stating that it had updated the MPAA ratings. So it kind of seems that it doesn't update all data at once but piece by piece over the days.

yeah it keeps separate dates for each category. you could have a look into the subfolder addon_data/script.imdbupdate in the Kodi userdata folder the last_run_* files contain the date of the last run of a category. do enable more logging output goto the Kodi folder (one level up from the Kodi userdata folder) -> open service.py in the addons/script.imdbupdate subfolder with a text editor and replace all
Code:
logDebug
with
Code:
log
and then it will log the reason why he runs the weekly update so often.


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Isengard* - dml3334 - 2015-09-11

Hi.

Firstly, thanks for this addon. It's quite useful!

I have a problem with the list of the missing top250 movies. Their titles appear in french, but I'm spanish!

When I enter IMDB from Chrome or Explorer, the movie names appear in spanish, together with their original title. But, I don't know how it comes, that IMDB Updater picks them in french. The same happens with Rating Update add-on.

Maybe there is a problem with the IMDB parsing module.

Thanks!


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Isengard* - fragache - 2015-09-19

Hello Jandalf,

Im using Skin [Bello Fredo] with Isengard 15.2. one of the feature of this skin is to give you Top 250 IMDb list. I have been trying everything but is does not work . I have ( i guess) the last updated version of IMDb Update add on 0.8.4

This add on does not update the top 250 for me.maybe I'm doing something wrong. I was checking the Changelog but it does not said what is wrong.PLease help

P.S: Thank you for your time. your knowledge will be appreciated. Regards


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Isengard* - Jandalf - 2015-09-20

(2015-09-11, 08:09)dml3334 Wrote: Hi.

Firstly, thanks for this addon. It's quite useful!

I have a problem with the list of the missing top250 movies. Their titles appear in french, but I'm spanish!

When I enter IMDB from Chrome or Explorer, the movie names appear in spanish, together with their original title. But, I don't know how it comes, that IMDB Updater picks them in french. The same happens with Rating Update add-on.

Maybe there is a problem with the IMDB parsing module.

Thanks!

that's very strange, the titles in the missing top250 file should always be completely in english. I get the data from this page: http://www.imdb.com/chart/top and this will provide only english titles. could you just open this page and ahve a look what language you get? could you upload the missingTop250.csv so I could have a look into it? and what do you mean with the Rating update add-on?


RE: [Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Isengard* - Jandalf - 2015-09-20

(2015-09-19, 22:47)fragache Wrote: Hello Jandalf,

Im using Skin [Bello Fredo] with Isengard 15.2. one of the feature of this skin is to give you Top 250 IMDb list. I have been trying everything but is does not work . I have ( i guess) the last updated version of IMDb Update add on 0.8.4

This add on does not update the top 250 for me.maybe I'm doing something wrong. I was checking the Changelog but it does not said what is wrong.PLease help

P.S: Thank you for your time. your knowledge will be appreciated. Regards

what do you mean with "it does not work"? do you get an error, an empty list...
and the same for "it does not update the top 250", could you provide more information?