Skip to content

Commit

Permalink
Increase preview support
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Apr 8, 2024
1 parent 623fe76 commit 84d666c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ if bashio::config.true "enable_thumbnails"; then
sudo -u abc php /app/www/public/occ config:system:set preview_ffmpeg_path --value='/usr/bin/ffmpeg'
sudo -u abc php /app/www/public/occ config:system:set enable_previews --value=true
i=0
for element in TXT MarkDown OpenDocument PDF Image TIFF SVG Font MP3 Movie MKV MP4 AVI; do # Comma separated values
for element in AVI BMP Font GIF HEIC Image JPEG Krita MarkDown MKV Movie MP3 MP4 OpenDocument PDF PNG SVG TIFF TXT XBitmap; do # Comma separated values
sudo -u abc php /app/www/public/occ config:system:set enabledPreviewProviders "$i" --value="OC\\Preview\\${element}" >/dev/null
i=$((i + 1))
done
Expand Down

0 comments on commit 84d666c

Please sign in to comment.