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.8k 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.
    • N Offline
      nuckinfutz
      last edited by

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • paviroP Offline
        paviro
        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

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • 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