diff --git a/source/net/filebot/vfs/SimpleFileInfo.java b/source/net/filebot/vfs/SimpleFileInfo.java index c4572231..e634e7eb 100644 --- a/source/net/filebot/vfs/SimpleFileInfo.java +++ b/source/net/filebot/vfs/SimpleFileInfo.java @@ -21,7 +21,7 @@ public class SimpleFileInfo implements FileInfo, Comparable { } public String getName() { - return getNameWithoutExtension(path); + return getNameWithoutExtension(new File(path).getName()); } @Override