Open Bierchermuesli opened 3 years ago
Wow, yes, you broke me. By far. :)
The fileList attribute is what feeds the front end Gallery card, to know what files to display. So it is mandatory.
I have a maximum files config for the front end but not on the files component...sounds like from your use case I should add one here as well.
In the meantime you could try the Media Source configuration by adding your folder as a media source in HA, then selecting that for the Gallery card along with a maximum file config. It might give you problems as well though fetching a list of 10k files via the API.
Yeah, my case is probably a bit stupid. I would never check all the files.
Im going to process the timeleapse gif/mpeg and keep the last 10 in the folder. Anyway a maximum attribute would make sense ;-)
That is probably the best solution all around. It should work that way and be much faster as well.
I'll keep this issue open and add the attribute when I have time.
I have a folder with multiple pictures per day....
State Engine works so far, just a bit slow... :-)
recorder/mysql has some limitations - an recorder exclusion could help but I guess my Use case is beyond what this cpmponent was planned for.
Can the fileList attribut removed or shortened? or is it madatory for the Frontend component?