bin/sensible-cinema-cli in sensible-cinema-0.20.5 vs bin/sensible-cinema-cli in sensible-cinema-0.21.3

- old
+ new

@@ -39,11 +39,16 @@ if args.detect{|arg| arg == '-h' || arg == '--help'} puts <<-END - syntax: [player_description.yml|test] edit_decision_list.txt [-t -v --clear-cache] (or nothing at all--it will prompt) + syntax: [player_description.yml] [delete_list.txt|test] [-t -v --clear-cache] (or just nothing at all--it will prompt for all things needed) + + If you specify "test" for the delete list, it will pause 4s, take a snapshot of the player, then exit. + Useful for debugging your screen capture of the current player. + You can also specify -v or -t if you want to enable more verbose (chatty) output. + END for file in Dir[__dir__ + '../zamples/mute*/*'] puts "\n", "Example file:", file + "\n\n", File.read(file) end @@ -89,11 +94,11 @@ screen_tracker = ScreenTracker.new_from_yaml File.binread(player_description), overlay Mouse.jitter_forever_in_own_thread # when this ends you know a snapshot was taken... # exit early if we just wanted a screen dump...a little kludgey... unless overlay - puts 'warning--only doing screen dump in t-minus 4s...' - sleep 4 + puts 'warning--only doing screen dump in t-minus 2s...' + sleep 2 puts 'snap!' screen_tracker.dump_bmp exit 1 end screen_tracker.process_forever_in_thread \ No newline at end of file