Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tddrane opened this issue Nov 1, 2021 · 5 comments
Open

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

tddrane opened this issue Nov 1, 2021 · 5 comments

Comments

@tddrane
Copy link

tddrane commented Nov 1, 2021

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
Copy link
Collaborator

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
Copy link
Author

tddrane commented Nov 23, 2021

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
Copy link

AJ6CU commented Apr 24, 2024

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
Copy link
Author

tddrane commented Apr 24, 2024

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.

@gservat
Copy link

gservat commented Dec 13, 2024

Thanks for the workaround. I couldn't figure out why the date/time of the photos wasn't showing! I basically disabled every module except for MMM-GooglePhotos. I have now enabled the clock module with showTime and showDate set to false (thanks @AJ6CU) and it works now 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants