hermanho / MMM-GooglePhotos

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

GPHOTO_INFO only appears if at least one default module enabled #120

Open tddrane opened 2 years ago

tddrane commented 2 years ago

Thank you for MMM-GooglePhotos My issue is the GPHOTO_INFO element only appears if at least one default module (clock, calendar, etc.) is enabled. If all of those are commented out of the config.js file the INFO element does not appear. Is this by design (feature or bug)?

I only found one possibly related reference to this issue in Issue #110. You had tested using his config.js file and found it working. I used the OP's config.js and had the same issue as the OP. Issue #110 was closed due to inactivity.

aneaville commented 2 years ago

This is a great find. When I tested the user's config from issue #110, I only copied over the GooglePhotos config portion, and left the rest of my config intact. I never tested with all other modules disabled. This totally explains the discrepancy.

tddrane commented 2 years ago

Thanks for confirming that I'm not crazy :-). I'm getting so I like seeing the clock once in a while when portrait oriented photos appear.

AJ6CU commented 5 months ago

Two workarounds here:

  1. Set clock position to middle_center (ie. in config.js, position: "middle_center") This ensure that except for the transistion, the clock is always hid.
  2. add the following in the clock module: config: { showTime:false, showDate: false}

The latter removes all clock display.

Mark

tddrane commented 5 months ago

A great work around. Thanks. That said, it is still a curiosity as to why it is necessary, i.e. why does at least one module need to be loaded for the INFO element to appear.