[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: 309
Joined: Mar 2011
Reputation: 22
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: 628
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: 733
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: 309
Joined: Mar 2011
Reputation: 22
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: 600
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: 309
Joined: Mar 2011
Reputation: 22
Location: Italy
Post: #444
(Yesterday 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
Post Reply