nextcloud / previewgenerator

Nextcloud app to do preview generation in the background.
https://apps.nextcloud.com/apps/previewgenerator
GNU Affero General Public License v3.0
456 stars 57 forks source link

Limit pre-generate to specific paths #374

Closed langfingaz closed 1 year ago

langfingaz commented 1 year ago

It's great that the preview:generate-all command has the option to specify paths! But it would be even better if the same same was also possible with pre-generation. This would make it possible to generate previews only for some folders during normal operation - and not only during the initial import.

So what do you think about adding the [--path=PATH ...] option also to the preview:pre-generate command?

I'm not sure how much of the code from Generate.php can be reused. Maybe this is not so much of an effort?

st3iny commented 1 year ago

I like the idea. However, I can't make any promises and contributions are always welcome.

st3iny commented 1 year ago

Closing in favor of https://github.com/nextcloud/previewgenerator/issues/76.