Have the directory recursion deliberately ignore Sample directories
This commit is contained in:
@@ -97,6 +97,9 @@ sub process_completed_directory {
|
|||||||
|
|
||||||
# If the entry is a directory and is named after an episode, attempt to scan it
|
# If the entry is a directory and is named after an episode, attempt to scan it
|
||||||
if ( -d $completed_filename) {
|
if ( -d $completed_filename) {
|
||||||
|
# Skip any "sample" directories
|
||||||
|
next if $completed_torrent =~ m/sample/i;
|
||||||
|
|
||||||
# Attempt to grab the series name from the dir name
|
# Attempt to grab the series name from the dir name
|
||||||
my ($series) = decode_filename($completed_torrent);
|
my ($series) = decode_filename($completed_torrent);
|
||||||
next unless $series;
|
next unless $series;
|
||||||
|
|||||||
Reference in New Issue
Block a user