• 1
  • 7
  • 8
  • 9(current)
  • 10
  • 11
  • 29
[Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Jarvis*
Hi,

Is this Helix ready? I have Skin MOD - AEON SHEDNOX HELIX (Aeon Nox 4.1.9.9 based) and its not working.
If not will there be an update for *Helix*?

Thanks
Reply
It works now on Helix. For me it did not work properly on Gotham, meaning: Not all the movies were being updated, the program was randomly stopping in X or Y movie (i have a big collection spread out several HDDs and counting). I hear there has been (and i confirm it) an update on the way KODI handles paths for TV Shows on several disks (which made, among other bugs, tv show/episode count be double than what it was in reality).
Maybe these things are correlated? Who knows. Im just glad this program now works as I hoped, which is GREAT!!

PS: Maybe add a feature to do the same for tv shows? Would this be possible?


EDIT: If this helps, my skin is as follows:

http://forum.kodi.tv/showthread.php?tid=208801


Cheers and keep this addon alive!
Reply
Not work on helix, "dependencies not met"

Debug log:
23:22:19 T:3472 DEBUG: Addon script.imdbupdate requires xbmc.gui version 5.0.1 which is not available

Fix:
Edit addon.xml line
<import addon="xbmc.gui" version="5.3.0" />
and set version to your installed version (for Kodi final 5.3.0)
Reply
Sad 
Since quiet some time I get an error when the Script tries to run.

Code:
14:45:26 T:140543158941440   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnicodeDecodeError'>
                                            Error Contents: 'utf8' codec can't decode byte 0x94 in position 6: invalid start byte
                                            Traceback (most recent call last):
                                              File "/var/lib/vdr/.xbmc/addons/script.imdbupdate/default.py", line 39, in <module>
                                                Top250().start(hidden)
                                              File "/var/lib/vdr/.xbmc/addons/script.imdbupdate/resources/lib/top250.py", line 26, in start
                                                movies = getMoviesWith('imdbnumber', 'top250')
                                              File "/var/lib/vdr/.xbmc/addons/script.imdbupdate/resources/lib/util.py", line 149, in getMoviesWith
                                                movies = executeJSON('VideoLibrary.GetMovies', params)
                                              File "/var/lib/vdr/.xbmc/addons/script.imdbupdate/resources/lib/util.py", line 154, in executeJSON
                                                result = json.loads(xbmc.executeJSONRPC(data))
                                              File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
                                                return _default_decoder.decode(s)
                                              File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
                                                obj, end = self.raw_decode(s, idx=_w(s, 0).end())
                                              File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
                                                obj, end = self.scan_once(s, idx)
                                            UnicodeDecodeError: 'utf8' codec can't decode byte 0x94 in position 6: invalid start byte
                                            -->End of Python script error report<--
14:45:29 T:140543158941440  NOTICE: Thread LanguageInvoker start, auto delete: false
14:45:29 T:140543158941440  NOTICE: -->Python Interpreter Initialized<--
14:45:29 T:140543158941440  NOTICE: [IMDB Update] - Starting IMDB Update v0.5.2
14:45:29 T:140543158941440   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Contents: 'utf8' codec can't decode byte 0x94 in position 6: invalid start byte
                                            Error Type: <type 'exceptions.UnicodeDecodeError'>
                                            Traceback (most recent call last):
                                              File "/var/lib/vdr/.xbmc/addons/script.imdbupdate/default.py", line 41, in <module>
                                                Movies().start(hidden)
                                              File "/var/lib/vdr/.xbmc/addons/script.imdbupdate/resources/lib/movies.py", line 20, in start
                                                movies = getMoviesWith('imdbnumber', 'votes', 'rating')
                                              File "/var/lib/vdr/.xbmc/addons/script.imdbupdate/resources/lib/util.py", line 149, in getMoviesWith
                                                movies = executeJSON('VideoLibrary.GetMovies', params)
                                              File "/var/lib/vdr/.xbmc/addons/script.imdbupdate/resources/lib/util.py", line 154, in executeJSON
                                                result = json.loads(xbmc.executeJSONRPC(data))
                                              File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
                                                return _default_decoder.decode(s)
                                              File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
                                                obj, end = self.raw_decode(s, idx=_w(s, 0).end())
                                              File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
                                                obj, end = self.scan_once(s, idx)
                                            UnicodeDecodeError: 'utf8' codec can't decode byte 0x94 in position 6: invalid start byte
                                            -->End of Python script error report<--

This is really annoing, because the error-popup shows every hour on the screen.

Any idea where the problem is and how to fix this?

XBMC: 13.2
Ubuntu 12.04.5 LTS
Linux htpc 3.2.0-74-generic
Reply
Information 
I figured out my problem.

The error log read "'utf8' codec can't decode byte 0x94 in position 6".
So I looked in my MyVideos78.db (with DB Browser SQlite) for "strange" characters at the prosition "6" in the title.
Using this SQL-Statement.
Code:
SELECT substr(c00,5,3) as titel_substr_de, substr(c16,5,3) as titel_substr_en, c00 as titel_de, c16 as titel_en, strPath
FROM movieview

I found three movies (all in one movie set) with some "questionmark characters).
I remembered I created specific NFO-files for these movies.
The might have been a copy'n'paste issue when I created them.
The XML-data said "utf-8", but it was not saved as utf-8.
A german umlaut got messed up.

I fixed the nfo file, removed an rescand the movies to the library.

Now it works! Cool
Reply
...
Reply
WIll there ever be a Helix update? Or is this addon abandoned?
Reply
(2015-02-12, 14:45)pettson3816 Wrote: WIll there ever be a Helix update? Or is this addon abandoned?

just tested it and it's working, updating the versions in the addon.xml like HeresJohnny described.
Since I'm sick and bored, you can grab the zip from here : https://github.com/mason-xx/IMDB-Update
Reply
(2015-02-12, 15:32)mason Wrote:
(2015-02-12, 14:45)pettson3816 Wrote: WIll there ever be a Helix update? Or is this addon abandoned?

just tested it and it's working, updating the versions in the addon.xml like HeresJohnny described.
Since I'm sick and bored, you can grab the zip from here : https://github.com/mason-xx/IMDB-Update

Thanks a lot!
Reply
(2015-01-12, 19:02)FonziQ Wrote: Hi,

Is this Helix ready? I have Skin MOD - AEON SHEDNOX HELIX (Aeon Nox 4.1.9.9 based) and its not working.
If not will there be an update for *Helix*?

Thanks
(2015-02-12, 14:45)pettson3816 Wrote: WIll there ever be a Helix update? Or is this addon abandoned?
sorry for this laziness, I had some private trouble, but here is the Helix version:
Download: (Helix ready)
script.imdbupdate-0.5.3.zip

(2015-01-13, 06:22)djhifi Wrote: PS: Maybe add a feature to do the same for tv shows? Would this be possible?
I think it would be possible, but I need to have some time, will write it on the todo list.

(2015-01-16, 00:18)HeresJohnny Wrote: Fix:
Edit addon.xml line
<import addon="xbmc.gui" version="5.3.0" />
and set version to your installed version (for Kodi final 5.3.0)
(2015-02-12, 15:32)mason Wrote: just tested it and it's working, updating the versions in the addon.xml like HeresJohnny described.
Since I'm sick and bored, you can grab the zip from here : https://github.com/mason-xx/IMDB-Update
thanks for helping out Smile
Reply
This is a great script. Thanks.

Now my query, when I add a movie from Genesis to my library, the script doesn't update the scores automatically. I have to manually launch the update from the script.

Is this a bug or expected behavior?
Reply
Expected, obviously, since the scraper retrieves the rating when added.
Reply
(2015-02-27, 00:21)HeresJohnny Wrote: Expected, obviously, since the scraper retrieves the rating when added.

That's exactly what is not happening in my case. The ratings are not updated when I add movies from Genesis to my library.
Reply
(2015-02-26, 20:56)ronakg Wrote: This is a great script. Thanks.

Now my query, when I add a movie from Genesis to my library, the script doesn't update the scores automatically. I have to manually launch the update from the script.

Is this a bug or expected behavior?

the script will only update once a week, if you enable it in the settings of the script. is this setting enabled?
Reply
(2015-02-27, 18:02)Jandalf Wrote:
(2015-02-26, 20:56)ronakg Wrote: This is a great script. Thanks.

Now my query, when I add a movie from Genesis to my library, the script doesn't update the scores automatically. I have to manually launch the update from the script.

Is this a bug or expected behavior?

the script will only update once a week, if you enable it in the settings of the script. is this setting enabled?

Yes, that setting is enabled.
Reply
  • 1
  • 7
  • 8
  • 9(current)
  • 10
  • 11
  • 29

Logout Mark Read Team Forum Stats Members Help
[Release] IMDb Update (Movie Ratings + Top250 + MPAA) *Jarvis*6
This forum uses Lukasz Tkacz MyBB addons.