MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.

    Conceptual check: Can I make MM2 work for a home theatre?

    Entertainment
    3
    6
    234
    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.
    • S
      SpinCharm last edited by

      I’d like to adapt MM and a couple of modules to do the following:

      • Display a poster that’s dependent on what’s currently playing in Plex (hopefully via a slightly modified PlexNowPlaying module

      • When nothing is playing, display random assorted posters, perhaps via MMM-PlexSlideShow or MMM-ImageSlideShow, or MMM-RandomPhoto

      With nothing else on the screen, and the images being ‘full screen’.
      And, perhaps:

      • Play movie trailers, which essentially means having it play specific video files via something like MMM-Videoplayer, and
      • have the screen only turn on when motion is detected, via a motion sensor; perhaps using MMM-MotionControl.

      Conceptually, these and other modules, or slightly modified versions, seem on the surface to be able to do what I’m hoping to do, which is nothing complex:

      • turn on when someone approaches
      • if a movie is currently playing on a specific Plex client, display the poster for that movie
      • if no movie is currently playing, display a random poster.
      • with nothing else on the screen, and the images full-screen.

      Yes? No? Hard? I’m fairly familiar with scripting, python, php, linux etc. so I expect I’ll need to examine existing modules and grab bits from here and there to make it all work.

      So is it doable or am I trying to bend MM2 too far from it’s roots?

      S J 2 Replies Last reply Reply Quote 0
      • S
        sdetweil @SpinCharm last edited by

        @SpinCharm seems logical

        key item…

        mm can only show or hide modules. it can ot load any on the fly

        see my SampleModule
        https://github.com/sdetweil/SampleModule

        it implements the spec , found in the documentation link

        Sam

        Create a working config
        How to add modules

        S 1 Reply Last reply Reply Quote 0
        • S
          SpinCharm @sdetweil last edited by

          @sdetweil Ok thanks for clarifying that. I’m not sure what the impact of that limitation is, though. Couldn’t I just have several modules that are loaded at the start, with some of them hidden and others visible, and change their visibility when certain triggers are hit?

          For instance, have only 2 modules installed or loaded - one that displays a photo full screen; the other that displays a photo full screen as well (but a different module that uses different logic to choose that photo).

          Then have some sort of trigger that determines which module will be visible.
          They’d both display in the same space (entire screen), but only one would be active at a time.
          Does that work within the framework?

          S 1 Reply Last reply Reply Quote 0
          • S
            sdetweil @SpinCharm last edited by

            @SpinCharm yes, that is what I was saying you would have to do.

            Sam

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • J
              jasondreher @SpinCharm last edited by

              @SpinCharm
              You would have to incorporate something like https://www.home-assistant.io/. This will be able to save a file of what is playing on PLEX and then the MM can show hide…

              S 1 Reply Last reply Reply Quote 0
              • S
                sdetweil @jasondreher last edited by

                @jasondreher there is a LOT of integration that has to be created

                Sam

                Create a working config
                How to add modules

                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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy