darickc / MMM-BackgroundSlideshow

MIT License
138 stars 79 forks source link

Unable to get slideshow to show slides #77

Open stevenrwood opened 4 years ago

stevenrwood commented 4 years ago

downloaded and installed latest code and couldn't get it to display the images it found. I added some console.log output so I could see the path of notifications into node_helper and then back out to module with the list of image file paths. Node_helper code sends a BACKGROUNDSLIDESHOW_FILELIST socket notification to the module but it is never received. Not sure what is going on.

Steve

0|mm | [2020-06-18 17:42:48.081] [LOG] 0|mm | MMM-BackgroundSlideshow node_helper module received BACKGROUNDSLIDESHOW_REGISTER_CONFIG socket notification... 0|mm | [2020-06-18 17:42:48.307] [LOG] 0|mm | MMM-BackgroundSlideshow node_helper module found an image: Media/NAS/10_11_19, 10_12 AM Office Lens.jpg 0|mm | [2020-06-18 17:42:48.308] [LOG] MMM-BackgroundSlideshow node_helper module found an image: Media/NAS/2020 03 Em Senior.jpg 0|mm | [2020-06-18 17:42:48.310] [LOG] MMM-BackgroundSlideshow node_helper module found an image: Media/NAS/2020 05 14 WA Drivers License.jpg 0|mm | [2020-06-18 17:42:48.313] [LOG] MMM-BackgroundSlideshow node_helper module found an image: Media/NAS/Github Clone fail.png 0|mm | [2020-06-18 17:42:48.315] [LOG] MMM-BackgroundSlideshow node_helper module found an image: Media/NAS/Github Clone.png 0|mm | [2020-06-18 17:42:48.317] [LOG] MMM-BackgroundSlideshow node_helper module found an image: Media/NAS/Office Lens 20161004-153905 - (1).jpg 0|mm | [2020-06-18 17:42:48.318] [LOG] MMM-BackgroundSlideshow node_helper module found an image: Media/NAS/Office Lens 20161004-153905 - (2).jpg 0|mm | [2020-06-18 17:42:48.320] [LOG] MMM-BackgroundSlideshow node_helper module found an image: Media/NAS/Office Lens 20161004-153905 - (3).jpg 0|mm | [2020-06-18 17:42:48.323] [LOG] MMM-BackgroundSlideshow node_helper module found an image: Media/NAS/Office Lens 20161004-153905 - (4).jpg 0|mm | [2020-06-18 17:42:48.324] [LOG] 0|mm | MMM-BackgroundSlideshow node_helper module found an image: Media/NAS/Renter Ins Signature.PNG 0|mm | [2020-06-18 17:42:48.325] [LOG] MMM-BackgroundSlideshow node_helper module sending BACKGROUNDSLIDESHOW_FILELIST socket notification...

denverlittle commented 4 years ago

I had a similar issue with a new rpi install. After correcting my config, when I ran Mm in Dev, in the console I could see missing js files. Had to install exif-js and lodash, also had to edit the background.css link. After that slideshow worked fine, exif is working as expected as well.

mherke commented 3 years ago

hi, same issue on my fresh installation. denverlittle hint (thanks!) was the solution to get it running.

  1. enter Folder "modules/MMM-BackgroundSlideshow"
  2. typ "npm i" and ENTER

Step 2 will install the dependencies (exif-js and lodash) in the local node_modules folder