[RELEASE] - Rating Update v1.4.3 - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151) +---- Thread: [RELEASE] - Rating Update v1.4.3 (/showthread.php?tid=107331) |
- theowiesengrund - 2012-01-02 Awesome! Can't wait. - m4x1m - 2012-01-02 Ben91 Wrote:Any chance to get this feature in XBMC : http://forum.xbmc.org/showthread.php?tid=117414 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 - 2012-01-04 m4x1m Wrote:My idea is this ... 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. ++ - m4x1m - 2012-01-04 Ben91 Wrote:Thank you very much for your consideration. Unfortunately this is not possible! This script uses imdbphpapi class that does nothing to retrieve specific data from imdb website (it's a workaround because imdb doesn't allow scraping) so even after you have login in imdb the script would not know where to take the personal ratings, it will continue to extrapolate the overall data! - Ben91 - 2012-01-10 Too bad... Thank you very much for your previous proposition. I'm trying to look for the best solution for the moment and a great one would be the patch which has be made few months ago to add support for rating videos in XBMC. I pulled the patch : https://github.com/xbmc/xbmc/pull/607 I cross my fingers. And I'll see later for how to backup ratings / sync in the cloud (trakt.tv or I don't know what else...) Thank you again. Cheers. - Scidd0w - 2012-01-10 m4x1m; Thank you very much for this script/addon! I was looking for this for months and tried different solutions but none worked very well. This one worked flawlessly and does exactly what I want. Again thank you very much for the effort you made! - m4x1m - 2012-01-12 New Version: script.ratingupdate-1.1.7.zip Code: v 1.1.7: - theowiesengrund - 2012-01-13 Not working for me on a MAC. Well the Script runs, but updates nothing. Getting always the same error for every movie: Code: 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 But after the TV Shows question the Script fails with this error: Code: 23:45:23 T:2961309696 INFO: -->Python script returned the following error<-- I tried the commands on the terminal, don't work either: Code: php-cgi -q /Users/XXX/Library/Application Support/XBMC/addons/script.ratingupdate/resources/ratings.php -d mid=tt0033337 Something wrong with the binary? I have no idea. - m4x1m - 2012-01-13 theowiesengrund Wrote:Not working for me on a MAC. No it's my fault! New Version: script.ratingupdate-1.1.8.zip Code: v 1.1.8: - theowiesengrund - 2012-01-13 I can confirm that MAC OS version is also working! Thank you so much! Great work! got it working on dharma - MCipher - 2012-01-13 Hi there, just wanted to mention, that I got the script (1.1.8) working on Dharma 10.1. I had to edit two files with two changes each: - Replaced import of "json" by "simplejson" as I had no json module available (it is not included in python 2.4 that is used by Dharma). simplejson was already in my addons folder (scripts.module.simplejson). Code: import simplejson as json - In every os.popen command, the php filepath was put into doublequotes, I removed the doublequotes. For example: Code: # Returns empty file -> no results (wrong): Cannot understand, why python has a problem with the doublequotes - if I execute the request including the doublequotes, I get a result. But os.popen returns an empty file in that case. "binary_path" is double-quoted as well but that seems to be ok. Further, I had to add the xbmcvfs module as my Dharma did not contain it. You can get it here: http://code.google.com/p/passion-xbmc/ (install the repository plugin and download scripts.module.xbmcvfs from your addon screen) I checked these changes by downloading Top250 as well as updating my whole database (~500 movies). Worked well, I have my ratings updated now Try at your own risk - and don't forget a backup of your files. Maybe these changes will help you getting the plugin compatible with Dharma as I might be not the only one using it Thanks so much for your work so far! - krish_2k4 - 2012-02-01 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 - 2012-02-02 krish_2k4 Wrote:this seems to have stopped updating in Eden Beta2 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! - krish_2k4 - 2012-02-02 m4x1m Wrote:Enable in xbmc: Settings -> System -> Debugging -> Enable debug logging restart the script (few movies is enough) and repost debug log. here is the debug log http://pastebin.com/WtS7qqn9 - ezechiel1917 - 2012-02-03 similar issue: there was a problem with the imdb site! http://pastebin.com/bQhuusng reply from imdb seems ok from the debug log, but no update to db and xbmc gui completely freezes after few seconds/minutes php5-cgi 5.3.9 (tried some other versions with the same result), python 2.7.2+ |