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

Generate preview for images and videos only #351

Open
HHUBSS opened this issue Jan 30, 2023 · 2 comments
Open

Generate preview for images and videos only #351

HHUBSS opened this issue Jan 30, 2023 · 2 comments
Labels
docs Documentation matters question

Comments

@HHUBSS
Copy link

HHUBSS commented Jan 30, 2023

Is there a way or is it possible to generate images and videos only excluding files like pdf text, docs, excel, ppt etc?

@st3iny
Copy link
Member

st3iny commented Feb 10, 2023

You can explicitly enable/disable preview providers for certain file types. Have a look at the official documentation:

Or do you want to apply filters to the commands of previewgenerator (pre-generate and generate-all) only?

@joshtrichards joshtrichards added the docs Documentation matters label Mar 30, 2024
@joshtrichards
Copy link
Member

Some apps also register their own preview providers independent of the enabledPreviewProviders (both Nextcloud Office and OnlyOffice do this). The former has nextcloud/richdocuments#1335 to implement a toggle. OnlyOffice now has a toggle under its settings from the looks of it (I have not tested it though).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation matters question
Projects
None yet
Development

No branches or pull requests

3 participants