Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 18
  • 19
  • 20(current)
  • 21
  • 22
  • 29
[Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Jarvis*
When it gives an Website with api where we can get australia Ratings i can add it.
Reply
Can you use the same way universal movie scraper does it to get the Australian classification? Or all of them in that fact.
Aussie, Aussie, Aussie, Oi, Oi, Oi

Don't forget the Thank User button if i have helped!
|
V
Reply
(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
Reply
Could you use The Movie Database api for all other countries mpaa rating? Looks like it gives it out.
Aussie, Aussie, Aussie, Oi, Oi, Oi

Don't forget the Thank User button if i have helped!
|
V
Reply
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
Reply
I can't code for the life of me but I can hack together code not to bad.
Aussie, Aussie, Aussie, Oi, Oi, Oi

Don't forget the Thank User button if i have helped!
|
V
Reply
I will integrate it. But atm i have no time. Altersfreigaben.de is already in use for De rating.
Reply
(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.
Reply
(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.
Reply
- changed the MPAA Update completely to altersfreigaben.de
- Added all available Countries us/de/au/nl

Pushing it to Repo in an hour.
Reply
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)
Aussie, Aussie, Aussie, Oi, Oi, Oi

Don't forget the Thank User button if i have helped!
|
V
Reply
(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
Reply
(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
Reply
Is posible update all te Imdb info with this addon (genre, sipnosips, etc...)?
Reply
(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
Reply
  • 1
  • 18
  • 19
  • 20(current)
  • 21
  • 22
  • 29

Logout Mark Read Team Forum Stats Members Help
[Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Jarvis*6