lib/inspector.rb in pirate-autonzb-0.2.4 vs lib/inspector.rb in pirate-autonzb-0.3
- old
+ new
@@ -66,9 +66,12 @@
$stdout.print " => movie doesn't have required criteria\n"
false
end
end
+ def self.growl(title, msg, pri = 0)
+ system("/usr/local/bin/growlnotify -w -n autosub --image #{File.dirname(__FILE__) + "/../asset/failure.png"} -p #{pri} -m #{msg.inspect} #{title} &")
+ end
private
def initialize_movies
@paths.each do |path|
\ No newline at end of file