nextcloud / nextcloud/previewgenerator
Skip hidden files/folders by default
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 520
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Description
During preview generation I noticed that it took quite long for the folder pictures/.lrt/visual which is used by Adobe Lightroom to store preview files of pictures. Generating previews of previews makes less sense for sure, but even normal hidden folders and files are not visible by default in Nextcloud.
Therefore it would be great if an option exists to in- or exclude those files and folders from preview generation.
Ideally that option would be set to exclude hidden items by default and may be specified in config.php as you can already do it for the preview size and the scale factor:
Greetings,
Daniel
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the preview-generation entry point and the existing preview configuration in config.php. Check how hidden files and folders such as pictures/.lrt/visual are discovered, then add coverage for default exclusion and configurable inclusion or exclusion; done means hidden items are skipped by default and the option is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100