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

    Add a command with a variable to play music

    Linux
    2
    2
    471
    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

      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.

      RussR 1 Reply Last reply Reply Quote 0
      • RussR
        Russ @favancini
        last edited by

        @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
        • First post
          Last post