MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    [MMM-MyRadio] Web Radio Player

    Scheduled Pinned Locked Moved Entertainment
    34 Posts 13 Posters 22.6k Views 12 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.
    • strawberry 3.141S Offline
      strawberry 3.141 Project Sponsor Module Developer @tbbear
      last edited by

      @tbbear that’s what I kind of expected 😄

      Please create a github issue if you need help, so I can keep track

      tbbearT 1 Reply Last reply Reply Quote 0
      • tbbearT Offline
        tbbear Module Developer
        last edited by

        Next step done, i hope that @fewieden is not angry that i raped his MMM-AlarmClock module, lol
        So in my version of MMM-AlarmClock if u select “MyRadio” as sound it will start the the MyRadio Player.
        if u do for ex. 30 min later the next alarm it will switch it off and also turn the Mirror display off.
        (This is what my wife wants in the morning in the bathroom …)

        Robert the Bear

        1 Reply Last reply Reply Quote 0
        • tbbearT Offline
          tbbear Module Developer @strawberry 3.141
          last edited by

          @strawberry-3.141 I will report u about the results with a longer distance from speaker to mic the next days

          Robert the Bear

          1 Reply Last reply Reply Quote 0
          • G Offline
            gismo2006
            last edited by

            Hey,
            @tbbear

            I use a other voice modul and a other music modul but the problem was the same. With headphones everything works fine but without the lyrics will crash the voice recognition.

            I have tested several module and distance and and and. but nothing.

            Maybe you can solve this problem.

            Greets gismo

            1 Reply Last reply Reply Quote 0
            • tbbearT Offline
              tbbear Module Developer
              last edited by tbbear

              Hey to all. ( @gismo2006 @strawberry-3.141 )
              here are the first results of my testing: i use a USB MiniMic and now i took a 1meter Cable to put the mic
              above the Mirror (its about 50 cm above), and the first tests worked fine. I will report more…

              Robert the Bear

              1 Reply Last reply Reply Quote 0
              • R Offline
                Rolandb
                last edited by

                The module is really great. And especially the help of Robert in my problem. The module and the developer are really recommended. That’s a 1 with a star.

                1 Reply Last reply Reply Quote 1
                • P Offline
                  pinsdorf Module Developer
                  last edited by

                  Nice module, indeed. Just an idea: Raspberry Pi 3 has Bluetooth. Would be cool to connect BT speakers and play the radio.

                  We could also use it for remote audio notification". Say, the mirror is linked to a BT speaker in the next room and it plays a sound when certain notification is received, e.g. new mail …

                  Anybody tried this?

                  tbbearT 1 Reply Last reply Reply Quote 0
                  • tbbearT Offline
                    tbbear Module Developer @pinsdorf
                    last edited by

                    @pinsdorf Thanks, Bluetooth is no problem cause MyRadio can play on any audio output, u only need the correct config. and also if u want to start radio with a signal from another modules just do it
                    with
                    this.sendNotification(‘NEXT_RADIO’);
                    like i do with the Alarmclock module.

                    Robert the Bear

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      Mike7400
                      last edited by

                      Any idea how to edit config to play on bluetooth device?

                      Mykle1M 1 Reply Last reply Reply Quote 0
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer @Mike7400
                        last edited by

                        @mike7400

                        You might try alsamixer to choose your output device.

                        Create a working config
                        How to add modules

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          Mike7400
                          last edited by

                          Output device is OK. When I run sh everything works, I can hear a music. But when I run MM I cannot hear nothing

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            raspialex2018
                            last edited by

                            The same problem like Mike…No output over MM. If i start the script over bash sound and output ok. Can you help me please?

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              deder2
                              last edited by

                              Hello, I have a problem with your module.
                              the module is not displayed? the script files are well executable.
                              mpg123 is well installed.
                              MagicMirror is up to date.
                              I use your config by default

                              {
                              module: ‘MMM-MyRadio’,
                              position: ‘top_right’,
                              config: {
                              stations: [
                              “Bayern1 Bayern1”,
                              “Bayern3 Bayern3”,
                              “Charivari Charivari”,
                              Kos Kos,
                              “AB AB”
                              ]

                              }

                              }

                              an idea ?

                              1 Reply Last reply Reply Quote 0
                              • tbbearT Offline
                                tbbear Module Developer
                                last edited by

                                Hello,
                                did u set a , after the last brackets? Did u follow the install from readme?

                                Robert the Bear

                                Cr4z33C 1 Reply Last reply Reply Quote 0
                                • yawnsY Offline
                                  yawns Moderator
                                  last edited by

                                  Kos Kos is missing " ", isn’t it?

                                  tbbearT 1 Reply Last reply Reply Quote 0
                                  • tbbearT Offline
                                    tbbear Module Developer @yawns
                                    last edited by

                                    @yawns good catch i think

                                    Robert the Bear

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      deder2
                                      last edited by

                                      I progress, the module is displayed but no image of chain and no sound.

                                        {
                                          module :  "MMM-MyRadio" ,
                                                  position :  "top_left",
                                                  config : {
                                                          stations : [
                                                                   " Bayern1 Bayern1 " ,
                                                                   " Bayern3 Bayern3 " ,
                                                                   " Charivari Charivari " ,
                                                                   " Kos Kos " ,
                                                                   " AB AB "
                                                                  ]
                                                  }
                                        },
                                      
                                      tbbearT 1 Reply Last reply Reply Quote 0
                                      • tbbearT Offline
                                        tbbear Module Developer @deder2
                                        last edited by

                                        @deder2 please remove the blanks before and after a station it should look like
                                        “Bayern1 Bayern1“

                                        Robert the Bear

                                        1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          deder2
                                          last edited by

                                          great, no space it works for pictures.
                                          however, I created two radios (two script files and two image files)
                                          but I still have the names of the old radio Bayern1 AB …
                                          And still no sound.

                                            {
                                              module :  "MMM-MyRadio" ,
                                                      position :  "top_left",
                                                      config : {
                                                              stations : [
                                                                       "rtl rtl" ,
                                                                       "latina latina" ,
                                                                      ]
                                                      }
                                            },
                                          

                                          script :

                                          #!/bin/bash

                                          killall mpg123

                                          sleep 0.1

                                          mpg123 -@ http://streaming.radio.rtl.fr/rtl-1-44-128.m3u 1>~/MagicMirror/modules/MMM-MyRadio/RDS.log

                                          thank you

                                          tbbearT 1 Reply Last reply Reply Quote 0
                                          • tbbearT Offline
                                            tbbear Module Developer @deder2
                                            last edited by

                                            @deder2 Are u sure that ur audio configuration is working? U can play sound? I had the most problems
                                            with setting up the audio config on the diff. systems so please check if this works.
                                            After changing to ur stations (by the the way i checked ur mpg123 -@ http://streaming.radio.rtl.fr/rtl-1-44-128.m3u
                                            and its working fine on my system. Try on ur own call from terminal: mpg123 -@ http://streaming.radio.rtl.fr/rtl-1-44-128.m3u
                                            if u hear nothing than its a problem of ur audio config.

                                            Robert the Bear

                                            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
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy