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.

    Face recognition and then play a random video

    Scheduled Pinned Locked Moved Requests
    8 Posts 3 Posters 4.4k Views 4 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.
    • paviroP Offline
      paviro Admin
      last edited by

      Hi there,
      I just added a CURRENT_USER broadcast so when a user is logged in my module sends a notification to all other modules.
      To play your video write a module that listens to the CURRENT_USER notification the payload is the current user or None if a user is logged out.

      Cheers,
      Paul

      We're all stories in the end. Just make it a good one, eh?

      – The Doctor

      1 Reply Last reply Reply Quote 0
      • N Offline
        nuckinfutz
        last edited by nuckinfutz

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • L Offline
          Labzz
          last edited by Labzz

          Is this topic still alive?
          @paviro I’m using your face recognition module from github, and i though about playing xscreensaver video’s playing when the ‘default’ array is loaded

          If an unknown person watching the mirror, the clock will be shown in the +/- top 10% of the mirror,
          The other 90% is just empty and black, wouldn’t be awesome if you can watch crazy and tripping screensavers to hold the attention?

          A module that plays video’s randomly after each other downloaded in a specific folder on the bottom 90% (width/height)?

          Hope to hear you soon!
          Can’t be hard to develop, my coding skills aren’t 10/10 but I will do the best i can! It’s always a good learning process ;)
          Every help would be great!!

          • [https://www.youtube.com/watch?v=xBprAm9w-Fo&t=1s](example 1)
          • [https://www.youtube.com/watch?v=JJqVfnMstuw&t=33s](example 2)
          1 Reply Last reply Reply Quote 0
          • N Offline
            nuckinfutz
            last edited by

            I got this done using 2 different methods. One was using the HTML video player. The other was using the OMX player
            I’llpost code later tonight And explain better

            L 1 Reply Last reply Reply Quote 1
            • L Offline
              Labzz @nuckinfutz
              last edited by

              @nuckinfutz Epic hope to hear you soon!

              N 1 Reply Last reply Reply Quote 0
              • N Offline
                nuckinfutz @Labzz
                last edited by

                @Labzz I’ll have it posted very soon. Sorry I got called away.

                1 Reply Last reply Reply Quote 0
                • N Offline
                  nuckinfutz
                  last edited by

                  https://github.com/Nuckinfutz/MM-random-video-player

                  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