<?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[MMM-MP3Player (remade asimhsidd&#x27;s player)]]></title><description><![CDATA[<p dir="auto">Hi, community!<br />
I present a MagicMirror module for playing music from folder.<br />
This is the version of the <a href="https://forum.magicmirror.builders/topic/7136/mmm-mp3player">asimhsidd’s MMM-MP3Player</a> module remade to my needs.<br />
<a class="plugin-mentions-user plugin-mentions-a" href="/user/asimhsidd" aria-label="Profile: asimhsidd">@<bdi>asimhsidd</bdi></a>, thank you very much for so beautiful player!</p>
<p dir="auto">Differences:</p>
<ul>
<li>my version play music from <code>path</code>, not USB;</li>
<li>besides .mp3, supports .wav and .flac;</li>
<li>has <code>autoplay</code>, <code>random</code> and <code>loop</code> options;</li>
<li>can be controlled with notifications;</li>
<li>only supports rock music.</li>
</ul>
<p dir="auto">It was a first time I have ever worked with JavaScript. I know nothing! I just wanted working mp3 player for my mirror. After unsuccessful installations of several modules, I decided to remade asimhsidd’s player.</p>
<p dir="auto">P.S.: thank you, MichMich, for so cool project and community. Thank you, <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a>, for your numerous responses and hints and for helping module developers. I just want you to know you helped a lot of people (not only in this forum).</p>
<p dir="auto"><a href="https://github.com/x3mEr/MMM-MP3Player" target="_blank" rel="noopener noreferrer nofollow ugc">Download</a></p>
]]></description><link>https://forum.magicmirror.builders/topic/13599/mmm-mp3player-remade-asimhsidd-s-player</link><generator>RSS for Node</generator><lastBuildDate>Wed, 13 May 2026 15:27:59 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/13599.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 05 Sep 2020 06:18:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MMM-MP3Player (remade asimhsidd&#x27;s player) on Tue, 05 Mar 2024 01:25:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonae" aria-label="Profile: Jonae">@<bdi>Jonae</bdi></a> hi did you ever manage to control another way?</p>
]]></description><link>https://forum.magicmirror.builders/post/116058</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/116058</guid><dc:creator><![CDATA[bachoo786]]></dc:creator><pubDate>Tue, 05 Mar 2024 01:25:54 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MP3Player (remade asimhsidd&#x27;s player) on Sun, 07 Nov 2021 20:57:20 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> thanks anyways!!</p>
]]></description><link>https://forum.magicmirror.builders/post/96111</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/96111</guid><dc:creator><![CDATA[Jonae]]></dc:creator><pubDate>Sun, 07 Nov 2021 20:57:20 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MP3Player (remade asimhsidd&#x27;s player) on Sun, 07 Nov 2021 20:48:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonae" aria-label="Profile: jonae">@<bdi>jonae</bdi></a> ok, can’t help with remote and I don’t use that module</p>
]]></description><link>https://forum.magicmirror.builders/post/96107</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/96107</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 07 Nov 2021 20:48:15 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MP3Player (remade asimhsidd&#x27;s player) on Sun, 07 Nov 2021 20:30:39 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> i have done it with curl, but now I am searching a easier way to play and stop music using curl</p>
]]></description><link>https://forum.magicmirror.builders/post/96104</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/96104</guid><dc:creator><![CDATA[Jonae]]></dc:creator><pubDate>Sun, 07 Nov 2021 20:30:39 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MP3Player (remade asimhsidd&#x27;s player) on Sun, 07 Nov 2021 19:55:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonae" aria-label="Profile: jonae">@<bdi>jonae</bdi></a> notification is a text string</p>
<p dir="auto">notification is just a text string, here its  ‘PLAY_MUSIC’</p>
<p dir="auto">u have to configure that as remote doesn’t have it built in.</p>
]]></description><link>https://forum.magicmirror.builders/post/96095</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/96095</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 07 Nov 2021 19:55:20 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MP3Player (remade asimhsidd&#x27;s player) on Sun, 07 Nov 2021 17:46:10 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> thanks for the tipp, but nothing happens. like it is ignoring the notification, maybe remote control is not sending the right notification…</p>
]]></description><link>https://forum.magicmirror.builders/post/96091</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/96091</guid><dc:creator><![CDATA[Jonae]]></dc:creator><pubDate>Sun, 07 Nov 2021 17:46:10 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MP3Player (remade asimhsidd&#x27;s player) on Sun, 07 Nov 2021 16:57:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonae" aria-label="Profile: jonae">@<bdi>jonae</bdi></a> do you have the music defined in config?</p>
<p dir="auto">u can use the developers window, sources tab to walk thru the modules code</p>
<p dir="auto">ctrl-shift-i, select the sources tab,  find the module and its js file,  will show to the right</p>
<p dir="auto">click the line number  in the left edge where the notificationReceived  is</p>
<p dir="auto">then send your notification and it shoudl stop there, then the circle arrow, is step instruction<br />
and u can hover over the variables to see what they contain</p>
<p dir="auto">blue arrow to run  to next stop (if any)</p>
]]></description><link>https://forum.magicmirror.builders/post/96090</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/96090</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 07 Nov 2021 16:57:08 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MP3Player (remade asimhsidd&#x27;s player) on Sun, 07 Nov 2021 16:53:56 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> i saw that, i send the notification and nothing happens…</p>
]]></description><link>https://forum.magicmirror.builders/post/96089</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/96089</guid><dc:creator><![CDATA[Jonae]]></dc:creator><pubDate>Sun, 07 Nov 2021 16:53:56 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MP3Player (remade asimhsidd&#x27;s player) on Sun, 07 Nov 2021 16:42:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonae" aria-label="Profile: jonae">@<bdi>jonae</bdi></a> looks like from the code, it can play music that is defined in the config.</p>
<pre><code>				case "PLAY_MUSIC":
					if (audioElement.paused){
						audioElement.play();
					}
					else {
						self.sendSocketNotification("LOADFILE", self.songs[self.current]);
					}
					break;
				case "STOP_MUSIC":
					audioElement.pause();
					break;
				case "NEXT_TRACK":
					if(!self.musicFound){
						self.album_art.classList.toggle('active');
						return;
					}
					if (self.config.random){
						if (!arrPlayed.includes(false)){
							arrPlayed.fill(false);
						}
						do {
							ind = Math.floor(Math.random() * self.songs.length); // (self.current + 1) % self.songs.length;
						} while (arrPlayed[ind] || ind == self.current); // ind == self.current: not to play one song twice - in the end of list and in the beginning of newly created list)
						arrPlayed[ind] = true;
						self.current = ind;
					}
					else {
						if(self.current==(self.songs.length-1)){ // this assures the loop
							self.current = -1;
						}
						self.current++;
					}
					self.sendSocketNotification("LOADFILE", self.songs[self.current]);
					break;
				case "PREVIOUS_TRACK":
					if(self.current==0){ // this assures the loop
							self.current = (self.songs.length);
						}
					self.current--;
					self.sendSocketNotification("LOADFILE", self.songs[self.current]);
					break;
				case "RANDOM_ON":
					self.config.random = true;
					break;
				case "RANDOM_OFF":
					self.config.random = false;
					break;
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/96088</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/96088</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 07 Nov 2021 16:42:13 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MP3Player (remade asimhsidd&#x27;s player) on Sun, 07 Nov 2021 15:38:35 GMT]]></title><description><![CDATA[<p dir="auto">i cant get notifications to start the player. Can you add an example? Thanks. How to use it with<br />
MMM-Remote-Control.</p>
]]></description><link>https://forum.magicmirror.builders/post/96086</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/96086</guid><dc:creator><![CDATA[Jonae]]></dc:creator><pubDate>Sun, 07 Nov 2021 15:38:35 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MP3Player (remade asimhsidd&#x27;s player) on Mon, 14 Sep 2020 21:54:38 GMT]]></title><description><![CDATA[<h2>UPD:</h2>
<p dir="auto">Version 1.2.0 - 2020.09.14</p>
<ul>
<li>Now player displays album cover. It tries to retrieve the image from ID3-Tags, if nothing found, it searches file <code>cover.jpg</code> in the playing music file directory.</li>
<li>add: turn random on/off over notifications.<br />
<em>more in <code>README.md</code></em></li>
</ul>
]]></description><link>https://forum.magicmirror.builders/post/81786</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81786</guid><dc:creator><![CDATA[x3mEr]]></dc:creator><pubDate>Mon, 14 Sep 2020 21:54:38 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MP3Player (remade asimhsidd&#x27;s player) on Mon, 14 Sep 2020 21:43:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/emrah_asl" aria-label="Profile: emrah_asl">@<bdi>emrah_asl</bdi></a>, Hi. This module does not provide such opportunity. I think you should search module that can turn on/off  or hide other modules on time.</p>
]]></description><link>https://forum.magicmirror.builders/post/81784</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81784</guid><dc:creator><![CDATA[x3mEr]]></dc:creator><pubDate>Mon, 14 Sep 2020 21:43:34 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-MP3Player (remade asimhsidd&#x27;s player) on Sat, 12 Sep 2020 09:51:03 GMT]]></title><description><![CDATA[<p dir="auto">Hi, How can I enable mp3 player only between 3 hours in a day ?</p>
<p dir="auto">05.00 AM - 08.00 AM</p>
]]></description><link>https://forum.magicmirror.builders/post/81624</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/81624</guid><dc:creator><![CDATA[emrah_asl]]></dc:creator><pubDate>Sat, 12 Sep 2020 09:51:03 GMT</pubDate></item></channel></rss>