nextcloud / nextcloud/previewgenerator
Generate Previews only for real files and not shared ones.
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 520
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Description
Feature request
I'm running version -> Nextcloud Hub 9 (30.0.0)
I have a large folder with photos, that I've shared to various other nextcloud users.
In the filesystem the photos exist only in my account. The other accounts that I've shared the photos with don't have any physical files.
When I now start the preview generator, then it generates previews fot these photos for ALL users that the photos have been shared with. In my case this is a huge waste of harddisk space.
In an ideal world I would expect that previews should only be generated once for each physical file and if that file is shared to another account, then also the preview should be shared along with this photo.
Is there a way to achieve this or would this only be possible if the preview generator would be part of the nextcloud core?
Kind regards
Christian
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
No file or test is named in the issue. Start by tracing how the preview generator handles files shared with other accounts; done means previews are generated only once per physical file and are available to accounts receiving the share.
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
- Needs clarification
- Newbie friendliness
- 30/100