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
Ignore files from Recycle Bin in Windows #1074
Comments
Would it be feasible to add a file called ".ndignore" in the recycle bin folder? |
I don't think that should be the recommended approach. There might be some hacky solution that I'm not aware of but the Recycle Bin isn't really meant to be a place for users to create files in. |
Agree, Come to think about it, it's a bad idea, even if it worked, it could get easily deleted.. |
Why would one add a system's root as source? |
Not sure where you're getting that from. Windows keeps recycle bin per partition/drive. It's not an anomaly for me (or anyone using Windows, as a matter of fact) to dedicate one drive to music and point ND towards the root of that drive, especially since ND doesn't support multi-libraries yet. |
Apologies for being out of context but could you tell me how exactly did you setup navidrome for windows |
@JayKaku , it is better to ask this in our Discord channel. Also check the docs for setting up the environment: https://www.navidrome.org/docs/developers/dev-environment/ |
This issue has been automatically marked as stale because it has not had recent activity. The resources of the Navidrome team are limited, and so we are asking for your help. |
This is still an issue and I still have to empty my bin before doing a Navidrome scan to avoid unintended files from being added, not sure what extra detail to provide. |
@arg274 I think I got it. Can you please test it? |
@deluan Yep, seems to have fixed it. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
Navidrome seems to pick up files from the Recycle Bin in Windows since the folders are not blacklisted.
Expected Behaviour
Ignore any file in Recycle Bin so that trashed files don't appear in ND.
Steps to reproduce
Platform information
Additional information
The folder for recycle bins are usually named
$RECYCLE.BIN
and are located at the root of a drive. So, if ND is pointed to scan from a root, it will inevitably pick up these folders. Folder name is case-insensitive (i. e. they can be named$Recycle.Bin
as well).The text was updated successfully, but these errors were encountered: