Recipe for special commands
-
I was able to create this recipe for special commands,
don’t forget to add it in GA in the config file,
A recipe to make Jarvis play a song or mp3 file using vlc, based on your special command “hot word”
example, jarvis, I am back home, , Jarvis will play a video for me,
the same for any other commands,var recipe = { transcriptionHooks: { "imBackHome": { pattern: "I am back home", command: "playVideo" } }, commands: { "playVideo": { shellExec: { exec: "vlc --play-and-exit -f /path_to_file/modules/recipe/video1.mp4", // This command will play the video using VLC. } } } }; exports.recipe = recipe;
If you want the vlc to just play the video without exiting, just remove " --play-and-exit".
Happy mirroring,
-
For GA v6, I will code a new EXT for this
Note: you can’t stop it -
Thank you, Can’t wait.
-
Hello my friends, Does the GA v6 can do this now? special recipes? I went through the documentation but couldn’t find anything about this issue, also Can the New GAv6 set a meeting in the calendar now?
thank you very much