gallery-card icon indicating copy to clipboard operation
gallery-card copied to clipboard

Folder sort

Open dpomnean opened this issue 4 years ago • 3 comments

Hello love the frontend so far. I have a question about sorting. I have a main folder, Camera1 and in there I have subfolders for dates, '2021-08-30', '2021-08-29', etc. and then videos with the %H-%M-%S format for the name, '06-36-14.mp4', '19-53-45.mp4'.

In this format the gallery seems to sort it based on only the file name, is it possible to sort by the subfolder name?

This would be the path:

media-source://media_source/local/motioneye/Camera1 (& subdirs)

(subdirs containing the date folders)

dpomnean avatar Aug 30 '21 14:08 dpomnean

Hrm, the card doesn't support that now, but it is something I could do. At some point I want to go back in and streamline the media source retrieving, I'll try to work this in then.

TarheelGrad1998 avatar Aug 30 '21 15:08 TarheelGrad1998

The sorting will work if I add the date folders individually and move it up/down on the priority. Not the greatest but at least that does work for now

dpomnean avatar Aug 30 '21 18:08 dpomnean

I'm not sure if I completely covered this in v3.4, but check out the folder_format option and let me know how this works.

TarheelGrad1998 avatar Mar 17 '23 18:03 TarheelGrad1998