1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-02 08:25:02 -04:00
This commit is contained in:
Reinhard Pointner 2016-05-16 00:50:06 +08:00
parent b576216ffc
commit 37bf803c86

View File

@ -120,10 +120,11 @@ public class MediaDetection {
public static boolean isEpisode(File file, boolean strict) {
Object metaInfo = xattr.getMetaInfo(file);
if (metaInfo != null) {
return metaInfo instanceof Episode;
if (metaInfo instanceof Episode) {
return true;
}
// require a good S00E00 match
return MediaDetection.isEpisode(String.join("/", file.getParent(), file.getName()), strict);
}