• 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 14.9k 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.
  • T Offline
    tanvir586 @wishmaster270
    last edited by Oct 25, 2022, 2:35 PM

    @wishmaster270 I’m not getting any sound.
    config is right?

    	{
    		module: "MMM-MplayerRadio",
    		header: "Radio",
    		position: "top_center",
    		config: {
    			stations: [
    				{
    					title: "Almubarak",
    					url: "https://relay.emasjidlive.uk/almubarakradio",
    					logo: "https://almubarakradio.com/wp-content/uploads/2021/04/logorectangle-1024x326.png",
    					customCommand: "/home/pi/MagicMirror/modules/MMM-MplayerRadio/scripts/streamlinkWrapper.bash",
    					customCommandArgs: ["10", "30", "###URL###"],
    				},
    			],
    		},
    	},
    

    I added this line aswell
    customCommandArgs: [“-I”,“dummy”, “–http-reconnect”, “–http-continuous”, “###URL###”],

    but didn’t work

    T 1 Reply Last reply Oct 25, 2022, 4:26 PM Reply Quote 0
    • T Offline
      tanvir586 @tanvir586
      last edited by Oct 25, 2022, 4:26 PM

      @tanvir586 If I used this config then the sound works but open vlc in separate windows

      {
      	module: "MMM-MplayerRadio",
      	header: "Radio",
      	position: "top_center",
      	config: {
      		stations: [
      			{
      				title: "Almubarak",
      				url: "https://relay.emasjidlive.uk/almubarakradio",
      				logo: "https://almubarakradio.com/wp-content/uploads/2021/04/logorectangle-1024x326.png",
      

      customCommand: “/usr/bin/vlc”,
      customCommand: “/home/pi/MagicMirror/modules/MMM-MplayerRadio/scripts/streamlinkWrapper.bash”,
      customCommandArgs: [“10”, “30”, “###URL###”],
      },
      ],
      },
      },

      1 Reply Last reply Reply Quote 0
      • T Offline
        tanvir586
        last edited by Oct 25, 2022, 5:55 PM

        If I use this config then vlc open is separate window and it’s looks like this.

        	{
        		module: "MMM-MplayerRadio",
        		header: "Radio",
        		position: "top_center",
        		config: {
        			stations: [
        				{
        					title: "Almubarak",
        					url: "https://relay.livemasjid.com:8443/activestream",
        					logo: "https://almubarakradio.com/wp-content/uploads/2021/04/logorectangle-1024x326.png",
        					customCommand: "/home/pi/MagicMirror/modules/MMM-MplayerRadio/scripts/streamlinkWrapper.bash",
        					customCommand: "/usr/bin/vlc",
        					customCommandArgs: ["10", "30", "###URL###"],
        				},
        			],
        		},
        	},
        

        picture ;-
        20221025_185152 (1).jpg

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

          @tanvir586 Sorry, i am not at my pc at the moment. You only need the first customCommand line. The one with vlc is wrong.
          You can try to run the run the command directly on the shell and see what happens.

          /home/pi/MagicMirror/modules/MMM-MplayerRadio/scripts/streamlinkWrapper.bash 10 30 https://relay.emasjidlive.uk/almubarakradio
          

          You can end it by pressing CRTL+c

          T 1 Reply Last reply Oct 25, 2022, 7:38 PM Reply Quote 0
          • T Offline
            tanvir586 @wishmaster270
            last edited by Oct 25, 2022, 7:38 PM

            @wishmaster270 Hi, it’s says this

            tanvir@raspberrypi:~ $ /home/pi/MagicMirror/modules/MMM-MplayerRadio/scripts/streamlinkWrapper.bash 10 30 https://relay.emasjidlive.uk/almubarakradio
            bash: /home/pi/MagicMirror/modules/MMM-MplayerRadio/scripts/streamlinkWrapper.bash: No such file or directory

            T 1 Reply Last reply Oct 25, 2022, 7:40 PM Reply Quote 0
            • T Offline
              tanvir586 @tanvir586
              last edited by Oct 25, 2022, 7:40 PM

              @tanvir586 and I installed mplayer.

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

                @tanvir586 Are you sure you are running the latest version of the module?
                The error says that the wrapper script I added yesterday does not exist.
                Can you please check the script folder and check if the file is executable?

                T 1 Reply Last reply Oct 25, 2022, 8:01 PM Reply Quote 0
                • T Offline
                  tanvir586 @wishmaster270
                  last edited by Oct 25, 2022, 8:01 PM

                  @wishmaster270 I’ve updated yesterday. I’ll check again now

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    tanvir586
                    last edited by Oct 25, 2022, 8:05 PM

                    20221025_210349.jpg

                    Should I reinstall? Or delete the module and fresh install?

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

                      @tanvir586 You installed to a different user. Your path will be

                      /home/tanvir/MagicMirror/modules/MMM-MplayerRadio/scripts/streamlinkWrapper.bash
                      
                      T 2 Replies Last reply Oct 25, 2022, 8:22 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 4 / 6
                      4 / 6
                      • First post
                        38/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