mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 08:48:51 -05:00
* fix fix NPE
This commit is contained in:
parent
87c6648a03
commit
84075b35c8
@ -629,8 +629,8 @@ public class MediaDetection {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (stripReleaseInfo(f.getParentFile().getName()).length() > 0) {
|
if (movieFile.getParentFile() != null && stripReleaseInfo(movieFile.getParentFile().getName()).length() > 0) {
|
||||||
return f.getParentFile();
|
return movieFile.getParentFile();
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user