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):
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" )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!

![[Image: sigpic_89488_ea84cd53d774f0e868b713eb0adf873f.jpg]](http://forum.xbmc.org/uploads/signatures//sigpic_89488_ea84cd53d774f0e868b713eb0adf873f.jpg)
i cant seem to find the php-cgi binary and i cant seem to find what to do in the readme
Search
Help