Change live photo name

This commit is contained in:
vishnukvmd 2021-08-06 14:22:07 +05:30
parent 18b6372835
commit 7e2ead40f8

View file

@ -78,8 +78,8 @@ Future<MediaUploadData> _getMediaUploadDataFromAssetFile(ente.File file) async {
throw InvalidFileUploadState(errMsg);
}
final tempPath = Configuration.instance.getTempDirectory();
// .elv -> Ente live photo
final livePhotoPath = tempPath + file.generatedID.toString() + ".elv";
// .elp -> ente live photo
final livePhotoPath = tempPath + file.generatedID.toString() + ".elp";
_logger.fine("Uploading zipped live photo from " + livePhotoPath);
var encoder = ZipFileEncoder();
encoder.create(livePhotoPath);