Code Monkey home page Code Monkey logo

Comments (6)

st3iny avatar st3iny commented on June 3, 2024

I can confirm this. The pre-generate command will generate previews for all files that were changed or created since its last run.

Are you requesting a feature to exclude certain folders/users from the incremental generation as well? E.g. that only certain paths/users are "logged" in the database table to be processed on the next run of pre-generate?

from previewgenerator.

zzyzx-dc avatar zzyzx-dc commented on June 3, 2024

Are you requesting a feature to exclude certain folders/users from the incremental generation as well? E.g. that only certain paths/users are "logged" in the database table to be processed on the next run of pre-generate?

I guess I am confused about the recommended process. For the initial scan (presumably lengthy), I feel I can exclude all images except my photos folder. But then for the next incremental scan, it will then ingest every image (presumably a very lengthy run, then). I was assuming that most people limit the scan to just what they want to pipe into an app like Memories (for instance, just photos).

However, maybe it's a non-issue. I am able to limit Memories to just my photos folder. And actually it's probably a better Nextcloud user experience to have generated previews for all media in all folders.

from previewgenerator.

st3iny avatar st3iny commented on June 3, 2024

The incremental scan via pre-generate will only generate previews for files that have been changed or created since its last invocation. The generate-all command is only meant to be run once, right after enabling the app. After that, the pre-generate command is supposed to be run as a cron job every 10 minutes.

from previewgenerator.

mbarde avatar mbarde commented on June 3, 2024

Are you requesting a feature to exclude certain folders/users from the incremental generation as well? E.g. that only certain paths/users are "logged" in the database table to be processed on the next run of pre-generate?

Actually I would like to request such a feature.
Having a server with limited resources I have to disable the preview feature in general. But for certain folders / users I would like to generate previews "manually" via cronjobs.
If I understand this conversation correctly this is currently not feasible using this app?

from previewgenerator.

st3iny avatar st3iny commented on June 3, 2024

Are you requesting a feature to exclude certain folders/users from the incremental generation as well? E.g. that only certain paths/users are "logged" in the database table to be processed on the next run of pre-generate?

Actually I would like to request such a feature.
Having a server with limited resources I have to disable the preview feature in general. But for certain folders / users I would like to generate previews "manually" via cronjobs.
If I understand this conversation correctly this is currently not feasible using this app?

Right, this is currently not possible with the pre-generate command.

from previewgenerator.

mbarde avatar mbarde commented on June 3, 2024

Thank you for the quick response! Would be awesome to have this feature available!

from previewgenerator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.