You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to develop a web service to call the URL like <YOUR_NODE_SERVER>/playmovie?q={textfield}.
I tried with curl that the data returned by the node server is just the text "OK".
It would be good to have an option to return the matched json so that I can provide better response in the web service.
e.g. "OK. Playing the movie {matched movie name}".
Now the matched movie name may be slightly different from the requested name or it may be a partial name. So, cannot simply replay the requested name.
Also, in case the fuzzy matching has multiple options which are very similar, it will be good to inform the user which option this script chose, instead of a user finding it out after the video starts playing.
The text was updated successfully, but these errors were encountered:
About the first point yea good idea, I can do that.
For the second, not sure what you mean. Do you wish a fuzzy search endpoint, which just return the X best matches without actually playing them? Sure, could add that too.
I am trying to develop a web service to call the URL like
<YOUR_NODE_SERVER>/playmovie?q={textfield}
.I tried with curl that the data returned by the node server is just the text "OK".
It would be good to have an option to return the matched json so that I can provide better response in the web service.
e.g. "OK. Playing the movie {matched movie name}".
Now the matched movie name may be slightly different from the requested name or it may be a partial name. So, cannot simply replay the requested name.
Also, in case the fuzzy matching has multiple options which are very similar, it will be good to inform the user which option this script chose, instead of a user finding it out after the video starts playing.
The text was updated successfully, but these errors were encountered: