-
Notifications
You must be signed in to change notification settings - Fork 6
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
Slow local search #10
Comments
Starting directory is the same |
Search is performed by looking into every sub-directory so you are right it's probably not the fastest way. Also no caching is performed so the filesystem has to be accessed on every query. You can probably improve the performance if you limit your search to a the directory where your media is, with a configuration like:
If you have programming skills maybe you can improve the find_files function from: https://github.com/kktuax/youtupi/blob/master/youtupi/modules/local.py |
never did write in python ^-^ i did set the config for local folders on Tested with: |
did u found already something ? |
Hey Max,
it looks like the search for the local function is really slow,
maybe it is some problem of me or do you know why ?
im using youtupi on a Raspberry pi Rev B with 512 MB Ram
when im using the normal function "find path | grep Name (with pattern)"
its much faster or the php script i did write until i did see ur programm...
maybe u know a answer for this
Thank You
The text was updated successfully, but these errors were encountered: