2014-12-11, 19:54
(2014-12-09, 16:46)mikesilvo164 Wrote: The Top250 numbers seem to be changed to 1 digit off so #1 is #2 and #2 is #3 and so on.
Yes, you're right. It's my fault. This weekend I'll fix this issue. Thanks.
(2014-12-09, 16:46)mikesilvo164 Wrote: The Top250 numbers seem to be changed to 1 digit off so #1 is #2 and #2 is #3 and so on.
(2014-12-12, 23:45)Simkin84 Wrote: Nice add-on!
However, i have just updated the ratings for my movies, which is over 1200. When i add new movies, how can i update only those movies, and not all 1200 all over again?
Thanks!
v1.3.9:
- Optimized pattern for better search in the IMDb Top250.
14:07:43 T:3836 NOTICE: special://profile/ is mapped to: special://masterprofile/
14:07:43 T:3836 NOTICE: -----------------------------------------------------------------------
14:07:43 T:3836 NOTICE: Starting Kodi (14.0 Git:20141223-ad747d9). Platform: Windows NT x86 32-bit
14:07:43 T:3836 NOTICE: Using Release Kodi x32 build
14:07:43 T:3836 NOTICE: Kodi compiled Dec 23 2014 by MSVC 180030723 for Windows NT x86 32-bit version 6.0 (0x06000000)
14:07:43 T:3836 NOTICE: Running on Gigabyte Technology Co., Ltd. Z68MA-D2H-B3 with Windows 7 SP1, kernel: Windows NT x86 32-bit version 6.1
14:07:43 T:3836 NOTICE: Host CPU: Intel(R) Core(TM) i3-2100T CPU @ 2.50GHz, 4 cores available
14:07:43 T:3836 NOTICE: Desktop Resolution: 1920x1080 32Bit at 60Hz
14:07:43 T:3836 NOTICE: Running with restricted rights
14:07:43 T:3836 NOTICE: Aero is enabled
14:07:43 T:3836 NOTICE: special://xbmc/ is mapped to: C:\Program Files\Kodi
14:07:43 T:3836 NOTICE: special://xbmcbin/ is mapped to: C:\Program Files\Kodi
14:07:43 T:3836 NOTICE: special://masterprofile/ is mapped to: C:\Users\Justin.MC-PC\AppData\Roaming\Kodi\userdata
14:07:43 T:3836 NOTICE: special://home/ is mapped to: C:\Users\Justin.MC-PC\AppData\Roaming\Kodi\
14:07:43 T:3836 NOTICE: special://temp/ is mapped to: C:\Users\Justin.MC-PC\AppData\Roaming\Kodi\cache
14:07:43 T:3836 NOTICE: The executable running is: C:\Program Files\Kodi\Kodi.exe
....................
14:36:26 T:2868 NOTICE: Thread LanguageInvoker start, auto delete: false
14:36:26 T:2868 NOTICE: -->Python Interpreter Initialized<--
14:36:26 T:2868 NOTICE: [Rating Update] - Starting Rating Update v1.3.9
14:36:26 T:1904 NOTICE: Thread LanguageInvoker start, auto delete: false
14:36:26 T:1904 NOTICE: -->Python Interpreter Initialized<--
14:36:26 T:1904 WARNING: CPythonInvoker(16): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
14:36:27 T:1904 NOTICE: [Rating Update] - Sending query to the IMDb site, please wait ...
14:36:27 T:1904 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.WindowsError'>
Error Contents: (6, 'The handle is invalid')
Traceback (most recent call last):
File "C:\Users\Justin.MC-PC\AppData\Roaming\Kodi\addons\script.ratingupdate\resources\lib\ruMainGui.py", line 53, in onClick
self.closeDialog(); Top250(); self.doModal();
File "C:\Users\Justin.MC-PC\AppData\Roaming\Kodi\addons\script.ratingupdate\resources\lib\ruMain.py", line 20, in __init__
self.Top250 = self.getTop250()
File "C:\Users\Justin.MC-PC\AppData\Roaming\Kodi\addons\script.ratingupdate\resources\lib\ruMain.py", line 50, in getTop250
jXmlData = getTop250()
File "C:\Users\Justin.MC-PC\AppData\Roaming\Kodi\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 "C:\Program Files\Kodi\system\python\Lib\subprocess.py", line 702, in __init__
errread, errwrite), to_close = self._get_handles(stdin, stdout, stderr)
File "C:\Program Files\Kodi\system\python\Lib\subprocess.py", line 833, in _get_handles
p2cread = self._make_inheritable(p2cread)
File "C:\Program Files\Kodi\system\python\Lib\subprocess.py", line 884, in _make_inheritable
_subprocess.DUPLICATE_SAME_ACCESS)
WindowsError: (6, 'The handle is invalid')
-->End of Python script error report<--
(2014-12-22, 23:52)echo Wrote: Hi m4x1m, thanks for a useful addon
One small request - please insert thousand separators into the vote count... it's nicer and easier to read "105,322 votes" instead of "105322 votes"..
All my movies have originally had the vote count thousand separator (I use Media Companion for the initial scrape), but they have disappeared with the update the addon has done.
Thanks
(2015-01-01, 16:42)justinhow Wrote: I am running Kodi 14.0.
I have previously successfully used Ratings Update, but now I get the below error on the Kodi Log. I include the Log header and after the....... the part pertaining to the Ratings Update Add On
I am using PHP 5.4.36.0.
I have reinstalled the 1.3.9 Add-On but still get this error.
Any things I can try to fix this?
10:13:00 T:2911007808 NOTICE: [Rating Update] - Sending query to the IMDb site, please wait ...
10:13:00 T:2911007808 NOTICE: [Rating Update] - The query to IMDb site is failed, sorry
10:40:01 T:2874143808 NOTICE: [Rating Update] - Movies ratings summary: 0 of XX were updated
10:40:01 T:2848977984 NOTICE: [Rating Update] - The query to IMDb site is failed, sorry
OpenELEC:~/.kodi/addons/script.ratingupdate # bin/php-cgi resources/lib/php/getTop250.php
bin/php-cgi: /usr/lib/libcurl.so.4: version `CURL_GNUTLS_4' not found (required by bin/php-cgi)
nano /storage/.kodi/addons/script.ratingupdate/resources/settings.xml
<setting label="32803" type="folder" id="BinaryPath" default="/usr/bin/" source="auto" />
<setting label="32803" type="folder" id="BinaryPath" default="/storage/.kodi/addons/tools.php/bin/" source="auto" />
23:22:59 T:2467701824 NOTICE: [Rating Update] - Dave Gorman In America Unchained: is set to skipping always
23:22:59 T:2517673024 DEBUG: webserver: request received for /jsonrpc
23:23:02 T:2467701824 DEBUG: Previous line repeats 2 times.
23:23:02 T:2467701824 DEBUG: [Rating Update] - PHP Command: /usr/bin/php-cgi -q /home/pi/.kodi/addons/script.ratingupdate/resources/lib/php/searchByTitle.php -d Title="Dave Gorman's Googlewhack Adventure"
23:23:02 T:2467701824 DEBUG: [Rating Update] - XML Response: <?xml version="1.0" encoding="UTF-8" ?>
<root>
<results>
</results>
</root>
23:23:03 T:3038814208 DEBUG: CAnnouncementManager - Announcement: OnScreensaverActivated from xbmc
23:23:03 T:3038814208 DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnScreensaverActivated
23:23:03 T:3038814208 DEBUG: ------ Window Init () ------
23:23:03 T:2476090432 DEBUG: webserver: request received for /jsonrpc
23:23:04 T:2484479040 DEBUG: Previous line repeats 1 times.
(2015-01-05, 18:59)wilmans2m Wrote: VC9 is OK but can we use VC11 ?
Thanks
(2015-01-08, 02:43)Yaff1e Wrote: Well I've tried again with Debugging on and the only relevant bit seems to be
That's the last entry related to Rating Update in the log. It then just sits on Searching and if I try and cancel it the screen changes to Cancelling and then I can't do anything else.
v1.4.0:
- Added "Video" filter when searching TV Show by title.
- Formatted number when gets number of voters.