1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-11 20:05:04 -05:00

Bring --db exif -non-strict behaviour in line with --db xattr -non-strict

This commit is contained in:
Reinhard Pointner 2018-08-04 17:04:41 +07:00
parent 3239e2c5eb
commit b425ab6d42

View File

@ -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));