mirror of
https://github.com/mitb-archive/filebot
synced 2025-03-09 22:09:47 -04:00
Bring --db exif -non-strict behaviour in line with --db xattr -non-strict
This commit is contained in:
parent
3239e2c5eb
commit
b425ab6d42
@ -74,6 +74,8 @@ public enum LocalDatasource implements Datasource {
|
|||||||
ImageMetadata metadata = new ImageMetadata(f);
|
ImageMetadata metadata = new ImageMetadata(f);
|
||||||
if (metadata.getDateTaken().isPresent()) {
|
if (metadata.getDateTaken().isPresent()) {
|
||||||
exifMap.put(f, f); // photo mode is the same as generic file mode (but only select photo files)
|
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) {
|
} catch (Exception e) {
|
||||||
debug.warning(format("%s [%s]", e, f));
|
debug.warning(format("%s [%s]", e, f));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user