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-RadioDe] - Simple Web Radio.de player

    Scheduled Pinned Locked Moved Entertainment
    22 Posts 8 Posters 20.8k Views 8 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.
    • SteffS Offline
      Steff
      last edited by Steff

      Description:

      This is an extension for the MagicMirror. It can show/hide a webradio stream provided by Radio.de You can start and stop this web radio stream by hiding the module. It uses the suspend/ resume method of MagicMirror for this. Currently the setup is rather simple. Potential extensions for the future might be selection of the radio station via remote control plugin, tuning of volume. Currently I do use the module to start in the evening the favorite radio channel of my children and to stop it again once they do sleep.

      Screenshots:

      alt text

      Download:

      [card:SteffMUC/MMM-RadioDe]


      Version 0.1.0

      • First initial commit
      • Feedback highly welcome!
      1 Reply Last reply Reply Quote 2
      • D Offline
        Disturbx
        last edited by Disturbx

        First of all awesome add on for my mirror :)
        I seem to have a problem…

        The radio station ssms to load normally on my magicmirror remote on my desktop but doesnt load the station when on my mirror itself. Cant really find anything wrong because its working when checking it remotely.

        The browser plugin shows but does not start, but only on the mirror itself.

        1 Reply Last reply Reply Quote 0
        • SteffS Offline
          Steff
          last edited by

          Which radiostation is ssms ? Might it be possible that radio.de does not cover this radio station ? Normally I can start directly in the webbrowser my desired radio station by .radio.de , e.g. http://antenneduesseldorf.radio.de/. If I however try to start http://ssms.radio.de/ I am redirected to the home page of radio.de. So my interpretation is that the station name might be differently for radio.de. In order to help you it would be helpful to get full station name. If it is the super saturday morning show, it looks like radio.de does not reference it. This would mean that my plugin will not work you.

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

            Sorry man I let you the wrong direction.
            I’m using SLAM, radio.de is covering my station as it will work when I connect to the mirror remotely (via local ip:8080) but not on the mirror itself.

            I even tried it with Antenne, the standard option but works in remote, not on the mirror itself.

            1 Reply Last reply Reply Quote 0
            • SteffS Offline
              Steff
              last edited by Steff

              Hm, Just tried it in my own MMM, with following config:

              {
                      module: 'MMM-RadioDe',
                      position: 'top_right', // This can be any of the regions.
                      classes: 'scheduler',
                      config: {
                              // PLAY RADIO BETWEEN 18:50 and 21:00 EVERY DAY
                              //module_schedule: {from: '50 18 * * *', to: '00 21 * * *' },
                              // See 'Configuration options' for more information.
                              api_key: 'xxxxxxxx',
                              station: 'slam'
                              }
                      },
              

              In my case it immediately start on my magicmirror:
              0_1486911685647_slam_radio.png

              You mention that it does not start, did you set potentially the autoplay option to false ?

              Could you please post your config ?

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

                {
                                       module: 'MMM-RadioDe',
                                       position: 'bottom_left', // This can be any of the regions.
                                       config: {
                                               // See 'Configuration options' for more information.
                                               station: "antenne",
                                               // can be obtained in embed section of station, e.g. http://antennekids.radio.de/
                                               api_key: 'xxx',
                                               //optional,
                                               height:"92", // in pixel
                                               width:"360", // in pixel
                                       }
                               },
                

                This is my config.
                The weird is it is working when I go to http://192.168.1.xxx:8080 but not on the mirror itself

                This is the player on the mirror itself
                alt text

                This is on the webbrowser (http://192.168.1.xxx:8080)
                alt text

                just tried it out with antenne lel

                SteffS 1 Reply Last reply Reply Quote 0
                • SteffS Offline
                  Steff @Disturbx
                  last edited by

                  @Disturbx Honestly I am completely clueless. I did some updates today to several modules and now my MMM crashes after some time. I am not sure whether it is related to the radio module. I am currently debugging this, potentially I get an idea from this. The only thing I can offer you is to post you a configuration how you could to the similar setup with the iFrame module, if you are interested in. (Without station select, start/ stop via hide mechanism)

                  D 1 Reply Last reply Reply Quote 0
                  • D Offline
                    Disturbx @Steff
                    last edited by

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

                      Hey @Steff, any updates on the module and how its not working with mine?

                      SteffS 1 Reply Last reply Reply Quote 0
                      • SteffS Offline
                        Steff @Disturbx
                        last edited by Steff

                        @Disturbx Wanted to post a reply already yesterday, but was too stupid to use git push…, I modified the behavior slightly, letting the module wait until the others are started, added as well some changes. I put them to the develop branch, so if you change your git to develop, you can try whether this helps.
                        How to do:
                        Enter local directory of module --> git checkout develop --> git pull
                        Why develop branch ? I did only test on my development platform, but not on the Raspi itself.
                        Feedback highly welcome

                        D 1 Reply Last reply Reply Quote 0
                        • D Offline
                          Disturbx @Steff
                          last edited by

                          @Steff said in [MMM-RadioDe] - Simple Web Radio.de player:

                          @Disturbx Wanted to post a reply already yesterday, but was too stupid to use git push…, I modified the behavior slightly, letting the module wait until the others are started, added as well some changes. I put them to the develop branch, so if you change your git to develop, you can try whether this helps.
                          How to do:
                          Enter local directory of module --> git checkout develop --> git pull
                          Why develop branch ? I did only test on my development platform, but not on the Raspi itself.
                          Feedback highly welcome

                          Cant seem to get it working mate :(

                          1 Reply Last reply Reply Quote 0
                          • FistandantilusF Offline
                            Fistandantilus
                            last edited by

                            Hi Steff,

                            I have just tested your module which is working quite good so far. The are two things I would like to address:

                            • I´m running it with station “ffhlounge” and sometimes there are short dropouts while playing the stream (CPU is between 2 and 4% and free memory at 44%), maybe you can test if it happens on your side as well, I have a dedicated radio where I can run the stream without dropouts
                            • while running the mirror in dev mode to debug a problem with another module I found some 403 errors for the RadioDe module. Can you also have a look at them? Attached there is a screenshot.

                            best regards,
                            F.

                            0_1493710214062_Bildschirmfoto 2017-05-02 um 09.17.14.png

                            1 Reply Last reply Reply Quote 0
                            • FistandantilusF Offline
                              Fistandantilus
                              last edited by Fistandantilus

                              Just integrated another player (https://www.muses.org/setup) using iFrame which is working without dropouts. Maybe a problem with radio.de?

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                Preve
                                last edited by

                                Is it possible to make a kind of “Radio Stations” list to select from. Or do we just add the module a couple of times with on each line another radio station?

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

                                  Hello everybody.
                                  How do I manage the antenne Bayern is played.
                                  I have opened the Station once in the browser and when I start the MagicMirror then comes again antenna Niedersachsen.

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

                                    Maybe have a look at MMM-MyRadio ;-)

                                    Robert the Bear

                                    1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      Sputnik
                                      last edited by

                                      This post is deleted!
                                      S 1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        Sputnik @Sputnik
                                        last edited by

                                        @Sputnik I suspected, that maybe my Wifi connection is not good enough but the speedtest shows 11-14Mbt download speed and about 4 Mbt upload speed which I believe should be sufficient.

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          Sputnik @Sputnik
                                          last edited by

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            Sputnik
                                            last edited by

                                            My present situation is a follows: I get the radio station to play but I got many many drop-outs.
                                            I tried iFrame as an alternative platform to play radio and I have the same problem. Changing the radio station or link doesnt help either.
                                            I dont think its an issue with the module but probably more with the Pi resourcs. My internet connection clocks at >10 Mbyte download and>4upload speed hence I dont think thats the issue.
                                            Now how to find out the actually cause ?
                                            Could I try to use a lower quality (bitrate) radio stream instead or allocate more hardware resources ???
                                            Please help !

                                            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