π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
debug logging
Manav Rathi0d313825d66b
diff --git a/web/apps/photos/src/components/PhotoViewer/index.tsx b/web/apps/photos/src/components/PhotoViewer/index.tsxindex 1c16a7a773..2464f4aea3 100644--- a/web/apps/photos/src/components/PhotoViewer/index.tsx+++ b/web/apps/photos/src/components/PhotoViewer/index.tsx@@ -14,10 +14,12 @@ import {} from "utils/file";import { isDesktop } from "@/base/app";+import { isDevBuild } from "@/base/env";import { lowercaseExtension } from "@/base/file";import { FILE_TYPE } from "@/media/file-type";import { isHEICExtension, needsJPEGConversion } from "@/media/formats";import downloadManager from "@/new/photos/services/download";+import { extractMetadata } from "@/new/photos/services/exif";import type { LoadedLivePhotoSourceURL } from "@/new/photos/types/file";import { detectFileTypeInfo } from "@/new/photos/utils/detect-type";import { FlexWrapper } from "@ente/shared/components/Container";@@ -608,6 +610,10 @@ function PhotoViewer(props: Iprops) {fileObject,fileTypeInfo,);+ if (isDesktop && isDevBuild) {+ const newLib = await extractMetadata(fileObject);+ log.debug(() => ["exif", { oldLib: exifData, newLib }]);+ }if (exifExtractionInProgress.current === file.src) {if (exifData) {setExif({ key: file.src, value: exifData });