Read the statement by Michael Teeuw here.
MM as rolling picture frame
-
@RonR the local folder can be linked(see the ln command) to a share mounted from another server source(in /etc/fstab)
-
make the mount point
sudo mkdir /media/fileserver
in fstab, change username and password to the server folder
and the path to the server , this is my synology NAS//192.168.2.32/media
//192.168.2.32/media /media/fileserver cifs username=xxxxx,password=yyyyyyyy,iocharset=utf8,file_mode=0777,dir_mode=0777
before reboot
sudo mount -a
now
ls /media/fileserver
should show files
on reboot it will auto mount
now in the MMM-ImagesPhotos folder, move the uploads folder out of the way
mv uploads o-uploads
now link the mount point there
sudo ln -s /media/fileserver uploads
now
ls uploads
should show the files from the server
the ln command could link a subdirectory of the mount point tooin the MMM-ImagePhotos folder
ls -laF
should show
uploads --> /media/fileserver
-
I use MMM-BackgroundSlideshow to display random paintings from over 200 images. It seems to work pretty well.
All of the paintings are stored locally on the Pi, in a subdirectory of the module directory: ~/MagicMirror/modules/MMM-BackgroundSlideshow/Paintings
-
@UncleRoger you could move them to a server too
-
here’s how I did it.
-
Set up SAMBA on the pi, and include a mapping to your photos drive (I wouldn’t recommend keeping them locally)
-
magic mirror’s config, using MMM-Backgroundslideshow
/* Magic Mirror Config by Brendan Keyport. */ /* Office - Certificate Display */ var config = { address: "0.0.0.0", port: 8082, // port is 8082 as I use a server/client style setup. ipWhitelist: [], language: "en", timeFormat: 12, units: "imperial", //logLevel: ["INFO", "LOG", "WARN", "ERROR", "DEBUG"], customCss: "css/custom3.css", modules: [ { module: 'MMM-BackgroundSlideshow', position: 'fullscreen_below', config: { imagePaths: ['<path to shared folder>'], transitionImages: true, randomizeImageOrder: true, showAllImagesBeforeRestart: true, //transitionSpeed: 0, gradient: [0], horizontalGradient: [0], backgroundSize: "contain" } } /*************** DO NOT EDIT BELOW ***************/ ] }; if (typeof module !== "undefined") { module.exports = config; }
Easy as Pi.
-