Skip to content
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

Excluding folders in scans. @eaDir #189

Open
Dubwize opened this issue Feb 20, 2023 · 5 comments
Open

Excluding folders in scans. @eaDir #189

Dubwize opened this issue Feb 20, 2023 · 5 comments

Comments

@Dubwize
Copy link

Dubwize commented Feb 20, 2023

So I'm wondering if there is a way to exclude folders during scans?

In my case, I am referring to the the Synology created @eaDir folder, it's auto created in every folder and is rather annoying to have populated in Polaris.

image

Thank you

@agersant
Copy link
Owner

There is currently no way to do this, but it is a good suggestion.

One ugly workaround that might work in the meantime would be denying Polaris read permissions on these folders.

@Dubwize
Copy link
Author

Dubwize commented Feb 21, 2023

I will give that a try, I'm not sure changing permissions will persist for too long, I'm guessing the next time the indexer (or whatever it is that builds that) runs it will overwrite it. But we shall give it a try.

@pbsds
Copy link
Contributor

pbsds commented Mar 15, 2023

Perhaps a regex like for cover images is in order? For me i'd like to exclude dotfiles. .zfs is a folder on ZFS datasets that allow you to view previous snapshots of the filesystem.
Polaris ended up indexing into these, giving me ~100 copies of each song.

@dechamps
Copy link
Contributor

dechamps commented Mar 15, 2023

I think maybe a reasonable argument could be made that dotfiles should always be excluded? It seems highly unlikely any user would want to index these. Worst case scenario, a user can work around it by adding a non-dot symlink to the dotfile.

@pbsds
Copy link
Contributor

pbsds commented Mar 15, 2023

Sounds like a default regex of ^\.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants