So maybe I was wrong that GlkOte is set up to use the same protocol as the original IF Recorder plugin. The same error, “POST data not found” was reported here:
So you don’t need to worry about the recording_url being wrong, that’s correct.
Instead the problem is the PHP server doesn’t know how to interpret the data that’s given to it. I suspect this won’t be hard to fix, but my PHP is very rusty…
Before the line saying
if( empty( $_POST[ 'data' ] ) ) {
can you add this code?
var_dump($_POST);
It looks like @Juhana changed things dramatically in this commit, but I don’t know for sure what should be done now. Whether GlkOte is in simple
or glkote
transcript mode, it always passes the data to the server as JSON, not as application/x-www-form-urlencoded
data.