mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 08:46:18 +01:00
Fix pixel live photos not playing when taken with JPG+RAW
This commit is contained in:
parent
4ecf46b024
commit
31200d3e02
1 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,10 @@ LivePhotoType? getLivePhotoTypeFromFile(FileDescriptor file) {
|
|||
final filenameL = file.filename.toLowerCase();
|
||||
if (filenameL.startsWith("pxl_") && filenameL.endsWith(".mp.jpg")) {
|
||||
return LivePhotoType.googleMp;
|
||||
} else if (filenameL.startsWith("pxl_") &&
|
||||
filenameL.endsWith(".mp.cover.jpg")) {
|
||||
// RAW
|
||||
return LivePhotoType.googleMp;
|
||||
} else if (filenameL.startsWith("mvimg_") && filenameL.endsWith(".jpg")) {
|
||||
return LivePhotoType.googleMvimg;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue