Parcourir la source

Skip "unedited" files

Zachary Kotlarek il y a 12 ans
Parent
commit
006ee0b891
1 fichiers modifiés avec 7 ajouts et 0 suppressions
  1. 7 0
      findTorrent.pl

+ 7 - 0
findTorrent.pl

@@ -712,6 +712,13 @@ foreach my $tor (@tors) {
 			print STDERR 'Skipping file: Title contains "german": ' . $tor->{'title'} . "\n";
 			print STDERR 'Skipping file: Title contains "german": ' . $tor->{'title'} . "\n";
 		}
 		}
 		next;
 		next;
+
+		# Skip unedited files
+	} elsif ($tor->{'title'} =~ /unedited/i) {
+		if ($DEBUG) {
+			print STDERR 'Skipping file: Title contains "unedited": ' . $tor->{'title'} . "\n";
+		}
+		next;
 	}
 	}
 
 
 	# Enforce season and episode number matches for standard searches, or CUSTOM_SEARCH matching (if it's a regex)
 	# Enforce season and episode number matches for standard searches, or CUSTOM_SEARCH matching (if it's a regex)