[RELEASE] - Rating Update v1.4.3 - 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] - Rating Update v1.4.3 (/showthread.php?tid=107331) |
RE: [RELEASE] - Rating Update v1.3.2 - ezechiel1917 - 2013-12-19 I've just ran TOP250 update with new version and it used JSON queries, which are awfully slow compared to 1.3.0 version (few seconds for every movie). It took several minutes more to run than previously) Global movies update also uses JSON queries (at least for result response, which seems to be usually around 1 second slower compared to previous version response). That is a big difference if you update few hundreds/thousands movies) Can you please fix raw queries option to not use any JSON queries at all? I loved performance of 1.3.0 version. Currently it's really slow. EDIT: Just found out that 1 second difference for movies is because of an additional imdb url query (MPAA rating). So only Top250 issue remains. RE: [RELEASE] - Rating Update v1.3.2 - m4x1m - 2013-12-20 (2013-12-19, 22:19)ezechiel1917 Wrote: I've just ran TOP250 update with new version and it used JSON queries, which are awfully slow compared to 1.3.0 version (few seconds for every movie). It took several minutes more to run than previously) I know. The real problem with the JSON is that XBMC stores the data in the database slowly. I changed the script from the raw queries to JSON for respect the XBMC policy, but I kept the raw queries for the movies/tvshows update as option (modding options). For the TOP250 I tought that the update for the 250 movies is very rare, so wait some minutes isn't a problem (I hope). RE: [RELEASE] - Rating Update v1.3.2 - ezechiel1917 - 2013-12-20 I understand reasons behind the need to update to JSON queries. But unfortunately currently JSON is really uneffective way if you want to update many items. It's good design choice, that you preserved raw queries as an alternative. Howerver increased runtime of Top250 update with JSON is only one part of the problem. If you use VideoLibrary.Set*Details it also refresh currently displayed list in XBMC GUI for every movie which changed position in your Top250 list. This happens every few seconds and is quite annoying/distracting if you browse with XBMC until it lasts (That can be even 20 minutes for large collections). RE: [RELEASE] - Rating Update v1.3.2 - m4x1m - 2013-12-20 (2013-12-20, 12:50)ezechiel1917 Wrote: I understand reasons behind the need to update to JSON queries. But unfortunately currently JSON is really uneffective way if you want to update many items. It's good design choice, that you preserved raw queries as an alternative. Ok. I'll include Top250 when the script uses the raw queries exactly as the movies/tvshows. RE: [RELEASE] - Rating Update v1.3.2 - ezechiel1917 - 2013-12-20 (2013-12-20, 14:03)m4x1m Wrote:(2013-12-20, 12:50)ezechiel1917 Wrote: I understand reasons behind the need to update to JSON queries. But unfortunately currently JSON is really uneffective way if you want to update many items. It's good design choice, that you preserved raw queries as an alternative. Thanks! RE: [RELEASE] - Rating Update v1.3.2 - boppyman - 2013-12-21 Hi guys i have a couple of things going wrong. I ran the updater on my TV Shows and it updated them all but instead of UK (BBFC) which i chose for MPAA it changed my icons to German ratings and still the odd MPAA one as well. The other thing is when updating Movies the xbmc.log says "new MPAA is rated 15" ect but when looking through the movies they are all showing as "NR" "Not rated" Any ideas where im going wrong? Could it be my rating flags being named wrong? Thanks RE: [RELEASE] - Rating Update v1.3.2 - boppyman - 2013-12-21 I have just found out what it is i think Looking at my older NFO's the UK ratings are like; PHP Code: <mpaa>UK:PG</mpaa> and these display the correct logos. But after the update they are changed too; PHP Code: <mpaa>Rated PG</mpaa> and shows are different still... PHP Code: <mpaa>PG</mpaa> This is why my logos don't show up i think. Is there any way of getting your script to add the correct tags? The correct 6 are PHP Code: UK:U Thanks RE: [RELEASE] - Rating Update v1.3.2 - m4x1m - 2013-12-22 Download from SkyDrive script.ratingupdate-1.3.3.zip Download & Install my unofficial XBMC repository repository.m4x1m.zip Code: v1.3.3: RE: [RELEASE] - Rating Update v1.3.3 - boppyman - 2013-12-23 Thanks for the speedy fix Adding the prefix UK: to Movies and Shows works like a charm. For some reason though popular shows like Boardwalk Empire come up with Not Rated. Is that because IMDB has no rating for UK under certificates on their page? RE: [RELEASE] - Rating Update v1.3.3 - m4x1m - 2013-12-23 (2013-12-23, 20:14)boppyman Wrote: For some reason though popular shows like Boardwalk Empire come up with Not Rated. Is that because IMDB has no rating for UK under certificates on their page? Yes, and I can't switch between more country. RE: [RELEASE] - Rating Update v1.3.3 - boppyman - 2013-12-27 OK mate no problem. Thanks for the speedy fix and a great add-on RE: [RELEASE] - Rating Update v1.3.3 - boppyman - 2013-12-27 Got another little problem. On start-up i get a service.py error and the log mentions Rating Update PHP Code: 16:54:04 T:2112 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- RE: [RELEASE] - Rating Update v1.3.3 - m4x1m - 2013-12-28 (2013-12-27, 19:02)boppyman Wrote: Got another little problem. On start-up i get a service.py error and the log mentions Rating Update Sorry, but I can't reproduce this error. Could you move the slider for delay option to save another number, then save again 5? RE: [RELEASE] - Rating Update v1.3.3 - boppyman - 2013-12-29 I don't quite get what you mean? RE: [RELEASE] - Rating Update v1.3.3 - m4x1m - 2013-12-30 (2013-12-29, 21:36)boppyman Wrote: I don't quite get what you mean? That error is related to the delay time option in the addon settings. The right value should be 5 and not 5.000000 - this cause the error. Could you change the value in the addon settings to try if the xbmc save the right value? |