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.

    MMM-GooglePhotos

    Scheduled Pinned Locked Moved Entertainment
    294 Posts 56 Posters 340.9k Views 59 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 Do not disturb
      sdetweil @roccodicarlo
      last edited by

      @roccodicarlo ok, then the token tool won’t work…

      are u doing the cli on purpose?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User
        last edited by

        Copy url and open browser in other pc. Do the process then return to your rpi.

        1 Reply Last reply Reply Quote 0
        • R Offline
          roccodicarlo
          last edited by

          ok I will try. The reason I am doing cli was because with desktop gui, I found it very sluggish on the rpi zero.

          ? 1 Reply Last reply Reply Quote 1
          • ? Offline
            A Former User @roccodicarlo
            last edited by A Former User

            @roccodicarlo
            I’m worrying, your node version has to be ^8.3 at least.

            1 Reply Last reply Reply Quote 0
            • R Offline
              roccodicarlo
              last edited by

              My node version is 10.16…so it should be ok

              1 Reply Last reply Reply Quote 0
              • P Offline
                philmavedzenge
                last edited by

                @Sean i really like this module and have been using it for sometime now. I have noticed with the new update that there is a padding of about 10px around the screen. Is there a way of removing that? I use my screen in landscape mode only. Thanks in advance

                P 1 Reply Last reply Reply Quote 0
                • P Offline
                  philmavedzenge @philmavedzenge
                  last edited by

                  @philmavedzenge said in MMM-GooglePhotos:

                  @Sean i really like this module and have been using it for sometime now. I have noticed with the new update that there is a padding of about 10px around the screen. Is there a way of removing that? I use my screen in landscape mode only. Thanks in advance

                  @Sean nevermind, i fixed it in custom.css

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    gonzonia @Guest
                    last edited by

                    @Sean Awesome work! Loving the update!

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

                      Hey, so i’m not sure what this means, but it happens whenever I try to start it:

                      pi@sam-raspberrypi:~/MagicMirror $ npm start

                      magicmirror@2.7.1 start /home/pi/MagicMirror
                      sh run-start.sh

                      /home/pi/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
                      npm ERR! file sh
                      npm ERR! code ELIFECYCLE
                      npm ERR! errno ENOENT
                      npm ERR! syscall spawn
                      npm ERR! magicmirror@2.7.1 start: sh run-start.sh
                      npm ERR! spawn ENOENT
                      npm ERR!
                      npm ERR! Failed at the magicmirror@2.7.1 start script.
                      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

                      npm ERR! A complete log of this run can be found in:
                      npm ERR! /home/pi/.npm/_logs/2020-04-02T05_53_17_399Z-debug.log

                      S ? S 3 Replies Last reply Reply Quote 0
                      • S Offline
                        Samwise @Samwise
                        last edited by

                        also, the auto start script doesn’t seem to work either

                        1 Reply Last reply Reply Quote 0
                        • ? Offline
                          A Former User @Samwise
                          last edited by

                          @Samwise said in MMM-GooglePhotos:

                          /home/pi/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
                          npm ERR! file sh

                          That seems not related to module itself. Your environment seems missing some dependency.
                          Try to this.

                          sudo apt-get install libgconf-2-4
                          
                          1 Reply Last reply Reply Quote 0
                          • S Do not disturb
                            sdetweil @Samwise
                            last edited by

                            @Samwise said in MMM-GooglePhotos:

                            libgconf-2.so.4:

                            try this from a terminal window

                            sudo apt-get install libgconf-2-4

                            magicmirror@2.7.1

                            version 2.7.1 is pretty old…

                            edit the package.json file and change

                            "start","sh run-start.sh"
                            

                            to

                            "start"."sh ./run-start.sh"
                            

                            check to see if run-start.sh is in the ~/MagicMirror folder, if not then do

                            cd ~/MagicMirror
                            cule -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/run-start.sh >run-start.sh
                            chmod +x run-start.sh
                            

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            1 Reply Last reply Reply Quote 0
                            • G Offline
                              gonzonia
                              last edited by

                              The new info box is not aligning correctly for me. It’s showing mostly off the screen.
                              Screenshot

                              ? 1 Reply Last reply Reply Quote 0
                              • ? Offline
                                A Former User @gonzonia
                                last edited by

                                @gonzonia
                                Show me your configuration of MMM-GooglePhotos.

                                G 2 Replies Last reply Reply Quote 0
                                • O Offline
                                  orayoflighto Project Sponsor
                                  last edited by

                                  I just updated to the latest And my photos stopped displaying. Anyone else have this issue?

                                  I just get Loading…

                                  S Z O 3 Replies Last reply Reply Quote 0
                                  • S Do not disturb
                                    sdetweil @orayoflighto
                                    last edited by

                                    @orayoflighto open the developers window ctrl-shift-i on the keyboard, select the console tab and scroll up for any errors

                                    did u also run npm install in the MMM-GooglePhotos folder?

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    1 Reply Last reply Reply Quote 0
                                    • G Offline
                                      gonzonia @Guest
                                      last edited by

                                      @Sean I commented out autoInfoPosition because it seemed to break when I turned that on. The showWidth/showHeight match the screen resolution showing on the dekstop.

                                      	{
                                        			module: "MMM-GooglePhotos",
                                      			position: "fullscreen_below",
                                      		  	config: {
                                      			albums: ["NixPlay","MM-Family2"], // Set your album name. like ["My wedding", "family share", "Travle to Paris"]
                                      			updateInterval: 1000 * 60, // minimum 10 seconds.
                                      			sort: "random", // "old", "random"
                                      			uploadAlbum: null, // Only album created by `create_uploadable_album.js`.
                                      			condition: {
                                      				fromDate: null, // Or "2018-03", RFC ... format available
                                      				toDate: null, // Or "2019-12-25",
                                      				minWidth: null, // Or 400
                                      				maxWidth: null, // Or 8000
                                      				minHeight: null, // Or 400
                                      				maxHeight: null, // Or 8000
                                      				minWHRatio: null,
                                      				maxWHRatio: null,
                                      				// WHRatio = Width/Height ratio ( ==1 : Squared Photo,   < 1 : Portraited Photo, > 1 : Landscaped Photo)
                                      			},
                                      			showWidth: 1680, // These values will be used for quality of downloaded photos to show. real size to show in your MagicMirror region is recommended.
                                      			showHeight: 1050,
                                      			timeFormat: "relative", //"YYYY/MM/DD HH:mm", // Or `relative` can be used.
                                      			//autoInfoPosition: true,
                                        		}
                                      	},
                                      
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • K Offline
                                        Kevinho195
                                        last edited by

                                        Hi @Sean,
                                        thanks for the great update. I want to hide the blurred background and did add

                                        GPHOTO_BACK {
                                        	display:none;
                                        }
                                        
                                        #GPHOTO_INFO {
                                        	display:none;
                                        }
                                        

                                        to my custom.css but it the blurred background is still there. For the info tab it did work and it disappeared. What am I missing?

                                        ? 1 Reply Last reply Reply Quote 0
                                        • ? Offline
                                          A Former User @Kevinho195
                                          last edited by

                                          @Kevinho195
                                          You’ve missed #

                                          K 1 Reply Last reply Reply Quote 0
                                          • G Offline
                                            gonzonia @Guest
                                            last edited by

                                            @Sean Any idea what’s going on with the info box?

                                            G 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 15
                                            • 10 / 15
                                            • 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