Kodi Community Forum
[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)

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 30 31 32 33 34 35 36 37 38 39 40


RE: [RELEASE] - Rating Update v1.3.7 - vidario - 2014-06-24

Could anyone please explain me how the mpaa works? Is it possible that all my movies are not rated? Look at the screenshot:

Image


Which prefix have I to insert in the addon configuration? I'm using aeon nox

Thank you Smile


RE: [RELEASE] - Rating Update v1.3.7 - m4x1m - 2014-06-25

(2014-06-24, 13:45)vidario Wrote: Could anyone please explain me how the mpaa works? Is it possible that all my movies are not rated? Look at the screenshot:
Which prefix have I to insert in the addon configuration? I'm using aeon nox

Thank you Smile

Try to remove the default prefix (I use Transparency as a skin that works with "Rated " as a prefix) and be sure that aeon nox reads the MPAA Reason.


RE: [RELEASE] - Rating Update v1.3.7 - ShadowTek - 2014-08-14

Is this script still working for everyone? Want to see if it on my end or not?


RE: [RELEASE] - Rating Update v1.3.7 - Noexicaise - 2014-08-31

Hi,

Seem great addon but don't work for me:

Here is the debug log file:

Quote:DEBUG: ------ Window Deinit (/storage/.xbmc/addons/script.ratingupdate/resources/skins/Default/720p/script_rating_update-main.xml) ------
23:55:51 T:139659350882048 NOTICE: [Rating Update] - Sending query to the IMDb site, please wait ...
23:55:52 T:139661675755328 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
23:55:52 T:139659350882048 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.OSError'>
Error Contents: [Errno 8] Exec format error
Traceback (most recent call last):
File "/storage/.xbmc/addons/script.ratingupdate/resources/lib/ruMainGui.py", line 53, in onClick
self.closeDialog(); Top250(); self.doModal();
File "/storage/.xbmc/addons/script.ratingupdate/resources/lib/ruMain.py", line 20, in __init__
self.Top250 = self.getTop250()
File "/storage/.xbmc/addons/script.ratingupdate/resources/lib/ruMain.py", line 50, in getTop250
jXmlData = getTop250()
File "/storage/.xbmc/addons/script.ratingupdate/resources/lib/ruCommon.py", line 83, in getTop250
jXmlData = Popen([r"" + binaryPath + "","-q",r"" + top250Path + ""], startupinfo=startupinfo, stdout=PIPE).communicate()[0]
File "/home/stephan/projects/openelec-4.0/build.OpenELEC-Generic.x86_64-4.0.7/Python-2.7.3/.install_pkg/usr/lib/python2.7/subprocess.py", line 679, in __init__
File "/home/stephan/projects/openelec-4.0/build.OpenELEC-Generic.x86_64-4.0.7/Python-2.7.3/.install_pkg/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
OSError: [Errno 8] Exec format error
-->End of Python script error report<--
23:55:52 T:139659350882048 INFO: CPythonInvoker(33, /storage/.xbmc/addons/script.ratingupdate/resources/lib/ruMain.py): script successfully run
23:55:52 T:139659350882048 INFO: Python script stopped
23:55:52 T:139659350882048 DEBUG: Thread LanguageInvoker 139659350882048 terminating
23:55:55 T:139661675755328 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
23:56:22 T:139661675755328 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib-x86_64-linux.so)
23:56:22 T:139661675755328 DEBUG: Unloading: ImageLib-x86_64-linux.so

Thanks advance for help...


RE: [RELEASE] - Rating Update v1.3.7 - Jakg - 2014-09-06

I've installed this addon (great idea btw), but having run it only around 20% of my library was updated. Ran it again and some of those movies marked "There was a problem with the IMDb site!" got processed, running it again did more and more. Any ideas?

Is is possible to make it scan more frequently (say every day)?


RE: [RELEASE] - Rating Update v1.3.7 - ezechiel1917 - 2014-09-12

Can't get it working with nightlies.

