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

    Add a command with a variable to play music

    Scheduled Pinned Locked Moved Linux
    2 Posts 2 Posters 1.1k Views 1 Watching
    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 Offline
      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 Offline
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post