recognize icon indicating copy to clipboard operation
recognize copied to clipboard

Ignoring folder should include subfolders

Open SaimenSays opened this issue 1 year ago • 7 comments

Describe the feature you'd like to request

I have added ".nomedia", ".noimage", ... to a bigger share. Unlikely all the subfolders are still scanned.

Describe the solution you'd like

The exclude tags should also exlude the subfolders. It is simply not practical to add ".nomedia" to all of the round about 200 subfolders

Describe alternatives you've considered

Alternatively ther could be an extra tag ".nosubfolders" to exclude all subfolders from scan.

SaimenSays avatar Oct 02 '24 20:10 SaimenSays

Hello :wave:

Thank you for taking the time to open this issue with recognize. I know it's frustrating when software causes problems. You have made the right choice to come here and open an issue to make sure your problem gets looked at and if possible solved. I try to answer all issues and if possible fix all bugs here, but it sometimes takes a while until I get to it. Until then, please be patient. Note also that GitHub is a place where people meet to make software better together. Nobody here is under any obligation to help you, solve your problems or deliver on any expectations or demands you may have, but if enough people come together we can collaborate to make this software better. For everyone. Thus, if you can, you could also look at other issues to see whether you can help other people with your knowledge and experience. If you have coding experience it would also be awesome if you could step up to dive into the code and try to fix the odd bug yourself. Everyone will be thankful for extra helping hands! One last word: If you feel, at any point, like you need to vent, this is not the place for it; you can go to the forum, to twitter or somewhere else. But this is a technical issue tracker, so please make sure to focus on the tech and keep your opinions to yourself. (Also see our Code of Conduct. Really.)

I look forward to working with you on this issue Cheers :blue_heart:

github-actions[bot] avatar Oct 02 '24 20:10 github-actions[bot]

mmmh, this should already be the case

marcelklehr avatar Oct 10 '24 10:10 marcelklehr

How did you add the ignore tag to the directory? Did you move it there or create it in place?

marcelklehr avatar Oct 11 '24 09:10 marcelklehr

Also, which version of Nextcloud and Recognize is this?

marcelklehr avatar Oct 11 '24 11:10 marcelklehr

Sorry for late response. If the exclusion of subfolders is already in place, ignore my suggestion. I have not a trivial setup, but this should not matter. Nextcloud is running in a proxmox VM. The file system is virtfs routed from the host. I used bash to create an emtpy file with vi. Added read rights to others, but also set GID and UID to the same as the media files, so it should be readable by recognise. What is the difference betwwen creating and moving in place?

Nextcloud is on 30.0.0 Recognize is on 8.1.0

SaimenSays avatar Oct 16 '24 21:10 SaimenSays

I started using recognize yesterday, and I am quite impressed by its ability to find cluster of faces (aka "persons", lol). Thanks for your work, @marcelklehr!

unfortunately, same bug for me:

Expected behaviour: adding ".noimage" file (creating via bash/touch command) should recursively deactivate crawling/scanning for faces.

Observed behaviour: adding ".noimage" file to userroot does not deactivate crawling for faces which are in subfolder "userroot/Photos".

I am not 100 % sure when I created the .noimage file (before or during first crawl), owner is root, rw-r-r rights.

MAYBE: it would be better to allow users to activate the App on their own and select the path(s) to crawl in the first place? This way, users have more control and are not unpleasantly surprised when being presented with persons from their past alongside people from their present, when opening the faces GUI?

Nextcloud version 31.0.10 Recognize version: 9.0.7

fschiefenhoevel avatar Nov 01 '25 20:11 fschiefenhoevel

I cannot reproduce this, sadly. When adding a .nomedia file to the user root no faces show up in the memories app for me.

marcelklehr avatar Dec 02 '25 08:12 marcelklehr