• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 16.9k 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.
  • S Offline
    Steff
    last edited by Steff Feb 5, 2017, 5:39 PM Feb 5, 2017, 5:21 PM

    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 Feb 12, 2017, 2:16 PM Feb 12, 2017, 2:10 PM

      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
      • S Offline
        Steff
        last edited by Feb 12, 2017, 2:33 PM

        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 Feb 12, 2017, 2:44 PM Feb 12, 2017, 2:37 PM

          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
          • S Offline
            Steff
            last edited by Steff Feb 12, 2017, 3:04 PM Feb 12, 2017, 3:02 PM

            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 Feb 12, 2017, 7:05 PM Feb 12, 2017, 3:15 PM

              {
                                     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

              S 1 Reply Last reply Feb 12, 2017, 7:35 PM Reply Quote 0
              • S Offline
                Steff @Disturbx
                last edited by Feb 12, 2017, 7:35 PM

                @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 Feb 13, 2017, 11:07 PM Reply Quote 0
                • D Offline
                  Disturbx @Steff
                  last edited by Feb 13, 2017, 11:07 PM

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    Disturbx
                    last edited by Feb 22, 2017, 9:20 PM

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

                    S 1 Reply Last reply Feb 23, 2017, 8:29 PM Reply Quote 0
                    • S Offline
                      Steff @Disturbx
                      last edited by Steff Feb 23, 2017, 8:30 PM Feb 23, 2017, 8:29 PM

                      @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 Mar 12, 2017, 12:44 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      • 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