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.

    Happy Halloween! I kinda took over the office mirror for a month

    Scheduled Pinned Locked Moved Show your Mirror
    11 Posts 8 Posters 4.4k Views 9 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.
    • bheplerB Offline
      bhepler Module Developer
      last edited by bhepler

      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 and pm2 save. I disabled the Magic Mirror interface via pm2 stop MagicMirror and pm2 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.

      1 Reply Last reply Reply Quote 0
      • 1
      • 2
      • 2 / 2
      • 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