* allow processing of subtitle files alongside of video files even if the subtitles are in nested folders
This commit is contained in:
parent
68102c9d88
commit
6cbef1d20b
|
@ -226,7 +226,7 @@ public class CmdlineOperations implements CmdlineInterface {
|
||||||
|
|
||||||
for (File file : derivateFiles) {
|
for (File file : derivateFiles) {
|
||||||
for (Match<File, ?> match : matches) {
|
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()));
|
derivateMatches.add(new Match<File, Object>(file, ((Episode) match.getCandidate()).clone()));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue