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

Suggestion: Hide irrelevant subfolders #87

Closed
occino opened this issue Jul 17, 2019 · 10 comments
Closed

Suggestion: Hide irrelevant subfolders #87

occino opened this issue Jul 17, 2019 · 10 comments
Milestone

Comments

@occino
Copy link

occino commented Jul 17, 2019

Hi,
I'm very interessed in an option to hide irrelevant subfolders withing the images folder which does not contain any photos and videos. This way folders like '.Spotlight-V100' would not appear as well and leads to a better navigation.

Best regards from Berlin,
Nico

@bpatrik
Copy link
Owner

bpatrik commented Jul 17, 2019

Hi Nico,

Sorry, but I'm not considering adding a feature like that, but feel free to jump in.
I'm reading the files and folders here:


You can customize the app for your own taste.
If you feel to implement a versatile solution (like a ignore list in the config, or supporting .ignore file in the folders) I would consider merging it.

Best,
Patrik

@bpatrik
Copy link
Owner

bpatrik commented Dec 10, 2019

Hi,

Thanks to tmorley2000, this will part of the next release.

Best,
Patrik

@nikolajhendel
Copy link

Hi, I'm trying to use this functionality to hide various folders (.recycle, .thumbnails, etc.) but can't seem to get it to work.
I assume the functionality is enabled by using the "Exclude Folder List" and "Exclude File List" under Index section in advanced settings?

I've tried to enable this in v 1.8 docker image (can only do via direct config.json edit) and 1.8.1 docker image nightly stretch (via config interface), but neither seems to work, as folders are still shown. I have also tried to re-run index after setting exclude rules (tried both folder name and file name) but doesn't hide folders in gallery view.

Am I misunderstanding something?

Cheers
Nik
p.s. thanks for a great gallery application!

@tuxthepenguin84
Copy link

Hi @nikolajhendel,

I ran into a similar issue as you, however what you need to do is run the indexing after adding a folder to the exclude list, it will then not show in the gallery. Hope this helps.

-Sam

@bpatrik
Copy link
Owner

bpatrik commented Sep 23, 2021

Yes, reindexing is needed after changing the exclusion list.

@hajo62
Copy link

hajo62 commented Jan 3, 2022

Did a reindexing but I still see all folders, although I have added a .ignore file to most root folders (1970-1979, ...) and after that did not work added those to the Exclude Folder List:
grafik

What might I do wrong?

@hajo62
Copy link

hajo62 commented Oct 1, 2022

I just triggered the re-indexing (in v1.9.3) but it still does not work.

image

@nanawel
Copy link

nanawel commented Feb 13, 2023

Sorry, bumping this closed thread because I'm experiencing the same behavior on my instance (v1.9.5 via Docker image). Excluded folders are still shown on the gallery no matter how many times I reindex the database.

@hajo62
Copy link

hajo62 commented Feb 16, 2023

Sorry, bumping this closed thread because I'm experiencing the same behavior on my instance (v1.9.5 via Docker image). Excluded folders are still shown on the gallery no matter how many times I reindex the database.

For me it worked with v1.9.5
Have you tried the "Run now: Gallery reset" and restarted the server afterwards?

@nanawel
Copy link

nanawel commented Feb 16, 2023

Have you tried the "Run now: Gallery reset" and restarted the server afterwards?

Yes it finally worked but it was really hard to achieve. The main issue was that my gallery has thousands of pictures and videos so reindexing is very long (even if I'm using a x64 PC as host).
Using reset + reindex + restart was the way to go. Thanks!

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

6 participants