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 will not play

    Scheduled Pinned Locked Moved Troubleshooting
    7 Posts 2 Posters 1.2k Views 2 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.
    • B Offline
      Blackmirror
      last edited by Blackmirror

      Hello,

      have noone a idea? Or a other simple radio module? But with no buttons. Only simple play a radiostream.

      Here my config.js

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

      The error looks like a bad API, but the API is right.

      wishmaster270W 1 Reply Last reply Reply Quote 0
      • wishmaster270W Offline
        wishmaster270 Module Developer @Blackmirror
        last edited by

        @Blackmirror Hi, if you like you can give a try to my radio module MMM-MplayerRadio. There are config options to hide most things and there is a autoplay feature.

        1 Reply Last reply Reply Quote 1
        • B Offline
          Blackmirror
          last edited by

          Hello
          it’s works but after controlled with Notification, it will not more displayed. But this is not really a problem.

               module: 'MMM-Buttons',
          //                        classes: 'default everyone',
               config: {
              minShortPressTime: 20,
              bounceTimeout: 10,
                       buttons: [
                       {
                       pin: 10,
                       name: "Radio",
                       longPress: {
                                notification: "RADIO_STOP",
                              payload: "default"},
                       shortPress: {
                              notification: "RADIO_PLAY",
                              payload: "Radio"}},
                  {
                      pin: 11,
                      name: "Tagesschau",
                      longPress: {
                        notification: "BUTTON_PRESSED",
                        payload: true
                      },
                     shortPress: {
                        notification: "BUTTON_PRESSED",
                        payload: true
                      }
                  }
              ]
          }},
          
          {
                  module: "MMM-MplayerRadio",
                  classes: 'Radio',
                  header: "Radio",
                  position: 'bottom_left', // This can be any of the regions.
                  config: {
                          //autoplay: 0,
                          stations: [
                                          {
                                          title: "hr3.de",
                                          url: "http://www.surfmusik.de/m3u/hr3-mitte,19472.m3u",
                                          logo: "https://upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Hr3-Logo_2015.svg/240p$
                                          }
                                  ],
                                  showControls: false,
                                  showVolControls: false
                          }
          },
          
          

          Thanks Blackmirror

          wishmaster270W 1 Reply Last reply Reply Quote 0
          • wishmaster270W Offline
            wishmaster270 Module Developer @Blackmirror
            last edited by

            Hi,

            great if it works. You may want to add an “showStations: false,” to your config. The yellow radio symbol then will be displayed instead of showing the station logos. If you want the module to be invisible you can remove the position option. The module will be functional even if it is not displayed.

            1 Reply Last reply Reply Quote 1
            • B Offline
              Blackmirror
              last edited by

              Hello,

              today the Mplayer radio will not turn on. He get on and will stop directly after start.

              But I have nothing change.

              Best regards

              BlackMirror

              wishmaster270W 1 Reply Last reply Reply Quote 0
              • wishmaster270W Offline
                wishmaster270 Module Developer @Blackmirror
                last edited by

                @Blackmirror
                Hi, maybe the url of the radio station changed. The player then tries to start the station and stops directly.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • 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