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
Unable to handle many files (1000+) #494
Comments
Could you be a bit more specific about what exactly goes slowly or not at all? I have just tried to work with a list of 5000 objects in the frontend. Drag&Drop is really slow, everything else seemed almost normal. But I could imagine that it generally works better with a virtual list. I will add it to my ToDo. |
@jb-alvarado Sorry for to less information. i recorded some stuff for you, i think you will get it instantly: btw. really like the idea about this software, really cool |
Thank you for the explanation and the screen recording! First of all: the errors from browser console are not important. It looks like that the engine is not running, so there is no connection to it. This you can ignore. The thing with the file browser: yes that is a problem. I never had a situation where I had so many videos in one folder. The problem is, that the backend open every file with ffprobe to get its duration and by so many file it takes very long. On my local machine with a NVME SSD, 2048 file and all around 15-20 seconds it take by me ~30 seconds to open. At the moment I have no idea how to reduce this time. The best would be some kind of pagination, but at the moment I have no idea how to apply this to a folder content. At the moment I can only recommend to use sub-folders with less files in one. It will not fix the problem on playlist generation, there it will still take time. The other issue with changing pages I can fix maybe with this virtual list. |
Perhaps implementing some sort of hard drive cache file, containing the most recent information generated by the file scanning done with ffprobe, might alleviate the problem. |
Describe the bug
I tried to create a playlist with around 1000 mp4 files, everything starts to lag or does not even work or will take hours. It just loads for ever (feels like)
Upload worked without any problems.
To Reproduce
Try to create a playlist with 1000 files
Expected behavior
Create playlists with 1000+ files smooth
Desktop/Server/Software (please complete the following information):
Ubuntu 22.04
16GB Ram 4 cors
amd64
Server was not fully used
Config Settings:
nothing special and not relevant
Logging:
There is no error in the logs, i checked
The text was updated successfully, but these errors were encountered: