mirror of
https://github.com/mitb-archive/filebot
synced 2025-03-09 22:09:47 -04:00
MediaInfo does not support EXIF image metadata natively so we use the metadata-extractor library and implicitly merge that information in
This commit is contained in:
parent
bd826cb297
commit
16a36757a7
@ -154,8 +154,7 @@ public class MediaInfo implements Closeable {
|
||||
if (streamKind == StreamKind.Image && streamNumber == 0) {
|
||||
String path = get(StreamKind.General, 0, "CompleteName");
|
||||
try {
|
||||
ImageMetadata exif = new ImageMetadata(new File(path));
|
||||
exif.forEach(streamInfo::putIfAbsent);
|
||||
streamInfo.putAll(new ImageMetadata(new File(path)));
|
||||
} catch (Throwable e) {
|
||||
debug.warning(format("%s: %s", e, path));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user