MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. wishmaster270
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 0
    • Followers 6
    • Topics 16
    • Posts 338
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: Online Radio

      @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”

      posted in Entertainment
      wishmaster270W
      wishmaster270
    • RE: Online Radio

      @tanvir586 Ok. Maybe the vlc on the shell ignores it.

      Found an interesting thread which suggests running vlc with a additional option:

             {
      		module: "MMM-MplayerRadio",
      		header: "Radio",
      		position: "top_center",
      		config: {
      			//autoplay: 0,
                              customCommand: "/usr/bin/vlc",
                              customCommandArgs: ["-I","dummy", "--alsa-audio-device", "hw:0,0", "###URL###"],
      			stations: [
      				{
      					title: "Al Mubarak",
      					url: "https://emasjidlive.co.uk/listen/almubarakradio",
      					logo: "https://upload.wikimedia.org/wikipedia/commons/a/ac/Antenne-bayern-logo.png",
      				},
      			],
      		},
      	},
      

      If you use a Raspberry Pi 4 with two hdmi you may need to change “hw:0,0” to “hw:1,0” depending of the port your monitor is connected to.

      Maybe this helps. I can not test it at the moment.

      Edit:

      Some people suggest to add

      dtoverlay=vc4-fkms-v3d
      

      to “/boot/config.txt” additionally.

      posted in Entertainment
      wishmaster270W
      wishmaster270
    • RE: Online Radio

      @wishmaster270 If you do a right click on the speaker symbol you can decide where to output the sound:

      speaker.png

      posted in Entertainment
      wishmaster270W
      wishmaster270
    • RE: Online Radio

      @tanvir586 If you do have graphical access directly or via vnc you can check the audio settings first.
      Maybe the sound is send to analog out instead of hdmi.

      posted in Entertainment
      wishmaster270W
      wishmaster270
    • RE: Online Radio

      @bugsounet Oh, good to know. I use Bullseye for a while but currently only have a mirror running without audio.

      @tanvir586
      In default mode (which you use) mplayer is used. As i wrote in the documentation mplayer has caused a lot of problems with many streams. You could try to switch to vlc instead which is working much better but does not provide the current stream information.

      	{
      		module: "MMM-MplayerRadio",
      		header: "Radio",
      		position: "top_center",
      		config: {
      			//autoplay: 0,
                              customCommand: "/usr/bin/vlc",
                              customCommandArgs: ["-I","dummy","###URL###"],
      			stations: [
      				{
      					title: "Al Mubarak",
      					url: "https://emasjidlive.co.uk/listen/almubarakradio",
      					logo: "https://upload.wikimedia.org/wikipedia/commons/a/ac/Antenne-bayern-logo.png",
      				},
      			],
      		},
      	},
      

      Make sure to install vlc first:

      sudo apt update && sudo apt install -y vlc
      
      posted in Entertainment
      wishmaster270W
      wishmaster270
    • RE: Online Radio

      @tanvir586 Had a lot of problems with the sound of Raspberry as well. It do not think that it is a problem with the modules it might be a problem with the asound or pulseaudio configuration of the operating system.

      If you use Buster release sound is configured by asound, if you use Bullseye it is PulseAudio.

      Do you use the build in sound of the board or a external sound card?

      posted in Entertainment
      wishmaster270W
      wishmaster270
    • RE: Online Radio

      @tanvir586 Hi,
      i developed MMM-MplayerRadio a couple of years ago. It still should be functional.

      posted in Entertainment
      wishmaster270W
      wishmaster270
    • RE: MagicMirror install on proxmox LXC Container?

      @sdetweil You are right in running apps with & in the background but if you disconnect the ssh session all background commands will be disconnected as well.
      Either screen or a command like nohup needs to be used to keep the command running.

      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: MagicMirror install on proxmox LXC Container?

      @kusselin
      Hi,

      if your problem is only to keep the command running while/after you disconnected to the container you can use the “screen” command.
      It you should be installed with Ubuntu already. If not you can install it with

      sudo apt update && sudo apt install -y screen
      

      You then start a new screen with

      screen -S NAME
      

      while NAME is simply an alias and could be something like “mm”.

      After this you can start the mirror with

      npm run server
      

      And you can leave the screen with the keyboard combination

      CRTL+ad
      

      The screen then keeps running. If you want the resume to the screen you can use

      screen -r NAME
      
      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • RE: MagicMirror Version

      @kusselin
      Hi,

      you can jump to your MagicMirror directory and run:

      git log | head -n 10 | grep Release
      
      posted in Troubleshooting
      wishmaster270W
      wishmaster270
    • 1 / 1