[RELEASE] - Rating Update v1.3.7

  Thread Rating:
  • 4 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
vidario Offline
Junior Member
Posts: 14
Joined: Feb 2013
Reputation: 0
Post: #436
Could anyone please explain me how the mpaa works? Is it possible that all my movies are not rated? Look at the screenshot:

[Image: mpaa.jpg]


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

Thank you Smile
find quote
m4x1m Offline
Fan
Posts: 311
Joined: Mar 2011
Reputation: 23
Location: Italy
Post: #437
(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.

LG M227WD - ASUS S1-AT5NM10E - LOGITECH HARMONY 300i - MINI KEYBOARD USB
Running Ubuntu Precise 12.04.04 - FRODO 12.03 - Transparency!
Movies: 996 - TV Show: 98 - Albums: 1161

My Script: Rating Update - Thumbnails Cleaner
find quote
ShadowTek Offline
Fan
Posts: 640
Joined: Nov 2012
Reputation: 19
Location: In a dark cave
Post: #438
Is this script still working for everyone? Want to see if it on my end or not?
find quote
Noexicaise Offline
Junior Member
Posts: 23
Joined: Nov 2012
Reputation: 0
Post: #439
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...
find quote
Jakg Offline
Junior Member
Posts: 3
Joined: Jun 2013
Reputation: 0
Post: #440
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)?
find quote
ezechiel1917 Offline
Aeon Group
Posts: 742
Joined: Jun 2005
Location: Czech Republic
Post: #441
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"

XBMCbuntu 13.0 | XBMC PRE-14.0 | VDR + VNSI @ Technotrend CT-3650 CI | Transparency! skin | trakt.tv
(This post was last modified: 2014-09-12 21:04 by ezechiel1917.)
find quote
m4x1m Offline
Fan
Posts: 311
Joined: Mar 2011
Reputation: 23
Location: Italy
Post: #442
Sorry, I don't work on the night builds of XMBC

LG M227WD - ASUS S1-AT5NM10E - LOGITECH HARMONY 300i - MINI KEYBOARD USB
Running Ubuntu Precise 12.04.04 - FRODO 12.03 - Transparency!
Movies: 996 - TV Show: 98 - Albums: 1161

My Script: Rating Update - Thumbnails Cleaner
find quote
matthuisman Offline
Skilled Python Coder
Posts: 601
Joined: Sep 2006
Reputation: 5
Location: Chch, New Zealand
Post: #443
What do you use the PHP for?
Seems a bit odd to me when it could all be written in Python quite easily?
find quote
m4x1m Offline
Fan
Posts: 311
Joined: Mar 2011
Reputation: 23
Location: Italy
Post: #444
(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

LG M227WD - ASUS S1-AT5NM10E - LOGITECH HARMONY 300i - MINI KEYBOARD USB
Running Ubuntu Precise 12.04.04 - FRODO 12.03 - Transparency!
Movies: 996 - TV Show: 98 - Albums: 1161

My Script: Rating Update - Thumbnails Cleaner
find quote
afly Offline
Junior Member
Posts: 16
Joined: Feb 2012
Reputation: 0
Post: #445
http://imdbpy.sourceforge.net/

Smile
find quote
m4x1m Offline
Fan
Posts: 311
Joined: Mar 2011
Reputation: 23
Location: Italy
Post: #446
(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!

LG M227WD - ASUS S1-AT5NM10E - LOGITECH HARMONY 300i - MINI KEYBOARD USB
Running Ubuntu Precise 12.04.04 - FRODO 12.03 - Transparency!
Movies: 996 - TV Show: 98 - Albums: 1161

My Script: Rating Update - Thumbnails Cleaner
find quote
ezechiel1917 Offline
Aeon Group
Posts: 742
Joined: Jun 2005
Location: Czech Republic
Post: #447
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::string const&, std::vector<std::string, std::allocator<std::string> > 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!

XBMCbuntu 13.0 | XBMC PRE-14.0 | VDR + VNSI @ Technotrend CT-3650 CI | Transparency! skin | trakt.tv
find quote
m4x1m Offline
Fan
Posts: 311
Joined: Mar 2011
Reputation: 23
Location: Italy
Post: #448
(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::string const&, std::vector<std::string, std::allocator<std::string> > 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

LG M227WD - ASUS S1-AT5NM10E - LOGITECH HARMONY 300i - MINI KEYBOARD USB
Running Ubuntu Precise 12.04.04 - FRODO 12.03 - Transparency!
Movies: 996 - TV Show: 98 - Albums: 1161

My Script: Rating Update - Thumbnails Cleaner
find quote
ezechiel1917 Offline
Aeon Group
Posts: 742
Joined: Jun 2005
Location: Czech Republic
Post: #449
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.

XBMCbuntu 13.0 | XBMC PRE-14.0 | VDR + VNSI @ Technotrend CT-3650 CI | Transparency! skin | trakt.tv
find quote
jafichan Offline
Junior Member
Posts: 29
Joined: Sep 2014
Reputation: 0
Post: #450
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
find quote
Post Reply