Add a command with a variable to play music
-
Hello,
I use TRIGGERCMD on a pc with Ubuntu 20.04.
I want to use it to play my music.I would like to know if it is possible to add a variable to a command like this :
"Hey Google, say to TRIGGERCMD to play the album "X""Thank you per advance for your help.
-
@favancini, with the original TRIGGERcmd or TRIGGER command google assistant action, the format of the voice commands are like this: "Hey Google, ask TRIGGERcmd (or TRIGGER command) to run X with parameter Y"
So you could say something like this:
"Hey Google, ask TRIGGERcmd to run album with parameter X." Where X is the name of your playlist.
Your command could run a script that runs your Mp3 player with X as your playlist parameter.