nextcloud / recognize

👁 👂 Smart media tagging for Nextcloud: recognizes faces, objects, landscapes, music genres
https://apps.nextcloud.com/apps/recognize
GNU Affero General Public License v3.0
564 stars 45 forks source link

Ignoring folder should include subfolders #1204

Open SaimenSays opened 1 month ago

SaimenSays commented 1 month ago

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.

github-actions[bot] commented 1 month ago

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:

marcelklehr commented 1 month ago

mmmh, this should already be the case

marcelklehr commented 1 month ago

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

marcelklehr commented 1 month ago

Also, which version of Nextcloud and Recognize is this?

SaimenSays commented 1 month ago

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