<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Need help to develop a Module for Halloween]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I’m trying to make this project ( <a href="https://www.instructables.com/id/Raspberry-Pi-Based-Living-Portrait-Player-Intro/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.instructables.com/id/Raspberry-Pi-Based-Living-Portrait-Player-Intro/</a> ) into a Module.</p>
<p dir="auto">The difficulty I have is that I’m using Simple-Swiper module to switch the pages of my mirror.</p>
<p dir="auto">Here is what I’m trying to do :</p>
<p dir="auto">the user can navigate on the different pages.<br />
when he reaches the last page , omx player is displayed with the video but doesn’t play the video. It just display the first image. This is what is done in the Living-Portrait-Player.<br />
if a move is detected, the video plays.<br />
if the user switch the page, omx is killed and disappears.<br />
I’m asking for your help because I have already started something but I can’t manage to make it work.</p>
<p dir="auto">I’m getting inspiration from multiple modules for this project.</p>
<p dir="auto">MMM-PIR which is the one I’m using as a main module and I’m modifying the code of that module.<br />
MMM-Podcast<br />
MMM-pages to find out what is the current page<br />
MMM-RTSPStream for methods related to omxplayer<br />
I wonder if I can use the callback method in MMM-PIR to run the script when the user arrives on the page. I haven’t tried that yet. And also, how to kill omx when the user changes the page.</p>
<p dir="auto">I’m also having difficulties to get the current page in the MM-PIR modules.<br />
I’m using<br />
this.sendNotification(“QUERY_PAGE_NUMBER”);<br />
in the MMM-PIR.js but seems like MMM-pages doesn’t receive the notification.</p>
<p dir="auto">I would be so thankful if someone could help me working on this.</p>
]]></description><link>https://forum.magicmirror.builders/topic/10978/need-help-to-develop-a-module-for-halloween</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Jul 2026 16:12:14 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/10978.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 16 Aug 2019 14:48:07 GMT</pubDate><ttl>60</ttl></channel></rss>