2012-01-02, 14:26
Awesome! Can't wait.
Ben91 Wrote:Any chance to get this feature in XBMC : http://forum.xbmc.org/showthread.php?tid=117414
Please...
I would love personnal ratings showed in XBMC.
It should be simple to do with your script ?
Anyway, thank you for the consideration.
Cheers.
m4x1m Wrote:My idea is this ...
With this script you can scrape a single movie (Transparency does this in Info Movie -> Extra)
now I can add an option in addon settings that skip the scrape and let you to enter your personal vote (with this you loose the imdb rating) but you can do it one at a time. The number of users who have voted will be set to zero and if you scrape all movies the movie with zero users will be skipped to prevent unwanted updates.
So you think it might be sufficient?
1. Yes - I make the change!
2. No - I can't do anything!
Ben91 Wrote:Thank you very much for your consideration.
Infact the most important would be to display the user rating.
Manually rating via IMDb is quite appropriate and gives us a backup "in the cloud".
So it would scraps and shows the personal ratings from IMDb.
It would be something like this:
# User set in the plugin settings their IMDb account settings.
and when the plugin scraps :
# If a personnal rating for the current movie / TV show on IMDb is set,
# then scraps and add it / shows it in addition to the IMDb rating and top250.
Is it possible ?
That would be awesome !!!
Thanks.
++
v 1.1.7:
- Fixed issue related MacOS (I hope, I don't have a MAC to test).
- Added more debug info (visible when debugging is enabled in xbmc: Settings -> System -> Debugging -> Enable debug logging).
23:45:05 T:2961309696 DEBUG: [Rating Update] - Exec: /opt/local/bin/php-cgi -q /Users/XXX/Library/Application Support/XBMC/addons/script.ratingupdate/resources/ratings.php -d mid=tt0050083
23:45:05 T:2961309696 DEBUG: [Rating Update] - Data: No input file specified.
23:45:05 T:2961309696 NOTICE: [Rating Update] - 12 Angry Men: there was a problem with the IMDb site!
23:45:23 T:2961309696 INFO: -->Python script returned the following error<--
23:45:23 T:2961309696 ERROR: Error Type: <type 'exceptions.IndexError'>
23:45:23 T:2961309696 ERROR: Error Contents: list index out of range
23:45:23 T:2961309696 ERROR: Traceback (most recent call last):
File "/Users/XXX/Library/Application Support/XBMC/addons/script.ratingupdate/resources/rating_scraper.py", line 541, in <module>
if __tvshows__ == "true": TVShows()
File "/Users/XXX/Library/Application Support/XBMC/addons/script.ratingupdate/resources/rating_scraper.py", line 367, in __init__
complete = self.scan()
File "/Users/XXX/Library/Application Support/XBMC/addons/script.ratingupdate/resources/rating_scraper.py", line 528, in scan
else: self.updating()
File "/Users/XXX/Library/Application Support/XBMC/addons/script.ratingupdate/resources/rating_scraper.py", line 438, in updating
else: id = imdbid[0]
IndexError: list index out of range
23:45:23 T:2961309696 INFO: -->End of Python script error report<--
php-cgi -q /Users/XXX/Library/Application Support/XBMC/addons/script.ratingupdate/resources/ratings.php -d mid=tt0033337
No input file specified.
theowiesengrund Wrote:Not working for me on a MAC.
Well the Script runs, but updates nothing.
Something wrong with the binary? I have no idea.
v 1.1.8:
- Added missing quotes to the executable path (To fix issue in MACOS).
import simplejson as json
# Returns empty file -> no results (wrong):
get_open = os.popen( binary_path + ' -q "' + __resource__ + '/top250.php"', "r" )
# Returns content that was requested (right):
get_open = os.popen( binary_path + ' -q ' + __resource__ + '/top250.php', "r" )
krish_2k4 Wrote:this seems to have stopped updating in Eden Beta2
im using script.ratingupdate-1.1.8 version.
heres the xbmc.log don't know which part you need so copy/pasted it all!
http://pastebin.com/zmeubEJE
m4x1m Wrote:Enable in xbmc: Settings -> System -> Debugging -> Enable debug logging restart the script (few movies is enough) and repost debug log.
I've tried with latest nightly build and the script work perfectly!