Is it possible to receive some sort of callback or trigger when an event has finished? Such as finished speaking or finished moving ears. Otherwise it's near to impossible to know when to send the stop action and end the interactiveid.
i just don't know if that's possible in php(the only one i know)
Thanks, that does help! From the looks of it will i need all all my commands to go through the server that the callback url points to?
I'm making an android app and at the moment it sends all the commands straight to the karotz servers. Do you think it would be possible to:
1) send the command to my server(from the app)
2)the server then doesn't respond but sends the command to the api
3)when my server receives the finished code it then finally responds to the request the app made
I think i've got it! The way in which my app differs to the mindscape one connection-wise is that mine only connects when it needs to send a command vs mindscape's always connected method. Soooo basically i can put a script on the callback url that simply closes any connections when it receives a terminated callback. I'll see if it works when i get the chance :) any of course you can test it! I need all the testers i can. It's currently already in the android market called "Swiss Army Carrot". That version only supports nabaztags but if you have one feel free to download ;)
I'm planning on introducing karotz support in an update, when i get a stable version working with karotz support i'll post it for you here ;)
I'm sorry to be so noob, but I can't get i tto work without the wizz.cc class.
I'm trying to have only one script, with the objective to translate it into a lua script (to be included in a home automation box)
Could you please indicate by what I need to change the "$karotz->" classes calls ?
I am trying to use this, but it keeps returning CANCELLED, instead of TERMINATED.The problem is that CANCELLED is returned right away, as soon as TTS is started, and my server then closes the app again.
"The end of the last piece of the mp3 playlist is truncated if the repeat mode is off. This is not the case when there is a repeat.
To play, play three short blasts in succession without repeat, then repeat with."
You could also post your source here.
Best wishes,
Marcus
This is starting to be a real mess...Broken api, broken functions doing unexpected things, poor English documentation, and non responsive support...Will try to see if I can get php to merge the files with a second of silence in the end.This fix tells me to play the file 3 times without delay, then enable repeat???