hermanho / MMM-GooglePhotos

Display your photos on MagicMirror from Google Photos.
MIT License
170 stars 65 forks source link

Getting errors #91

Closed datamunk closed 4 years ago

datamunk commented 4 years ago

Hello! So, I was able to work thru the google API side and have a token.json file.

I copied/pasted your config file from the readme into my folder and only put in an album name from my google photos. I left everything else. I ran a config:check and return no syntax errors, but its giving me "please create a config file".

if I // out all lines of the GooglePhoto portion, it works fine and loads.

Are the config lines that are provided showing 'null' right? Or do I need to customize those? I wanted to work from a blank slate essentially before trying to mess with anything

datamunk commented 4 years ago

{ module: "MMM-GooglePhotos", position: "top_right", config: { albums: [dakboard], // 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: 1080, // These values will be used for quality of downloaded photos to show. real size to show in your MagicMirror region is recommended. showHeight: 1920, timeFormat: "YYYY/MM/DD HH:mm", // Or relative can be used. } },

datamunk commented 4 years ago

anddddd I got it... As soon as I pasted my config I realized I didnt put " " around my album name... durrrrrr.....