lib/sites/newzleech/nzb.rb in pirate-autonzb-0.5.0 vs lib/sites/newzleech/nzb.rb in pirate-autonzb-0.5.1
- old
+ new
@@ -88,11 +88,11 @@
movies.each do |movie|
$stdout.print "#{movie.dirname}, imdb score: #{movie.score}, age: #{movie.age.to_i} day(s)\n"
if @inspector.need?(movie)
$stdout.print " => DOWNLOAD: #{movie.name} (#{movie.year})\n"
download_nzb(movie, @inspector.backup_path)
- @inspector.movies << movie
end
+ @inspector.movies << movie
end
$stdout.print "No nzb found, maybe change -age or -page setting\n" if @movies.empty?
end
def download_nzb(movie, backup_path = nil)
\ No newline at end of file