darickc / MMM-BackgroundSlideshow

MIT License
135 stars 78 forks source link

It shows black screen when loading many photos. #118

Open chongjae opened 2 years ago

chongjae commented 2 years ago

I loaded mounted folder from NAS. It contains so many photos.

magicmirror@2.18.0 start DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js

[20.04.2022 10:39.12.809] [LOG] Starting MagicMirror: v2.18.0 [20.04.2022 10:39.12.821] [LOG] Loading config ... [20.04.2022 10:39.12.827] [LOG] Loading module helpers ... [20.04.2022 10:39.12.830] [LOG] No helper found for module: alert. [20.04.2022 10:39.12.831] [LOG] No helper found for module: clock. [20.04.2022 10:39.12.991] [LOG] Initializing new module helper ... [20.04.2022 10:39.12.992] [LOG] Module helper loaded: calendar [20.04.2022 10:39.12.994] [LOG] No helper found for module: calendar_monthly. [20.04.2022 10:39.13.423] [LOG] Initializing new module helper ... [20.04.2022 10:39.13.425] [LOG] Module helper loaded: MMM-BackgroundSlideshow [20.04.2022 10:39.13.426] [LOG] All module helpers loaded. [20.04.2022 10:39.13.516] [LOG] Starting server on port 8080 ... [20.04.2022 10:39.13.532] [LOG] Server started ... [20.04.2022 10:39.13.534] [LOG] Connecting socket for: calendar [20.04.2022 10:39.13.535] [LOG] Starting node helper for: calendar [20.04.2022 10:39.13.535] [LOG] Connecting socket for: MMM-BackgroundSlideshow [20.04.2022 10:39.13.537] [LOG] Sockets connected & modules started ... [20.04.2022 10:39.13.800] [LOG] Launching application. [20.04.2022 10:39.16.743] [INFO] BACKGROUNDSLIDESHOW: Reading directory "modules/media/DCIM/Camera" for images. [20.04.2022 10:42.38.969] [INFO] BACKGROUNDSLIDESHOW: Reading directory "modules/media/Kidsnote" for images. [20.04.2022 10:47.49.870] [INFO] BACKGROUNDSLIDESHOW: 91573 files found

When load a little photos(about 1000~2000), It shows photos well.

But, when load so many photos, It just shows black screen. How can I load it?

MarianoMatute commented 1 year ago

It is happening to me too. Loading 65K fotos never work the first attempt, restarting for second time usally works.