Quote:There's a problem with your database settings.
Please check if the database settings are correct.

current db version is 89 but changing Type the Name of the database to MyVideos89 didn't help.
Nothing in debug log, just: script successfully run

EDIT:
after few tries (disabling / reenabling raw queries), xbmc now segfaults when running this addon. last line from debug log:
Quote:CPythonInvoker(13, /home/xbmc/.xbmc/addons/script.ratingupdate/resources/lib/ruMain.py): the source file to load is "/home/xbmc/.xbmc/addons/script.ratingupdate/resources/lib/ruMain.py"



RE: [RELEASE] - Rating Update v1.3.7 - m4x1m - 2014-09-14

Sorry, I don't work on the night builds of XMBC


RE: [RELEASE] - Rating Update v1.3.7 - matthuisman - 2014-09-16

What do you use the PHP for?
Seems a bit odd to me when it could all be written in Python quite easily?


RE: [RELEASE] - Rating Update v1.3.7 - m4x1m - 2014-09-16

(2014-09-16, 03:37)matthuisman Wrote: What do you use the PHP for?
Seems a bit odd to me when it could all be written in Python quite easily?

Code:
[b]How it works[/b]
Use the IMDbPHP Class locally to retrieve only the actual ratings and top250 without additional data.

There are no API sites to get unlimited data in real time, and I'm not going to fix the script every time that IMDb changes the html code. Big Grin


RE: [RELEASE] - Rating Update v1.3.7 - afly - 2014-09-16

http://imdbpy.sourceforge.net/

Smile


RE: [RELEASE] - Rating Update v1.3.7 - m4x1m - 2014-09-19

(2014-09-12, 20:42)ezechiel1917 Wrote: Can't get it working with nightlies.

Quote:There's a problem with your database settings.
Please check if the database settings are correct.

current db version is 89 but changing Type the Name of the database to MyVideos89 didn't help.
Nothing in debug log, just: script successfully run

EDIT:
after few tries (disabling / reenabling raw queries), xbmc now segfaults when running this addon. last line from debug log:
Quote:CPythonInvoker(13, /home/xbmc/.xbmc/addons/script.ratingupdate/resources/lib/ruMain.py): the source file to load is "/home/xbmc/.xbmc/addons/script.ratingupdate/resources/lib/ruMain.py"

Rapid fix: Edit ruCommon.py
Line 142
from: dbPath = xbmc.translatePath( "special://Database" )
to: dbPath = xbmc.translatePath( "special://database" )

this fix the issue!

(2014-09-16, 16:09)afly Wrote: http://imdbpy.sourceforge.net/

Smile

I tried this package but I don't remember why I had discarded. I'll do more tests, thanks!


RE: [RELEASE] - Rating Update v1.3.7 - ezechiel1917 - 2014-09-19

thx but unfortunately your fix didn't help, I can't replicate "There's a problem with your database settings." anymore, tried v1.3.7 clean install + delete addon data but all I get now is segfault when running this script:
Quote:Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000000000d41d92 in CPythonInvoker::execute(std:Confusedtring const&, std::vector<std:Confusedtring, std::allocator<std:Confusedtring> > const&) ()

