Bugsounet Coding

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

    how to make Recipe for MMM MP3 Player

    Recipes
    4
    15
    181
    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
      rasp last edited by

      please let me know ho to do it
      thanks

      1 Reply Last reply Reply Quote 0
      • bugsounet
        bugsounet Main Coder last edited by

        hi, it’s not very used, because it is integrated into GA v3.1.0 😉

        USB Key / local files / vocal control : all inclued 🙂
        I will document it very soon in wiki

        1 Reply Last reply Reply Quote 0
        • R
          rasp last edited by

          thanks
          for my knowledge how to access GPIO pines please tell

          1 Reply Last reply Reply Quote 0
          • R
            rasp last edited by

            one more thing i m not able to play radio on my Magic Mirror ill provide you my radio link ply try
            https://worldradiomap.com/in/play/city-hindi

            1 Reply Last reply Reply Quote 0
            • bugsounet
              bugsounet Main Coder last edited by

              try this: https://prclive4.listenon.in/Hindi

              1 Reply Last reply Reply Quote 0
              • R
                rasp last edited by

                same problem its not showing even radio logo just giving closing tone

                1 Reply Last reply Reply Quote 0
                • bugsounet
                  bugsounet Main Coder last edited by bugsounet

                  Create un file in recipes dirextory of GA
                  sample: test.js
                  and past this content:

                  var recipe = {
                    transcriptionHooks: {
                      "radio_Hindi": {
                        pattern: "play Hindi",
                        command: "Hindi"
                      }
                    },
                  
                    commands: {
                      "Hindi": {
                        functionExec: {
                          exec: () => {
                            this.radioCommand({
                              img: "https://worldradiomap.com/2013/flags/46/in.png",
                              link: "https://prclive4.listenon.in/Hindi"
                            })
                          }
                        },
                        soundExec: {
                          chime: "open"
                        }
                      }
                    }
                  }
                  exports.recipe = recipe
                  

                  add to the recipe list test.js
                  sample:

                  recipes: [ "other recipe.js", "test.js"],
                  

                  don’t forget to activate Extented Display with useEXT: true, in your config 🙂

                  [Tested and worked by calling assistant and says: play Hindi]

                  1 Reply Last reply Reply Quote 0
                  • R
                    rasp last edited by

                    Thanks I’ll try in the evening n let you know

                    1 Reply Last reply Reply Quote 0
                    • R
                      rasp last edited by DJB1966

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • D
                        DJB1966 Helpers last edited by DJB1966

                        Sorry rasp I edit your last post by mistake Sorry.
                        When it comes to radio links some work others don’t.
                        Try here link text as some links don,t work I have found when I was trying to set up the radio on GA myself so it is a test one to see if it work till you find one this is also the deal with icons.
                        Also, I download and place the icons in a folder on the pi.
                        What radio station are you after I may be able to find a working link and icon I can test for you.
                        And sorry again about deleting your last post by mistake it’s been a long day.

                        ,
                            "104.7": {
                              functionExec: {
                                exec: () => {
                                  this.radioCommand({
                                    img: ['modules/MMM-GoogleAssistant/resources/LogosRadios/104.7fm.png'],
                                    link: "https://ais-arn.streamguys1.com/au_005_icy"
                                  })
                        

                        15f0c524-6a7a-4037-887a-6d18c7c81b9f-image.png

                        1 Reply Last reply Reply Quote 0
                        • U
                          ulster Donators last edited by

                          its possible to make a recipe for tv links ( free tv links )
                          like this one:
                          http://www.tvtuga.com/abu-dhabi-sports-1-uae/

                          bugsounet 1 Reply Last reply Reply Quote 0
                          • R
                            rasp last edited by

                            Same problem with new text. Js file.
                            Please tell me if I can send you video

                            1 Reply Last reply Reply Quote 0
                            • bugsounet
                              bugsounet Main Coder last edited by bugsounet

                              https://ais-arn.streamguys1.com/au_005_icy is not a supported streming link

                              1 Reply Last reply Reply Quote 0
                              • bugsounet
                                bugsounet Main Coder @ulster last edited by

                                @ulster said in how to make Recipe for MMM MP3 Player:

                                its possible to make a recipe for tv links ( free tv links )
                                like this one:
                                http://www.tvtuga.com/abu-dhabi-sports-1-uae/

                                no chance actually

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

                                  Goto the recipes folder copy ExtRadio.js file now paste in same dir (recipes) call it ExtRadioIn.js
                                  now goto your MM config and find recipes in GA part of config add ExtRadioIn.js like this.

                                  recipes: ["ExtSpotify.js", "ExtGPhotos.js", "with-BackgroundStatus.js", "ExtRadioIn.js"],
                                  

                                  Now I send you a small guide via chat this is for Australia radio but it is the same just don’t follow adding (download) the ExtRadioAU.js and icons this guild may help.
                                  if still not working can you post your ExtRadioIn.js file here i will check after work.

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