troutbum
2008-10-15, 07:24
Can someone tell me why this call will not accept multiple db elements in the select statement?
This works fine
xbmc.executehttpapi("QueryVideoDatabase(select tvshow.idShow from tvshow)")
but this errors out??
xbmc.executehttpapi("QueryVideoDatabase(select tvshow.idShow, tvshow.c00 from tvshow)")
the debug error is
<li>Error:SQL error or missing database
Query:select tvshow.idShow
to further complicate things, the second block works fine through the httpapi as:
http://127.0.0.1/xbmcCmds/xbmcHttp?command=QueryVideoDatabase(select%20tvsho w.c00,%20tvshow.idShow%20from%20tvshow)
driving me crazy, can someone tell me if I am doing something wrong? :confused2:
This works fine
xbmc.executehttpapi("QueryVideoDatabase(select tvshow.idShow from tvshow)")
but this errors out??
xbmc.executehttpapi("QueryVideoDatabase(select tvshow.idShow, tvshow.c00 from tvshow)")
the debug error is
<li>Error:SQL error or missing database
Query:select tvshow.idShow
to further complicate things, the second block works fine through the httpapi as:
http://127.0.0.1/xbmcCmds/xbmcHttp?command=QueryVideoDatabase(select%20tvsho w.c00,%20tvshow.idShow%20from%20tvshow)
driving me crazy, can someone tell me if I am doing something wrong? :confused2: