• 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.

Online Radio

Scheduled Pinned Locked Moved Entertainment
52 Posts 4 Posters 15.0k Views 4 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.
  • W Offline
    wishmaster270 Module Developer @tanvir586
    last edited by wishmaster270 Oct 21, 2022, 8:30 AM Oct 21, 2022, 8:23 AM

    @tanvir586 Hi, just checked the website and found the “real” url of the radio.
    The url “http://95.154.250.9:9980” works fine with my vlc. As long as they do not change their ip it will be functional.

    If it stops working you can go to https://almubarakradio.com/ hit the “Tune in live” button and copy the url of the browser window.

    Edit:
    Found a better way. You can use the url “https://relay.emasjidlive.uk/almubarakradio” which is the url used by the player on page “https://emasjidlive.co.uk/listen/almubarakradio”

    T 1 Reply Last reply Oct 21, 2022, 11:51 AM Reply Quote 1
    • T Offline
      tanvir586 @wishmaster270
      last edited by Oct 21, 2022, 11:51 AM

      @wishmaster270 Mate you’re a genius. Worked perfectly. Seriously can’t thank you enough. Just one question, it’s not 24 hours radio, when it’s come back online will it start automatically? On my computer browser on the radio page when it’s come back online it doesn’t go live automatically, I need to press refresh button to go live.

      W 1 Reply Last reply Oct 21, 2022, 12:12 PM Reply Quote 0
      • W Offline
        wishmaster270 Module Developer @tanvir586
        last edited by Oct 21, 2022, 12:12 PM

        @tanvir586 Great if I could help.
        I am not sure how vlc will handle a connection loss. Normally it will try to reconnect but I do not know how long and often it tries.
        Maybe there is a command line option but I think the best option is to try it

        T 3 Replies Last reply Oct 21, 2022, 12:23 PM Reply Quote 0
        • T Offline
          tanvir586 @wishmaster270
          last edited by Oct 21, 2022, 12:23 PM

          @wishmaster270 ok. Will try and let you know. Really appreciated. Thanks 😊

          1 Reply Last reply Reply Quote 0
          • T Offline
            tanvir586 @wishmaster270
            last edited by Oct 23, 2022, 5:07 PM

            @wishmaster270 Hi. Ive just checked it doesn’t go online after radio came back online. the link I gave you before that is 24 hour’s radio. But I used this link https://relay.emasjidlive.uk/kingsheathmasjid

            but it didn’t work. the channel went offline at 4.30pm uk time and came back online at 6.00pm. I pressed stop button and press play and it start working.

            1 Reply Last reply Reply Quote 0
            • T Offline
              tanvir586 @wishmaster270
              last edited by Oct 24, 2022, 7:36 AM

              @wishmaster270 is there any command I can use for auto reconnect?

              W 1 Reply Last reply Oct 24, 2022, 8:50 AM Reply Quote 0
              • W Offline
                wishmaster270 Module Developer @tanvir586
                last edited by Oct 24, 2022, 8:50 AM

                @tanvir586 Sorry, needed a moment to figure things out…

                You can try to add “–http-reconnect” and maybe “–http-continuous” to the options.

                Your config should look something like this then:

                
                
                       {
                		module: "MMM-MplayerRadio",
                		header: "Radio",
                		position: "top_center",
                		config: {
                			//autoplay: 0,
                                        customCommand: "/usr/bin/vlc",
                                        customCommandArgs: ["-I","dummy", "--http-reconnect", "--http-continuous", "###URL###"],
                			stations: [
                				{
                					title: "Al Mubarak",
                					url: "https://relay.emasjidlive.uk/almubarakradio",
                					logo: "https://upload.wikimedia.org/wikipedia/commons/a/ac/Antenne-bayern-logo.png",
                				},
                			],
                		},
                	},
                
                
                T 2 Replies Last reply Oct 24, 2022, 9:16 AM Reply Quote 0
                • T Offline
                  tanvir586 @wishmaster270
                  last edited by Oct 24, 2022, 9:16 AM

                  @wishmaster270 thanks mate. I’ll try today.

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    tanvir586 @wishmaster270
                    last edited by Oct 24, 2022, 5:08 PM

                    @wishmaster270 It didn’t work. it do work when I press stop and play agian.

                    config ;-

                    		{
                    	module: "MMM-MplayerRadio",
                    	header: "Radio",
                    	position: "top_center",
                    	config: {
                    		autoplay: 0,
                                        customCommand: "/usr/bin/vlc",
                                        customCommandArgs: ["-I","dummy", "--http-reconnect", "--http-continuous", "###URL###"],
                    		stations: [
                    			{
                    				title: "Al Mubarak",
                    				url: "https://relay.emasjidlive.uk/kingsheathmasjid",
                    				logo: "https://upload.wikimedia.org/wikipedia/commons/a/ac/Antenne-bayern-logo.png",
                    			},
                    		],
                    	},
                    },
                    
                    W 2 Replies Last reply Oct 24, 2022, 6:06 PM Reply Quote 0
                    • W Offline
                      wishmaster270 Module Developer @tanvir586
                      last edited by Oct 24, 2022, 6:06 PM

                      @tanvir586 I will try to dig deeper the next days but I can not promise that I will have the time.
                      Maybe I can write a simple wrapper for vlc which ends the process when the streams stops or is unreachable and tries to start the process every few seconds.
                      Did not find any better solution til now.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 3 / 6
                      3 / 6
                      • First post
                        21/52
                        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