Open felix-schwarz opened 6 years ago
GitMate.io thinks the contributor most likely able to help you is @PVince81.
Possibly related issues are https://github.com/owncloud/core/issues/14106 (previews broken for non-supported file types), https://github.com/owncloud/core/issues/7574 (Add to mime type list), https://github.com/owncloud/core/issues/15124 (MPO support), https://github.com/owncloud/core/issues/29076 (Add eml to list of known mime types), and https://github.com/owncloud/core/issues/29158 (Dear Support, ).
Related docs: https://doc.owncloud.org/server/latest/admin_manual/configuration/server/config_sample_php_parameters.html#previews
'enabledPreviewProviders' => array(
'OC\Preview\PNG',
'OC\Preview\JPEG',
'OC\Preview\GIF',
'OC\Preview\BMP',
'OC\Preview\XBitmap',
'OC\Preview\MP3',
'OC\Preview\TXT',
'OC\Preview\MarkDown'
),
Could the capability also include available formats of the preview itself?
Source:
*.docx
Available previews:
*.pdf
*.png
Source:
*.r3d
(Redcode RAW, from RED Digital Cinema Camera)Available previews:
*.png
(static previews)*.mp4
(video previews, could be played in browser or iOS app)Related:
Yes, this would be awesome. That way, clients could - in addition to knowing which files to request previews for - also pick the preview format they can process best.
Hey, this issue has been closed because the label status/STALE
is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.
(This is an automated comment from GitMate.io.)
Hey, this issue has been closed because the label status/STALE
is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.
(This is an automated comment from GitMate.io.)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.
Clients targeting the Preview API at
remote.php/dav/files/[user]/[file]?x=[width]&y=[height]&c=[eTag]&preview=1
have no way of telling in advance for which file types a preview can likely be expected to be available.Ideally, a list of MIME types, for which the Preview API is likely capable of providing a preview, would be available as part of the capabilities endpoint.
Using that list, clients could then see if the MIME type of an item is in that list and only request thumbnails for those items for which this is the case.