Read the statement by Michael Teeuw here.
Conceptual check: Can I make MM2 work for a home theatre?
-
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?
-
-
@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/SampleModuleit implements the spec , found in the documentation link
-
@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? -
@SpinCharm yes, that is what I was saying you would have to do.
-
@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… -
@jasondreher there is a LOT of integration that has to be created