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

Files not sorting right at all #84

Open
kakins opened this issue Dec 17, 2023 · 1 comment
Open

Files not sorting right at all #84

kakins opened this issue Dec 17, 2023 · 1 comment

Comments

@kakins
Copy link

kakins commented Dec 17, 2023

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

@moritzmaier84
Copy link

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...

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

2 participants