MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MM as rolling picture frame

    Scheduled Pinned Locked Moved Development
    21 Posts 8 Posters 3.9k Views 9 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      sdetweil @RonR
      last edited by

      @RonR the local folder can be linked(see the ln command) to a share mounted from another server source(in /etc/fstab)

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @sdetweil
        last edited by sdetweil

        @RonR

        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 too

        in the MMM-ImagePhotos folder

        ls -laF 
        

        should show

        uploads --> /media/fileserver
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • UncleRogerU Offline
          UncleRoger
          last edited by UncleRoger

          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

          S 1 Reply Last reply Reply Quote 1
          • S Offline
            sdetweil @UncleRoger
            last edited by

            @UncleRoger you could move them to a server too

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • BKeyportB Online
              BKeyport Module Developer
              last edited by

              here’s how I did it.

              1. Set up SAMBA on the pi, and include a mapping to your photos drive (I wouldn’t recommend keeping them locally)

              2. 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.

              The "E" in "Javascript" stands for "Easy"

              1 Reply Last reply Reply Quote 1
              • 1
              • 2
              • 3
              • 3 / 3
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy