* allow processing of subtitle files alongside of video files even if the subtitles are in nested folders

This commit is contained in:
Reinhard Pointner 2015-01-18 12:47:57 +00:00
parent 68102c9d88
commit 6cbef1d20b
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ public class CmdlineOperations implements CmdlineInterface {
for (File file : derivateFiles) {
for (Match<File, ?> match : matches) {
if (file.getParentFile().equals(match.getValue().getParentFile()) && isDerived(file, match.getValue()) && match.getCandidate() instanceof Episode) {
if (file.getPath().startsWith(match.getValue().getParentFile().getPath()) && isDerived(file, match.getValue()) && match.getCandidate() instanceof Episode) {
derivateMatches.add(new Match<File, Object>(file, ((Episode) match.getCandidate()).clone()));
break;
}