mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 08:48:51 -05:00
* revert folder-by-folder change because movies my very well be sorted into different CDn folders
This commit is contained in:
parent
56d1892e24
commit
e6331f1116
@ -222,8 +222,7 @@ class MovieHashMatcher implements AutoCompleteMatcher {
|
||||
List<Match<File, ?>> matches = new ArrayList<Match<File, ?>>();
|
||||
|
||||
for (Entry<Movie, SortedSet<File>> byMovie : filesByMovie.entrySet()) {
|
||||
for (List<File> byFolder : mapByFolder(byMovie.getValue()).values()) {
|
||||
for (List<File> fileSet : mapByExtension(byFolder).values()) {
|
||||
for (List<File> fileSet : mapByExtension(byMovie.getValue()).values()) {
|
||||
// resolve movie parts
|
||||
for (int i = 0; i < fileSet.size(); i++) {
|
||||
Movie moviePart = byMovie.getKey();
|
||||
@ -243,7 +242,6 @@ class MovieHashMatcher implements AutoCompleteMatcher {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// restore original order
|
||||
sort(matches, new Comparator<Match<File, ?>>() {
|
||||
|
Loading…
Reference in New Issue
Block a user