Open Specific Netflix Movie with Alexa
-
@dlaugh14, wow. That is so awesome. I can't wait to try this. Thank you for posting it.
EDIT: I tried it. It's awesome. Here's a video showing it working: https://youtu.be/i-Ig8WoJBpI
-
Glad it worked! Bet you were like...that's not my Netflix account...lol. Thanks for changing that by the way. I need to stop coding at like 10pm.
I think it would be cool to enable staying in trigger command from Alexa for a while instead of one command at a time and then you have to trigger again. I don't really know if that's possible, but it would fit really well here. You could say less and get more done.
-
@dlaugh14, I know it's possible to stay in the skill.
Maybe I could have it exit only if you use the one-shot method:
Alexa, ask TRIGGERcmd to run X on Y
But if you say,
Alexa, talk to TRIGGERcmd
... then it would say, "Triggering X on Y. Anything else?" after each command you run.
-
Hello guys,
I'm from Brazil, and i need to know how to configure or talk to alexa to start the command?
Can you help me?Other wise, in chrome driver, you know how to configure full screen when start the movie or serie?
-
@Felipe-Guedes, I'm glad you asked because I forgot to add the Brazil link to this page.
Have you seen this video yet? It shows the newer Smart Home version of the skill, which I prefer personally because it recognizes your words better.
If you want to use the original skill, you should be able to say, "Alexa, abrir Execute Comando" to get started, or use this link.
Also, to answer your other question, no I don't know how to make it go full screen. If you figure that out, please post the solution.
-
@Russ sorry i'm very dummy, i don't know how to execute with parameters.
I try this several times, but the Execute comando dont recognize my pc.
I try to say: "Alexa, abrir Execute Comando", thats perfect, after that, when i say: "Execute automação(That is name to my command) no PC(voice name) com parametro boss baby, doesn't work, Alexa say: Eu não encontrei o dispositivo PC.Can you create a video with a exemple executing something with parameters, and configuration.
-
@Felipe-Guedes, before you try to use Alexa, you should make sure your command works the way you expect using the Parameters button.
Before the button will show up, you'll need to enable parameters on your command:
Then when you click this button:
You should have a phrase that ends with X.
When you talk to Alexa, you say your parameter in place of X.
Here's a video I made a while ago about how it works with Alexa:
https://www.youtube.com/watch?v=P6m9gJIsuxE -
@Russ I dont know why, but de command doesn't execute NODE command.
Can you explain to me what i need to do? -
When i run with parameters, it mark that command is run, but to my nothing happens.
-
@Felipe-Guedes, the best way to troubleshoot is make sure it works from a cmd prompt first. If you get an error running the node command at the cmd prompt you probably don't have nodejs installed yet.
After you get it working from the cmd prompt, then add it to the TRIGGERcmd agent and include the parameters in the command field at first.
This is boss baby example is actually pretty complex to implement, and I realize I didn't include all of the steps. I'm going to be busy this 4th of July weekend but after that I can make a more detailed video if you want.
-
Tks @Russ ,
The command in node runs very well, but when i try to run in trigger cmd in my windows doenst run, when i try to run by the website, it shows me it did, but it didn't. -
@Felipe-Guedes, what is your command? And does that same command work if you run it in a Windows cmd prompt?
-
Yes my command runs very well.
-
@Felipe-Guedes, it works from the cmd prompt but not from TRIGGERcmd? If so, maybe in your cmd window you're running it from the directory where the script resides, so the problem with running it via TRIGGERcmd is that the working directory is not where the javascript file is. In which case, you could either create a batch file that changes the working dir to that folder before running the node command, or it might be adequate to specify the full path to the .js file as part of your command like this:
node c:\scripts\scriptdir\script.js
-
Yes, i know that.
Thats my configuration:
{
"trigger": "abrir google",
"command": "node C:\Users\Artista\Documents\node_modules\selenium-webdriver\exemple\google.js",
"ground": "foreground",
"voice": "abrir google",
"voiceReply": "",
"allowParams": "true"
}And the full path:
When i run directly in cmd, runs very well like i said, but in trggercmd no.
-
@Felipe-Guedes, thanks for that info. That helps.
I'm still thinking it's a problem with the working directory. Node knows how to find module dependencies based on the working directory. Would you mind trying this?
Create a script called c:\scripts\google.bat with these contents:
cd /d C:\Users\Artista\Documents\node_modules\selenium-webdriver\exemple node google.js
Then make this your triggercmd command: c:\scripts\google.bat
-
Perfect, now i can execute the command in trigger cmd and i have other problem hhahahahah.
When i say - "Alexa, Execute comando" -> "Execute automacao com parametro boss baby" -> She don't recognize my command. Isn't an exemple with parameters in portuguese.
Help me, we almost there ! -
@Felipe-Guedes Otherwise, is this configuration set maximized chrome.
var chrome = require("selenium-webdriver/chrome"); /** * Set chrome command line options/switches */ var chromeOptions = new chrome.Options(); chromeOptions.addArguments("test-type"); chromeOptions.addArguments("start-maximized"); chromeOptions.addArguments("--js-flags=--expose-gc"); chromeOptions.addArguments("--enable-precise-memory-info"); chromeOptions.addArguments("--disable-popup-blocking"); chromeOptions.addArguments("--disable-default-apps"); chromeOptions.addArguments("--disable-infobars"); var driver = new Builder() .forBrowser('chrome') .setChromeOptions(chromeOptions) .build();
I'm still searching how to set full screen in video, and how to stop and play.
i'll post here when i find -
@Felipe-Guedes, does this work?
Alexa, pergunte Execute Comando execute automacao com o parâmetro boss baby.
I think I need to fix the portuguese text on the voice command cheat sheet page.
EDIT: I updated that voice command cheat sheet page. I hope that works better.
-
@Russ it's doesn't work.
No problem