Last lines from xbmc.log
Quote:18:42:03 T:139957555021760 DEBUG: OnKey: 11 (0x0b) pressed, action is Select
18:42:03 T:139956559255296 NOTICE: Thread LanguageInvoker start, auto delete: false
18:42:03 T:139956559255296 INFO: initializing python engine.
18:42:03 T:139956559255296 DEBUG: CPythonInvoker(12, /home/xbmc/.xbmc/addons/script.ratingupdate/default.py): start processing
18:42:03 T:139956559255296 NOTICE: -->Python Interpreter Initialized<--
18:42:03 T:139956559255296 DEBUG: CPythonInvoker(12, /home/xbmc/.xbmc/addons/script.ratingupdate/default.py): the source file to load is "/home/xbmc/.xbmc/addons/script.ratingupdate/default.py"
18:42:03 T:139956559255296 DEBUG: CPythonInvoker(12, /home/xbmc/.xbmc/addons/script.ratingupdate/default.py): setting the Python path to /home/xbmc/.xbmc/addons/script.ratingupdate:/home/xbmc/.xbmc/addons/script.module.myconnpy/lib:/home/xbmc/.xbmc/addons/script.module.simplejson/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat
18:42:03 T:139956559255296 DEBUG: CPythonInvoker(12, /home/xbmc/.xbmc/addons/script.ratingupdate/default.py): entering source directory /home/xbmc/.xbmc/addons/script.ratingupdate
18:42:03 T:139956559255296 DEBUG: CPythonInvoker(12, /home/xbmc/.xbmc/addons/script.ratingupdate/default.py): instantiating addon using automatically obtained id of "script.ratingupdate" dependent on version 2.1.0 of the xbmc.python api
18:42:03 T:139956559255296 NOTICE: [Rating Update] - Starting Rating Update v1.3.7
18:42:03 T:139956559255296 INFO: CPythonInvoker(12, /home/xbmc/.xbmc/addons/script.ratingupdate/default.py): script successfully run
18:42:03 T:139956567648000 NOTICE: Thread LanguageInvoker start, auto delete: false
18:42:03 T:139956567648000 INFO: initializing python engine.
18:42:03 T:139956567648000 DEBUG: CPythonInvoker(13, /home/xbmc/.xbmc/addons/script.ratingupdate/resources/lib/ruMain.py): start processing
18:42:03 T:139956559255296 INFO: Python script stopped
18:42:03 T:139956559255296 DEBUG: Thread LanguageInvoker 139956559255296 terminating
18:42:03 T:139956567648000 NOTICE: -->Python Interpreter Initialized<--
18:42:03 T:139956567648000 DEBUG: CPythonInvoker(13, /home/xbmc/.xbmc/addons/script.ratingupdate/resources/lib/ruMain.py): the source file to load is "/home/xbmc/.xbmc/addons/script.ratingupdate/resources/lib/ruMain.py"


(2014-09-19, 10:59)m4x1m Wrote:
(2014-09-12, 20:42)ezechiel1917 Wrote: Can't get it working with nightlies.

Quote:There's a problem with your database settings.
Please check if the database settings are correct.

current db version is 89 but changing Type the Name of the database to MyVideos89 didn't help.
Nothing in debug log, just: script successfully run

EDIT:
after few tries (disabling / reenabling raw queries), xbmc now segfaults when running this addon. last line from debug log:
Quote:CPythonInvoker(13, /home/xbmc/.xbmc/addons/script.ratingupdate/resources/lib/ruMain.py): the source file to load is "/home/xbmc/.xbmc/addons/script.ratingupdate/resources/lib/ruMain.py"

Rapid fix: Edit ruCommon.py
Line 142
from: dbPath = xbmc.translatePath( "special://Database" )
to: dbPath = xbmc.translatePath( "special://database" )

this fix the issue!



RE: [RELEASE] - Rating Update v1.3.7 - m4x1m - 2014-09-19

(2014-09-19, 18:48)ezechiel1917 Wrote: thx but unfortunately your fix didn't help, I can't replicate "There's a problem with your database settings." anymore, tried v1.3.7 clean install + delete addon data but all I get now is segfault when running this script:
Quote:Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000000000d41d92 in CPythonInvoker::execute(std:Confusedtring const&, std::vector<std:Confusedtring, std::allocator<std:Confusedtring> > const&) ()

