This commit is contained in:
Reinhard Pointner 2016-05-16 00:50:06 +08:00
parent b576216ffc
commit 37bf803c86
1 changed files with 3 additions and 2 deletions

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);
}