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* - semool - 2015-10-01

When it gives an Website with api where we can get australia Ratings i can add it.


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

Can you use the same way universal movie scraper does it to get the Australian classification? Or all of them in that fact.


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

(2015-09-10, 19:48)Jandalf Wrote:
(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.
Ever since I made that change, the script has not tried updating data so early. Based on the log output, it's working properly. I've now changed the item back to the original one so we'll see if it starts acting up again.

Code:
13:58:37 T:140702969218816  NOTICE: [IMDB Update] - Content of last_run_top250: 2015-09-27
13:58:37 T:140702969218816  NOTICE: [IMDB Update] - Parsed date: 2015-09-27 00:00:00
13:58:37 T:140702969218816  NOTICE: [IMDB Update] - Now: 2015-10-03 13:58:37.094646
13:58:37 T:140702969218816  NOTICE: [IMDB Update] - Content of last_run_movies: 2015-09-27
13:58:37 T:140702969218816  NOTICE: [IMDB Update] - Parsed date: 2015-09-27 00:00:00
13:58:37 T:140702969218816  NOTICE: [IMDB Update] - Now: 2015-10-03 13:58:37.094931
13:58:37 T:140702969218816  NOTICE: [IMDB Update] - Content of last_run_mpaa: 2015-09-27
13:58:37 T:140702969218816  NOTICE: [IMDB Update] - Parsed date: 2015-09-27 00:00:00
13:58:37 T:140702969218816  NOTICE: [IMDB Update] - Now: 2015-10-03 13:58:37.095171



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

Could you use The Movie Database api for all other countries mpaa rating? Looks like it gives it out.


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

Unfortunately my Python is a bit rusty, someone could implement the new API of age-ratings.com/altersfreigaben.de.

Australian, German and US age rating systems are currently supported, more to come.

Examples:
http://altersfreigaben.de/api2/s/tt0332375/au
-> s = single query
-> tt0332375 = IMDB ID
-> au = Australia country code

de = German
us = US
au = Australian


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

I can't code for the life of me but I can hack together code not to bad.


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

I will integrate it. But atm i have no time. Altersfreigaben.de is already in use for De rating.


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

(2015-09-29, 19:54)dml3334 Wrote: @Jandalf

Great! It works now Smile Thank you very much.

In the generated csv, at least in Excel 2007, some movie titles are shown with strange characters. For example:

Code:
Léon: The Professional
WALL·E
Érase una vez en América
Amélie

Maybe there is an issue with the character encoding.

Thanks!

thats an excel issue. try the import function under "Data" tab where Excel allows you to specify the encoding. Select "from text" and choose the csv file then select utf-8 encoding.


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

(2015-10-07, 01:08)Rjsachse Wrote: I can't code for the life of me but I can hack together code not to bad.

I would appreciate a pull request, cause I have no spare time atm.


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

- changed the MPAA Update completely to altersfreigaben.de
- Added all available Countries us/de/au/nl

Pushing it to Repo in an hour.


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

Thank you all so much. I will give it ago when I have a chance. I will work out what a pull request is. (Not a dumb arse just haven't used github for long, besides for storage)


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

(2015-10-07, 01:08)Rjsachse Wrote: I can't code for the life of me but I can hack together code not to bad.

(2015-10-07, 14:49)semool Wrote: - changed the MPAA Update completely to altersfreigaben.de
- Added all available Countries us/de/au/nl

Pushing it to Repo in an hour.
thank you semool for your help Smile

an here it is:

Download:
script.imdbupdate-0.8.8.zip


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

(2015-10-07, 23:23)Rjsachse Wrote: Thank you all so much. I will give it ago when I have a chance. I will work out what a pull request is. (Not a dumb arse just haven't used github for long, besides for storage)

semool just updated everything. If you want to have a look at a pull request here it is:
https://github.com/Jandalf/script.imdbupdate/pull/8


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

Is posible update all te Imdb info with this addon (genre, sipnosips, etc...)?


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

(2015-10-08, 00:50)judocama Wrote: Is posible update all te Imdb info with this addon (genre, sipnosips, etc...)?

no, only ratings + top250 + mpaa