diff --git a/.classpath b/.classpath index 0804f432..f46e2a7f 100644 --- a/.classpath +++ b/.classpath @@ -10,7 +10,7 @@ - + diff --git a/source/net/filebot/mediainfo/MediaInfoException.java b/source/net/filebot/mediainfo/MediaInfoException.java index 8c0992a1..62ba4132 100644 --- a/source/net/filebot/mediainfo/MediaInfoException.java +++ b/source/net/filebot/mediainfo/MediaInfoException.java @@ -15,7 +15,8 @@ public class MediaInfoException extends RuntimeException { private static String getLinkageErrorMessage(LinkageError e) { String name = Platform.isWindows() ? "MediaInfo.dll" : Platform.isMac() ? "libmediainfo.dylib" : "libmediainfo.so"; String arch = System.getProperty("os.arch"); - return String.format("Unable to load %s native library %s: %s", arch, name, e.getMessage()); + String bit = Platform.is64Bit() ? "64-bit" : "32-bit"; + return String.format("Unable to load %s (%s) native library %s: %s", arch, bit, name, e.getMessage()); } }