From cccc6724217f96c978453baf60754321be27a78c Mon Sep 17 00:00:00 2001 From: Dion Date: Thu, 9 Nov 2023 23:29:17 +0100 Subject: [PATCH] remove unused code --- .../ReadMetaHelpers/ReadMetaExif.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/starsky/starsky.foundation.readmeta/ReadMetaHelpers/ReadMetaExif.cs b/starsky/starsky.foundation.readmeta/ReadMetaHelpers/ReadMetaExif.cs index d8f45b59b0..b6fd86690b 100644 --- a/starsky/starsky.foundation.readmeta/ReadMetaHelpers/ReadMetaExif.cs +++ b/starsky/starsky.foundation.readmeta/ReadMetaHelpers/ReadMetaExif.cs @@ -494,8 +494,7 @@ public static string GetObjectName (List allExifItems) var iptcDirectory = allExifItems.OfType().FirstOrDefault(); var objectName = iptcDirectory?.Tags.FirstOrDefault( - p => p.DirectoryName == "IPTC" - && p.Name == "Object Name")?.Description; + p => p.Name == "Object Name")?.Description; if ( ! string.IsNullOrEmpty(objectName) ) {