A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Happy Halloween! I kinda took over the office mirror for a month
-
Sorry about the delay! Lots of other projects going on at the Fortress Hepler.
To answer your questions, @johnnyboy :
- I created a simple one-line script that plays the video on a loop and then added it to the PM2 management via
pm2 start boo.sh
andpm2 save
. I disabled the Magic Mirror interface viapm2 stop MagicMirror
andpm2 save
. Now when then mirror boots, PM2 only watches over the script that calls the video playback. - It’s not running the MagicMirror interface. No sense using all that overhead and calls to the weather API when it’s not being displayed.
- Caveat: the right display runs a video on loop under normal circumstances. Commenting out the one line that runs that video file and adding a line to play a different video file was trivial.
- Yes, VLC has the option to play a playlist or single file on a loop. You can find the command line options at VLC Help
- Not really. The file is already on the disk and sized to the resolution of the monitor. There’s no CPU or GPU intensive tasks and the on board hardware acceleration takes care of most of it.
@elitecybernet - Yeah, there is sound included in the video files. I turned it down as it got really distracting really quickly. The video is only like 3 minutes long and hearing the demonic laughter every 3 minutes got old. I think the left portrait was at 50% volume and the right was completely muted.
Now that Halloween is gone, I reverted the left & right displays to their original format. Because PM2 manages the scripts, it took all of 30 seconds per display. The hardest part was remembering their IP address so I could log in.
- I created a simple one-line script that plays the video on a loop and then added it to the PM2 management via