![]() |
|
[RELEASE] - Rating Update - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Help and Support (/forumdisplay.php?fid=33) +--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27) +---- Forum: Program Add-ons (/forumdisplay.php?fid=151) +---- Thread: [RELEASE] - Rating Update (/showthread.php?tid=107331) |
got it working on dharma - MCipher - 2012-01-13 21:43 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 21:26 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 15:14 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 19:50 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 12:25 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+ - m4x1m - 2012-02-03 13:12 krish_2k4 Wrote:here is the debug log It's an issue in xbmc related python in Windows platform. Read the post above of MCipher. Quote:- In every os.popen command, the php filepath was put into doublequotes, I removed the doublequotes. For example: etc etc. The problem are the doublequote like in Dharma. If the problem isn't resolved with the final stable version of XBMC I will take measures to solve it!
- krish_2k4 - 2012-02-03 14:56 m4x1m Wrote:It's an issue in xbmc related python in Windows platform. ahh, i'll wait, have no clue how to edit the script so won't mess around with it! hope it gets resolved in the final xbmc. - voidy - 2012-02-05 14:35 i feel like a retard i cant seem to find the php-cgi binary and i cant seem to find what to do in the readme ![]() im on a mac running snow leopard with xbmc eden beta2 on the experiance 1080 skin. - m4x1m - 2012-02-05 16:14 voidy Wrote:i feel like a retard I'm sorry but I haven't a Mac to guide you step by step for the installation of php-cgi. ![]() Search on google how to install it in Mac then in the settings addon you can browse the folder to set the right path! - voidy - 2012-02-05 22:11 m4x1m Wrote:I'm sorry but I haven't a Mac to guide you step by step for the installation of php-cgi. wow thanks for the quick reply i just try and figure it out myself np |