From 87c6648a03f5111c83987126c8b8f7fb206d6cef Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Mon, 1 Apr 2013 14:56:36 +0000 Subject: [PATCH] * exclude obviously invalid "movie folders" --- source/net/sourceforge/filebot/media/MediaDetection.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/net/sourceforge/filebot/media/MediaDetection.java b/source/net/sourceforge/filebot/media/MediaDetection.java index f10e8469..8cdc607a 100644 --- a/source/net/sourceforge/filebot/media/MediaDetection.java +++ b/source/net/sourceforge/filebot/media/MediaDetection.java @@ -629,7 +629,10 @@ public class MediaDetection { } } - return movieFile.getParentFile(); + if (stripReleaseInfo(f.getParentFile().getName()).length() > 0) { + return f.getParentFile(); + } + return null; }