2010-10-08, 02:02
ppic Wrote:basically, you don't need http if you use executebuiltin:
Code:sql_data = "select tvshow.c00 , path.strPath from tvshow , path , tvshowlinkpath where path.idPath = tvshowlinkpath.idPath AND tvshow.idShow = tvshowlinkpath.idShow GROUP BY tvshow.c00"
xml_data = xbmc.executehttpapi( "QueryVideoDatabase(%s)" % urllib.quote_plus( sql_data ), )
The httpapi is deprecated so I am not using it. I'm using the jsonrpc api which as far as I know does not have an xbmc.execute equivalent yet.