Last lines from xbmc.log
Quote:18:42:03 T:139957555021760 DEBUG: OnKey: 11 (0x0b) pressed, action is Select
18:42:03 T:139956559255296 NOTICE: Thread LanguageInvoker start, auto delete: false
18:42:03 T:139956559255296 INFO: initializing python engine.
18:42:03 T:139956559255296 DEBUG: CPythonInvoker(12, /home/xbmc/.xbmc/addons/script.ratingupdate/default.py): start processing
18:42:03 T:139956559255296 NOTICE: -->Python Interpreter Initialized<--
18:42:03 T:139956559255296 DEBUG: CPythonInvoker(12, /home/xbmc/.xbmc/addons/script.ratingupdate/default.py): the source file to load is "/home/xbmc/.xbmc/addons/script.ratingupdate/default.py"
18:42:03 T:139956559255296 DEBUG: CPythonInvoker(12, /home/xbmc/.xbmc/addons/script.ratingupdate/default.py): setting the Python path to /home/xbmc/.xbmc/addons/script.ratingupdate:/home/xbmc/.xbmc/addons/script.module.myconnpy/lib:/home/xbmc/.xbmc/addons/script.module.simplejson/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat
18:42:03 T:139956559255296 DEBUG: CPythonInvoker(12, /home/xbmc/.xbmc/addons/script.ratingupdate/default.py): entering source directory /home/xbmc/.xbmc/addons/script.ratingupdate
18:42:03 T:139956559255296 DEBUG: CPythonInvoker(12, /home/xbmc/.xbmc/addons/script.ratingupdate/default.py): instantiating addon using automatically obtained id of "script.ratingupdate" dependent on version 2.1.0 of the xbmc.python api
18:42:03 T:139956559255296 NOTICE: [Rating Update] - Starting Rating Update v1.3.7
18:42:03 T:139956559255296 INFO: CPythonInvoker(12, /home/xbmc/.xbmc/addons/script.ratingupdate/default.py): script successfully run
18:42:03 T:139956567648000 NOTICE: Thread LanguageInvoker start, auto delete: false
18:42:03 T:139956567648000 INFO: initializing python engine.
18:42:03 T:139956567648000 DEBUG: CPythonInvoker(13, /home/xbmc/.xbmc/addons/script.ratingupdate/resources/lib/ruMain.py): start processing
18:42:03 T:139956559255296 INFO: Python script stopped
18:42:03 T:139956559255296 DEBUG: Thread LanguageInvoker 139956559255296 terminating
18:42:03 T:139956567648000 NOTICE: -->Python Interpreter Initialized<--
18:42:03 T:139956567648000 DEBUG: CPythonInvoker(13, /home/xbmc/.xbmc/addons/script.ratingupdate/resources/lib/ruMain.py): the source file to load is "/home/xbmc/.xbmc/addons/script.ratingupdate/resources/lib/ruMain.py"


(2014-09-19, 10:59)m4x1m Wrote:
(2014-09-12, 20:42)ezechiel1917 Wrote: Can't get it working with nightlies.


current db version is 89 but changing Type the Name of the database to MyVideos89 didn't help.
Nothing in debug log, just: script successfully run

EDIT:
after few tries (disabling / reenabling raw queries), xbmc now segfaults when running this addon. last line from debug log:

Rapid fix: Edit ruCommon.py
Line 142
from: dbPath = xbmc.translatePath( "special://Database" )
to: dbPath = xbmc.translatePath( "special://database" )

this fix the issue!

I tried with last alpha3 for windows and works without problems, perhaps a temporary bug in this night builds!Huh


RE: [RELEASE] - Rating Update v1.3.7 - ezechiel1917 - 2014-09-19

You're right, tried build from the end of the august (pre-alpha3) and it runs fine!
Thanks for trying to help me even though you don't support nightly version, hopefully it will be fixed in some future nightly build.


RE: [RELEASE] - Rating Update v1.3.7 - jafichan - 2014-09-20

Just discovered this add-on, and it looks great! Unfortunately, it tells me 0 of x were updated... I export my database to check some nfo and i do have the imdb id (e.g <id>tt1190080</id>), but the add-on doesn't work for me..

And when i click on TOP 250, it tells me The query to IMDB site is failed..

I'm on mac, and i installed PHP, so it runs but it doesn't work...

Did i miss something?

Thanks!

PS : sorry for my english guys Wink