Browse Source

Make is a quality check

Zachary Kotlarek 14 years ago
parent
commit
8751626bda
1 changed files with 6 additions and 7 deletions
  1. 6 7
      findTorrent.pl

+ 6 - 7
findTorrent.pl

@@ -567,13 +567,6 @@ foreach my $tor (@tors) {
 			print STDERR 'Skipping file: Title contains "german": ' . $tor->{'title'} . "\n";
 		}
 		next;
-
-		# Skip torrents that are too small
-	} elsif ($tor->{'size'} < $MIN_SIZE) {
-		if ($DEBUG) {
-			print STDERR 'Skipping file: Insufficient size (' . $tor->{'size'} . ' MiB): ' . $tor->{'title'} . "\n";
-		}
-		next;
 	}
 
 	# Only apply season and episode number matches if CUSTOM_SEARCH is not in effect
@@ -615,6 +608,12 @@ foreach my $tor (@tors) {
 			}
 			next;
 
+			# Skip torrents that are too small
+		} elsif ($tor->{'size'} < $MIN_SIZE) {
+			if ($DEBUG) {
+				print STDERR 'Skipping file: Insufficient size (' . $tor->{'size'} . ' MiB): ' . $tor->{'title'} . "\n";
+			}
+			next;
 		}
 	}