darickc / MMM-BackgroundSlideshow

MIT License
143 stars 80 forks source link

Can this module be pointed an a network share? #31

Open ngreeley opened 5 years ago

ngreeley commented 5 years ago

I'm just curious if this module is capable of pointing to a network share located on a local NAS that stores photos?

darickc commented 5 years ago

You should be able to. You just need to mount it in the modules folder or a sub-folder or it won't be able to access the files.

majurgens commented 2 years ago

I thought I wanted this as well. I initially configured my images from an NFS share but found that, sometimes, maybe once a week, it would stop loading images. However, It found it significantly more reliable to copy the images locally. I now use an rsync to copy image locally. My magic mirror, presumably like many others, is connected over Wifi. Maybe that is why it was unreliable.

mcnahum commented 2 years ago

I doing it with a synology NAS. I mount my folder inside a local folder with a command line .. it's running for weeks like that:

sudo mount -t cifs //192.168.x.y/Photos/2019 /home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/Photos/NAS/ -o credentials=/etc/cifs-credentials