darickc / MMM-BackgroundSlideshow

MIT License
143 stars 80 forks source link

Point it to an external USB drive #35

Open kerijn opened 5 years ago

kerijn commented 5 years ago

Is it possible to let the module look at an exernal USB drive that is mounted to " /media/pi/KINGSTON"?

I cannot find out how to configure the "imagePaths" variable in the config.js file.

Kerijn.

darickc commented 5 years ago

The images must be in the modules folder (or any subfolder) or it can't access them. You may be able to create a symbolic link in that folder that points to a USB drive. Or mount your USB drive in that folder. I mounted a network drive in the folder and it seemed to work ok. I had some problems with it, but it might have been more network related. I'm willing to bet that mounting a USB drive should work just fine.

BensonMH commented 4 years ago

Hi, can you teach me how to mount a USB drive in the specified folder? or provide some reference documents to me, please. Thank you!

kerijn commented 4 years ago

https://www.raspberrypi-spy.co.uk/2014/05/how-to-mount-a-usb-flash-disk-on-the-raspberry-pi/

And then mount it to a folder in the module. Have fun!

BensonMH commented 4 years ago

Thank you. It's work now.