Read the statement by Michael Teeuw here.
MMM-MPlayer
-
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. -
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 -
@evroom
Version 2
I will reload it and try again.
Thanks for the information. -
@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. -
P plainbroke marked this topic as a question on
-
P plainbroke has marked this topic as solved on
-
@plainbroke
Happy to help.