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-MPlayer

    Scheduled Pinned Locked Moved Solved Entertainment
    5 Posts 2 Posters 721 Views 1 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.
    • plainbrokeP Offline
      plainbroke
      last edited by plainbroke

      Anyone else having trouble with MMM-MPlayer?
      All the sudden I can not get it to see my camera’s, 7 of them and I have tested they all work in VLC on my laptop… I know its kind of like comparing apples to oranges.
      Any Ideas. Here are How i install it.
      In the home directory /home/pi
      sudo apt install -y mplayer
      Then I do in ~MagicMirror/modules
      git clone https://github.com/evroom/MMM-MPlayer.git
      Then in my Config.js

      		{
      				module: "MMM-MPlayer",
      //		        		disabled: true,
      				position: "top_left",
      				header: "",
      				config: {
      					useTwoWindows: false,  //true,
      					layout: "row",
      					monitorAspect: 0,
      					rotate: -1,
      					windowSize: { width: 1860, height: 920 },
      					windowPosition: { x: 5, y: 5 },
      					streamInterval: 20000,
      				streams: {
      						window1: [
      							"rtsp://admin1:admin1@192.168.1.40:554/stream1",
      							"rtsp://admin1:admin1@192.168.1.42:554/stream1",
      						],
      				}
      			}
      		},
      

      Help me I have fallen down a rabbit hole I think…
      Raspberry Pi 4 w 4gb ram
      Bookworm fully updated.
      MagicMirror latest version 2.32 I think.it is.

      PS:
      It was working on this exact setup 3 days ago, but after it came backup after pm2 stop @9pm and pm2 restart @7am, it did not work… It does it automatically, happens every day.

      Slow learner. But trying anyways.

      evroomE 1 Reply Last reply Reply Quote 0
      • evroomE Offline
        evroom @plainbroke
        last edited by

        @plainbroke

        Can you please provide me with the output of:

        $ grep Version /home/admin/MagicMirror/modules/MMM-MPlayer/node_helper.js

        And the commands found in this section of the README:

        https://github.com/evroom/MMM-MPlayer?tab=readme-ov-file#data-gathering

        I have a feeling you have placed the config from the old version into the ‘new’ version.
        Or in other words: you installed version 2…0.1, without changing the config accordingly, which has changed quite a bit.
        See https://github.com/evroom/MMM-MPlayer?tab=readme-ov-file#config-example

        MagicMirror version: 2.30.0
        Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
        Raspbian GNU/Linux 12 (bookworm)

        Test environment:
        MagicMirror version: v2.30.0
        Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
        Raspbian GNU/Linux 12 (bookworm)

        plainbrokeP 2 Replies Last reply Reply Quote 1
        • plainbrokeP Offline
          plainbroke @evroom
          last edited by

          @evroom
          Version 2
          I will reload it and try again.
          Thanks for the information.

          Slow learner. But trying anyways.

          1 Reply Last reply Reply Quote 0
          • plainbrokeP Offline
            plainbroke @evroom
            last edited by

            @evroom
            You are correct sir,
            I had done a git pull and forgot about it on all modules.
            Yours updated me to 2.0 version and my config was from the 1.0 version.
            Fixed me right up.
            Thanks for your help.
            Really appreciated.

            Slow learner. But trying anyways.

            evroomE 1 Reply Last reply Reply Quote 0
            • plainbrokeP plainbroke marked this topic as a question on
            • plainbrokeP plainbroke has marked this topic as solved on
            • evroomE Offline
              evroom @plainbroke
              last edited by

              @plainbroke
              Happy to help.

              MagicMirror version: 2.30.0
              Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
              Raspbian GNU/Linux 12 (bookworm)

              Test environment:
              MagicMirror version: v2.30.0
              Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
              Raspbian GNU/Linux 12 (bookworm)

              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