lp: switch to new tag for 12.70
Signed-off-by: Varun Patil <radialapps@gmail.com>pull/953/head
parent
9653f01636
commit
deb0e5ce16
|
@ -26,7 +26,7 @@ class LivePhoto
|
||||||
public function getLivePhotoId(File $file, array $exif): string
|
public function getLivePhotoId(File $file, array $exif): string
|
||||||
{
|
{
|
||||||
// Apple JPEG (MOV has ContentIdentifier)
|
// Apple JPEG (MOV has ContentIdentifier)
|
||||||
if ($uuid = ($exif['MediaGroupUUID'] ?? null)) {
|
if ($uuid = ($exif['ContentIdentifier'] ?? $exif['MediaGroupUUID'] ?? null)) {
|
||||||
return (string) $uuid;
|
return (string) $uuid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue