Bugsounet Coding

    • Register
    • Login
    • Search
    This Forum is now reserved to registred users!

    Not a problem just a question

    Recipes
    2
    3
    101
    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.
    • R
      Ray BetaTester last edited by Ray

      So I have a question about your recipe.
      Which by the way, works perfectly. I love this idea.

      Just want to be more organized about this. That’s all
      so I can see where the music came from

      var recipe = {
      transcriptionHooks: {

      "radio.net": {                <------- is this just a label. Can I name it whatever                                                                 
                                                     I like. I get my Internet music from radio.net
        pattern: "mets chérie fm",
        command: "103.7"            <------- do these two have to match?
      },
      

      },

      1 Reply Last reply Reply Quote 0
      • D
        DJB1966 Helpers last edited by

        is this just a label. Can I name it whatever yes
        do these two have to match? no

        "jjj": {
              pattern: "radio triple j fm",
              command: "triple j"                  <------------this must match 
            },
        
        "triple j": {                                       <------------THIS
              functionExec: {
                exec: () => {
                  this.radioCommand({
                    img: ['modules/MMM-GoogleAssistant/resources/LogosRadios/Triple-J-logo.png'],
                    link: "https://live-radio01.mediahubaustralia.com/2TJW/mp3"
                  })
                }
              },
        
        1 Reply Last reply Reply Quote 0
        • R
          Ray BetaTester last edited by

          Cool thanks. I just want to make sure
          that part I did know I just wasn’t sure about the label.

          I have already implemented this and is running perfectly

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB | @bugsounet ©2022