<?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[Load based on classes]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/13599/mmm-mp3player-remade-asimhsidd-s-player">MMM-MP3Player (remade asimhsidd's player)</a></p>
<p dir="auto">Hi<br />
I have added your module to my mirror, and it plays as noted. But I wanted to use it in conjunction with my facila recog module by creating 2 entries in my config file.</p>
<p dir="auto">Each entry would differ based on the classes label (2 different people), I hoped it would load the music stored in <em>/home/pi/MagicMirror/modules/MMM-MP3Player/music/Name 1</em> or <em>/home/pi/MagicMirror/modules/MMM-MP3Player/music/Name 2</em> dependant on which face it saw.</p>
<p dir="auto">It seems to play music randomly and does not seem to load correctly based on the classes assigned.</p>
<p dir="auto">Do I need to make any changes to the the actual module file.</p>
<p dir="auto">Have you heard of any similar issues when you try to load the module based on classes with face recog.  All my other modules seem to work well based on classes, this leads me to beleive it is something to do with this particular.</p>
]]></description><link>https://forum.magicmirror.builders/topic/16029/load-based-on-classes</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Jul 2026 17:36:45 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/16029.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 16 Dec 2021 22:29:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Load based on classes on Thu, 16 Dec 2021 22:49:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a><br />
Thank you, I wanted to use the Face Recog function to play a message when it recognises a face.<br />
This would be a simlpe mp3 saying something like  " Hello XXXXX" .</p>
<p dir="auto">I was hoping to do this using this module by using classes, but thnk you for pointing out this would not work.<br />
Do you know what I could use, before you starting talkimg real techy, I am a novice and no real coding experience.</p>
]]></description><link>https://forum.magicmirror.builders/post/97577</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/97577</guid><dc:creator><![CDATA[mm1964]]></dc:creator><pubDate>Thu, 16 Dec 2021 22:49:08 GMT</pubDate></item><item><title><![CDATA[Reply to Load based on classes on Thu, 16 Dec 2021 22:41:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mm1964" aria-label="Profile: mm1964">@<bdi>mm1964</bdi></a> I do not think this module supports multiple instances in config.js</p>
<p dir="auto">mm can only show or hide modules. it does not load them on demand.</p>
]]></description><link>https://forum.magicmirror.builders/post/97576</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/97576</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 16 Dec 2021 22:41:58 GMT</pubDate></item></channel></rss>