Sanook
1
Unfortunately i could not find any documentation which file types are supported by the previewegenerator, neither here https://apps.nextcloud.com/apps/previewgenerator nor here https://github.com/rullzer/previewgenerator
Can you please provide the information and how to configure it? @rullzer @nickvergessen
Thank you!
It supports whatever is supported by your Nextcloud:
Sanook
3
Thank you!
That worked for me:
'preview_libreoffice_path' => '/usr/bin/libreoffice',
'enable_previews' => true,
'enabledPreviewProviders' =>
array (
0 => 'OC\\Preview\\Image',
1 => 'OC\\Preview\\MP3',
2 => 'OC\\Preview\\TXT',
3 => 'OC\\Preview\\PDF',
4 => 'OC\\Preview\\Movie',
5 => 'OC\\Preview\\Photoshop',
6 => 'OC\\Preview\\TIFF',
7 => 'OC\\Preview\\SVG',
8 => 'OC\\Preview\\OpenDocument',
),