HTTP API: "PlayFile()" works, but returns error? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: HTTP API: "PlayFile()" works, but returns error? (/showthread.php?tid=56256) |
HTTP API: "PlayFile()" works, but returns error? - magn2o - 2009-08-12 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 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? - magn2o - 2009-08-19 I still haven't been able to figure this one out.. anyone? - spiff - 2009-08-19 no. from the code it looks like it might be some timing issues. needs to be investigated with a debugger |