gallery-card
gallery-card copied to clipboard
Invalid date
I have a file structure like this: example: DB/motion/20231023/21/213352.jpg I want to read the last 100 files. My config is like this:
type: custom:gallery-card entities:
- path: media-source://media_source/local/db/motion/ recursive: true menu_alignment: Responsive maximum_files: 1000 folder_format: YYYYMMDD/HH/ file_name_format: HHmmss caption_format: DD.MM.YYYY HH:mm:ss parsed_date_sort: true
The problem is that it seems that the date (obtained from the folder_format) is ignored when sorting and only the file_name_format is considered (which in my case only contains the time) and the list then is made up of pictures from different dates sorted by hour only
Now I see you mentioned this in the description. I have tweaked my file naming as a workaround and I works very well. So please treat this as a feature request and not as a bug. Thank you!