2009-08-12, 23:19
If I issue the following HTTP API command:
I get the following return:
Yet, it plays the file fine. Normally I wouldn't care, but aside from curiosity getting the best of me, my program currently parses the return string looking for an "OK" in order to continue logic processing.
Am I doing something wrong here?
Code:
GET /xbmcCmds/xbmcHttp?command=PlayFile(%2Fusers%2Fmagnus%2Fpublic%2Fmovies%2Fred%20dawn%20%281984%29%2Fvideo_ts%2Fvideo_ts.ifo) HTTP/1.1
I get the following return:
Code:
HTTP/1.0 200 OK
Server: GoAhead-Webs
Pragma: no-cache
Cache-control: no-cache
Content-Type: text/html
<html>
<li>Error:Could not play file</html>
Yet, it plays the file fine. Normally I wouldn't care, but aside from curiosity getting the best of me, my program currently parses the return string looking for an "OK" in order to continue logic processing.
Am I doing something wrong here?