doc/LIB_EXAMPLE.md in vtools-0.1.1 vs doc/LIB_EXAMPLE.md in vtools-1.0.0
- old
+ new
@@ -50,10 +50,10 @@
# message sender
# receives hash: { :data => execution_result, :action => executed_action }
# execution_result can be video object or array with thumbnails
send_action do |result|
- @push.send "#{result[:action]} #{result[:data].name}"
+ @push.send "#{result[:action]} #{result[:data].name}" if result[:action] =~ /convert|info/
end
end
# hooks