You've already forked immich
mirror of
https://github.com/immich-app/immich.git
synced 2025-06-16 03:40:33 +02:00
feat(web): support uploading Insta360 file format (#2725)
Insta360 "raw" formats `insv` and `insp` are actually mp4 (video) and jpeg (picture) respectively. However, we don't want user to rename the original files, because they follow Insta360 convention, which is required by Insta360 Studio.
This commit is contained in:
committed by
GitHub
parent
e101e40c47
commit
48492b9f4e
@ -146,6 +146,10 @@ export function getFileMimeType(file: File): string {
|
||||
return 'image/x-fuji-raf';
|
||||
case 'srw':
|
||||
return 'image/x-samsung-srw';
|
||||
case 'insp':
|
||||
return 'image/jpeg';
|
||||
case 'insv':
|
||||
return 'video/mp4';
|
||||
default:
|
||||
return '';
|
||||
}
|
||||
|
Reference in New Issue
Block a user