HTTP API: "PlayFile()" works, but returns error?
#1
Question 
If I issue the following HTTP API command:
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?
Reply
#2
I still haven't been able to figure this one out.. anyone?
Reply
#3
no. from the code it looks like it might be some timing issues. needs to be investigated with a debugger
Reply

Logout Mark Read Team Forum Stats Members Help
HTTP API: "PlayFile()" works, but returns error?0