mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
feat(server): support 3gpp format (#582)
* feat(server): support 3gpp format * feat(web): add 3gp ext * Support 3gp video format. video/3gpp mimetype added to supported video format. * feat(mobile): add tif ext Co-authored-by: Alexandre Bouijoux <alexandre@bouijoux.fr>
This commit is contained in:
@@ -17,6 +17,9 @@ class FileHelper {
|
||||
case 'png':
|
||||
return {"type": "image", "subType": "png"};
|
||||
|
||||
case 'tif':
|
||||
return {"type": "image", "subType": "tiff"};
|
||||
|
||||
case 'mov':
|
||||
return {"type": "video", "subType": "quicktime"};
|
||||
|
||||
@@ -38,6 +41,9 @@ class FileHelper {
|
||||
case 'webp':
|
||||
return {"type": "image", "subType": "webp"};
|
||||
|
||||
case '3gp':
|
||||
return {"type": "video", "subType": "3gpp"};
|
||||
|
||||
default:
|
||||
return {"type": "unsupport", "subType": "unsupport"};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user