motioneye-project/motioneye

Picture browser slow to open with too many pictures

Open

#2,215 opened on Oct 23, 2021

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Python (636 forks)batch import
help wantedquestiontroubleshooting

Repository metrics

Stars
 (3,533 stars)
PR merge metrics
 (Avg merge 16d 14h) (33 merged PRs in 30d)

Description

Hi,

Picture browser seems to load the entire directories recursively before displaying interface, this could take a lot of time even with a SSD.

It should list 1st level raw and then background update subdirs (like number of files).

Config: Raspberry Pi 4 8GB Raspbian 10 MotionEye 4.3.2 Motion 4.3.2 Image File Name: %Y%m%d/%v/%H-%M-%S-%q Storage: Kingston A400 SSD SA400M8/240G M.2 2280 with Argon ONE M.2 case

Regards,

Contributor guide