From 450e65dc0c186e3d6c4840b05aea59e290c97baa Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Thu, 17 Jan 2013 06:11:54 +0000 Subject: [PATCH] * allow grouping by absolute SxE patterns of the path not just the filename --- source/net/sourceforge/filebot/media/MediaDetection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/sourceforge/filebot/media/MediaDetection.java b/source/net/sourceforge/filebot/media/MediaDetection.java index d98b5fc5..fdbacdd3 100644 --- a/source/net/sourceforge/filebot/media/MediaDetection.java +++ b/source/net/sourceforge/filebot/media/MediaDetection.java @@ -167,7 +167,7 @@ public class MediaDetection { // divide file set per complete series set Map> filesByEpisode = new LinkedHashMap>(); for (File file : combinedFileSet) { - Object eid = getEpisodeIdentifier(file.getName(), true); + Object eid = getEpisodeIdentifier(file.getPath(), true); // merge specials into first SxE group if (eid == null) {