lib/inspector.rb in pirate-autonzb-0.3.3 vs lib/inspector.rb in pirate-autonzb-0.3.4

- old
+ new

@@ -96,10 +96,10 @@ end $stdout.print "Found #{@nzbs.size} backuped nzb(s) in #{@backup_path}\n" end def clean_dir(dir) - dir.select { |e| !["..", ".", ".DS_Store"].include?(e) } + dir.select { |e| !["..", ".", ".DS_Store", ".com.apple.timemachine.supported", "Icon\r"].include?(e) } end def valid?(movie) srt_size = @options[:srt].size (((@options[:srt] - movie.srt).size < srt_size) || @options[:srt].include?('none')) && \ No newline at end of file