MMM-BackgroundSlideshow icon indicating copy to clipboard operation
MMM-BackgroundSlideshow copied to clipboard

Frequency of image change increases with every connected client

Open fr0nk opened this issue 5 years ago • 2 comments

Issue: When only a single client (browser) is connected to the MagicMirror, everything works fine. But open another tab with the MagicMirror Url and the images change in higher frequency in all tabs. Open a few more and the background image changes like crazy.

Config: Default installation with default settings, only changed transitionImages to false so the image change is visible with high frequency.

fr0nk avatar Dec 12 '19 13:12 fr0nk

I'm seeing this same behavior. I have 3 tablets in the house all looking at a central server-only MagicMirror instance and the images just flash like crazy on each tablet.

ryanm7780 avatar Jan 24 '20 19:01 ryanm7780

I see the same issue, is there any way to avoid this?

dushyantahuja avatar Jun 08 '21 02:06 dushyantahuja

The issue seems to arise because the timer is instantiated once on every client (by MMM-BackgroundSlideshow.js) , as opposed to just once (if it were to live in node_helper.js) - and when any timer fires the image changes.

crazyscot avatar Nov 29 '23 01:11 crazyscot