• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
TRIGGERcmd
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Add a command with a variable to play music

Linux
2
2
487
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F
    favancini
    last edited by Feb 8, 2021, 9:42 AM

    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.

    R 1 Reply Last reply Feb 8, 2021, 10:59 PM Reply Quote 0
    • R
      Russ @favancini
      last edited by Feb 8, 2021, 10:59 PM

      @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.

      Russell VanderMey

      1 Reply Last reply Reply Quote 0
      1 out of 2
      • First post
        1/2
        Last post