TarheelGrad1998/gallery-card

Files not sorting right at all

kakins opened this issue · 1 comments

kakins commented

I have tried various configurations of this:

type: custom:gallery-card
entities:
  - sensor.front_doorbell
menu_alignment: bottom
maximum_files: 10
file_name_format: YYYYMMDD-HHmmss
caption_format: M/D h:mm A
parsed_date_sort: true
show_reload: true
video_autoplay: false

Files look like this:

image

However it does not give me the first 10 images, sorted by date. The images are sorted, but it's not taking into account all the images. It seems very random.

image

I have the same problem.
Without the "maximum_files: 10" code, it is working correctly.
But if you add the "maximum_files" thing, the sorting is gone and the wrong files are showing up.

Strange! Because without this thing, there are way too much files showing up...