2011-04-11, 20:16
Hi
I have some trouble with the http api.
I'm trying to get the idFile from the Video Database:
I get this Error:
Any Idea someone
I have some trouble with the http api.
I'm trying to get the idFile from the Video Database:
Code:
sql_data = "select movie.idFile from movie where movie.c09=%s" % str(imdb_id)
xml_data = xbmc.executehttpapi( "QueryVideoDatabase(%s)" % urllib.quote_plus( sql_data ), )
print ("XML DATA: " + xml_data)
I get this Error:
Code:
20:07:22 T:2696246592 M:1673220096 DEBUG: HttpApi Start command: QueryVideoDatabase paras: QueryVideoDatabase; select movie.idFile from movie where movie.c09=tt1323594
20:07:22 T:2696246592 M:1673220096 ERROR: SQL: SQL error or missing database
Query: select movie.idFile from movie where movie.c09=tt1323594
20:07:22 T:2696246592 M:1673220096 ERROR: GetArbitraryQuery failed
20:07:22 T:2956091392 M:1673220096 NOTICE: XML DATA: <li>Error:SQL error or missing database
Query: select movie.idFile from movie where movie.c09=tt1323594
Any Idea someone