From b425ab6d42be9a8b7f8653ea076e3c8523e4b479 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sat, 4 Aug 2018 17:04:41 +0700 Subject: [PATCH] Bring --db exif -non-strict behaviour in line with --db xattr -non-strict --- source/net/filebot/media/LocalDatasource.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/net/filebot/media/LocalDatasource.java b/source/net/filebot/media/LocalDatasource.java index c4d7d93e..861e77b1 100644 --- a/source/net/filebot/media/LocalDatasource.java +++ b/source/net/filebot/media/LocalDatasource.java @@ -74,6 +74,8 @@ public enum LocalDatasource implements Datasource { ImageMetadata metadata = new ImageMetadata(f); if (metadata.getDateTaken().isPresent()) { exifMap.put(f, f); // photo mode is the same as generic file mode (but only select photo files) + } else if (!strict) { + exifMap.put(f, f); } } catch (Exception e) { debug.warning(format("%s [%s]", e, f));