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) {