kolbyjack / MMM-Wallpaper

MagicMirror module to display wallpapers from various online sources
https://magicmirror.builders/
MIT License
99 stars 31 forks source link

Idea: switch to another source on Day Range #74

Open editwentyone opened 1 year ago

editwentyone commented 1 year ago

hey, I love your plugin and use it every day.

it would be cool to have a configurable option to tell the system: on day X for 24h use that folder/source/etc so for example the background plugin switches to an anniversary album or birthday / child photos.

what do you think?

usafle commented 1 year ago

I had assumed as well that you would be able to select multiple sources in the config such as:

source: "apodhd", "chromecast", "bing",

It crashes instantly. So I guess only one source can be selected for all eternity unless you manually go in and change the config.js to pick a new source. Unfortunate. Your idea would be great if implemented or, just allow the user to select more than one source?

kolbyjack commented 1 year ago

It's possible to specify multiple sources, you just need to use the correct syntax:

source: ["apodhd", "chromecast", "bing"]

What's not currently possible is only adding multiple sources on certain dates, and I'm not sure how to express that well in the config yet

usafle commented 1 year ago

Thanks for correcting me. I had assumed just following along with the original syntax would allow multiple sources. No idea I had to put it into [ ].

kolbyjack commented 1 year ago

No worries. The config file is javascript, so you have to follow its syntax rules.

editwentyone commented 6 months ago

I bump this again :) because it would make it so awesome

source:["iCloud:xxx","local:/mnt/data/x",…],
default-source:"1", //default source for the year
2023-12-31-source:"2", //new year
2024-04-01-source:"3", //birthday someone

note, I'm not a programmer, I have no idea what I am doing but I would need it tomorrow :P so there is a need there.

editwentyone commented 6 months ago

or check this example with the default compliments https://docs.magicmirror.builders/modules/compliments.html#configuration-options