sensible-cinema 0.28.0 → 0.28.1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE.TXT +1 -1
- data/README +6 -4
- data/Rakefile +41 -24
- data/TODO +41 -10
- data/VERSION +1 -1
- data/change_log_with_feature_list.txt +12 -0
- data/documentation/is_it_legal_to_copy_dvds.txt +4 -2
- data/go +1 -0
- data/goc +1 -0
- data/history_and_related_works_list.txt +2 -0
- data/inventionzy_files/control_youtube.html +135 -0
- data/inventionzy_files/md5s.txt +53 -0
- data/inventionzy_files/play_with_inserted_scene.bat +8 -0
- data/inventionzy_files/play_with_overlay.bat +24 -0
- data/inventionzy_files/serve.rb +6 -0
- data/inventionzy_files/transcript_mute_vlc.txt +117 -0
- data/lib/add_any_bundled_gems_to_load_path.rb +1 -1
- data/lib/edl_parser.rb +2 -0
- data/lib/gui/sensible-cinema-base.rb +10 -68
- data/lib/gui/sensible-cinema-create.rb +16 -10
- data/lib/gui/sensible-cinema-dependencies.rb +1 -0
- data/lib/gui/sensible-cinema-normal.rb +11 -14
- data/lib/muter.rb +1 -1
- data/lib/subtitle_profanity_finder.rb +3 -2
- data/spec/notes +2 -0
- data/template_bats/README_DISTRO.TXT +6 -0
- data/template_bats/mac/RUN SENSIBLE CINEMA CLICK HERE.sh b/data/template_bats/mac/RUN SENSIBLE CINEMA CLICK → HERE.command +0 -0
- data/template_bats/mac/{advanced--create or edit sensible cinema edit list files.sh → advanced--create or edit sensible cinema edit list files.command } +1 -0
- data/template_bats/mac/{advanced--run-upconverting-video-player.sh → advanced--run-upconverting-video-player.command} +1 -0
- data/todo.inventionzy.txt +11 -0
- data/todo.propaganda +21 -18
- data/vendor/rdp-win32screenshot-0.0.9/.document +5 -0
- data/vendor/rdp-win32screenshot-0.0.9/History.rdoc +53 -0
- data/vendor/rdp-win32screenshot-0.0.9/LICENSE +20 -0
- data/vendor/rdp-win32screenshot-0.0.9/RDP_BRANCH_HAS_MASTER_WITH_CORRECT_VERSION_NUMBER +0 -0
- data/vendor/rdp-win32screenshot-0.0.9/RDP_VERSION_IS_IN_RDP_BRANCH +0 -0
- data/vendor/rdp-win32screenshot-0.0.9/README.rdoc +95 -0
- data/vendor/rdp-win32screenshot-0.0.9/Rakefile +63 -0
- data/vendor/rdp-win32screenshot-0.0.9/VERSION +1 -0
- data/vendor/rdp-win32screenshot-0.0.9/enumerated +55576 -0
- data/vendor/rdp-win32screenshot-0.0.9/lib/aero_offscreen_srccopy_captureblt_doesnt_have_everything.bmp.gz +0 -0
- data/vendor/rdp-win32screenshot-0.0.9/lib/enumerate.rb +6 -0
- data/vendor/rdp-win32screenshot-0.0.9/lib/firefox.bmp +0 -0
- data/vendor/rdp-win32screenshot-0.0.9/lib/normal.bmp +0 -0
- data/vendor/rdp-win32screenshot-0.0.9/lib/normal2.bmp +0 -0
- data/vendor/rdp-win32screenshot-0.0.9/lib/notes +5 -0
- data/vendor/rdp-win32screenshot-0.0.9/lib/snapshot.rb +10 -0
- data/vendor/rdp-win32screenshot-0.0.9/lib/srccopy.bmp +0 -0
- data/vendor/rdp-win32screenshot-0.0.9/lib/srccopyplus.bmp +0 -0
- data/vendor/rdp-win32screenshot-0.0.9/lib/srccopyplusdirectx.bmp +0 -0
- data/vendor/rdp-win32screenshot-0.0.9/lib/vc.bmp +0 -0
- data/vendor/rdp-win32screenshot-0.0.9/lib/win32/screenshot.rb +95 -0
- data/vendor/rdp-win32screenshot-0.0.9/lib/win32/screenshot/bitmap_maker.rb +200 -0
- data/vendor/rdp-win32screenshot-0.0.9/lib/win32/util.rb +93 -0
- data/vendor/rdp-win32screenshot-0.0.9/spec/spec.opts +1 -0
- data/vendor/rdp-win32screenshot-0.0.9/spec/spec_helper.rb +85 -0
- data/vendor/rdp-win32screenshot-0.0.9/spec/win32_screenshot_spec.rb +194 -0
- data/vendor/rdp-win32screenshot-0.0.9/spec/win32_screenshot_util_spec.rb +75 -0
- data/vendor/rdp-win32screenshot-0.0.9/win32screenshot.gemspec +69 -0
- data/{subfont.ttf → vendor/subfont.ttf} +0 -0
- data/zamples/edit_decision_lists/dvds/{edls_being_edited/cars_disney.txt → cars_disney.txt} +0 -0
- data/zamples/edit_decision_lists/dvds/edls_being_edited/king_of_kings.txt +28 -0
- data/zamples/edit_decision_lists/dvds/monsters_vs_aliens.txt +41 -0
- data/zamples/edit_decision_lists/dvds/peter_pan.txt +29 -0
- data/zamples/edit_decision_lists/dvds/speed_racer.txt +47 -0
- data/zamples/edit_decision_lists/notes/tron.txt +4 -0
- metadata +77 -54
- data/go.sh +0 -1
- data/legal2 +0 -3
- data/lib/play_audio.rb +0 -58
- data/lib/ruby_clip.rb +0 -26
- data/template_bats/RUN SENSIBLE CINEMA CLICK HERE.bat +0 -25
- data/template_bats/advanced--create or edit sensible cinema edit list files.bat +0 -1
- data/template_bats/advanced--run-upconverting-video-player.bat +0 -1
- data/transparent.png +0 -0
@@ -0,0 +1,194 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
|
2
|
+
|
3
|
+
describe Win32::Screenshot do
|
4
|
+
include SpecHelper
|
5
|
+
|
6
|
+
before :all do
|
7
|
+
@notepad = IO.popen("notepad").pid
|
8
|
+
@iexplore = Dir.chdir("c:/program files/Internet Explorer") do; IO.popen(".\\iexplore about:blank").pid; end
|
9
|
+
@calc = IO.popen("calc").pid
|
10
|
+
wait_for_programs_to_open
|
11
|
+
cleanup
|
12
|
+
end
|
13
|
+
|
14
|
+
it "captures foreground" do
|
15
|
+
Win32::Screenshot.foreground do |width, height, bmp|
|
16
|
+
check_image(bmp, 'foreground')
|
17
|
+
hwnd = Win32::Screenshot::BitmapMaker.foreground_window
|
18
|
+
[width, height].should == Win32::Screenshot::Util.dimensions_for(hwnd)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
it "captures area of the foreground" do
|
23
|
+
Win32::Screenshot.foreground_area(30, 30, 100, 150) do |width, height, bmp|
|
24
|
+
check_image(bmp, 'foreground_area')
|
25
|
+
width.should == 70
|
26
|
+
height.should == 120
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
it "doesn't allow to capture area of the foreground with invalid coordinates" do
|
31
|
+
lambda {Win32::Screenshot.foreground_area(0, 0, -1, 100) {|width, height, bmp| check_image('foreground2')}}.
|
32
|
+
should raise_exception("specified coordinates (0, 0, -1, 100) are invalid - cannot be negative!")
|
33
|
+
end
|
34
|
+
|
35
|
+
it "captures desktop" do
|
36
|
+
Win32::Screenshot.desktop do |width, height, bmp|
|
37
|
+
check_image(bmp, 'desktop')
|
38
|
+
hwnd = Win32::Screenshot::BitmapMaker.desktop_window
|
39
|
+
[width, height].should == Win32::Screenshot::Util.dimensions_for(hwnd)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
it "captures area of the desktop" do
|
44
|
+
Win32::Screenshot.desktop_area(30, 30, 100, 150) do |width, height, bmp|
|
45
|
+
check_image(bmp, 'desktop_area')
|
46
|
+
width.should == 70
|
47
|
+
height.should == 120
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
it "doesn't allow to capture area of the desktop with invalid coordinates" do
|
52
|
+
lambda {Win32::Screenshot.desktop_area(0, 0, -1, 100) {|width, height, bmp| check_image('desktop2')}}.
|
53
|
+
should raise_exception("specified coordinates (0, 0, -1, 100) are invalid - cannot be negative!")
|
54
|
+
end
|
55
|
+
|
56
|
+
it "captures maximized window by window title" do
|
57
|
+
title = "Internet Explorer"
|
58
|
+
maximize(title)
|
59
|
+
Win32::Screenshot.window(title) do |width, height, bmp|
|
60
|
+
check_image(bmp, 'iexplore')
|
61
|
+
hwnd = Win32::Screenshot::BitmapMaker.hwnd(title)
|
62
|
+
[width, height].should == Win32::Screenshot::Util.dimensions_for(hwnd)
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
it "captures minimized window by window title as a regexp" do
|
67
|
+
title = /calculator/i
|
68
|
+
minimize(title)
|
69
|
+
Win32::Screenshot.window(title) do |width, height, bmp|
|
70
|
+
check_image(bmp, 'calc')
|
71
|
+
hwnd = Win32::Screenshot::BitmapMaker.hwnd(title)
|
72
|
+
[width, height].should == Win32::Screenshot::Util.dimensions_for(hwnd)
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
it "can also search by window class name" do
|
77
|
+
good_pid = Win32::Screenshot::BitmapMaker.hwnd(/calculator/i)
|
78
|
+
good_pid.should_not be_nil
|
79
|
+
good_pid.should == Win32::Screenshot::BitmapMaker.hwnd(/calcframe/i, true)
|
80
|
+
end
|
81
|
+
|
82
|
+
it "can find sub windows as well" do
|
83
|
+
# search for an IE sub-window by class (doesn't have text)
|
84
|
+
Win32::Screenshot::BitmapMaker.hwnd(/CommandBarClass/i, true).should_not be_nil
|
85
|
+
end
|
86
|
+
|
87
|
+
it "captures small windows" do
|
88
|
+
title = /Notepad/
|
89
|
+
resize(title)
|
90
|
+
Win32::Screenshot.window(title) do |width, height, bmp|
|
91
|
+
check_image(bmp, 'notepad')
|
92
|
+
# we should get the size of the picture because
|
93
|
+
# screenshot doesn't include titlebar and the size
|
94
|
+
# varies between different themes and Windows versions
|
95
|
+
hwnd = Win32::Screenshot::BitmapMaker.hwnd(title)
|
96
|
+
[width, height].should == Win32::Screenshot::Util.dimensions_for(hwnd)
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
it "captures area of the window" do
|
101
|
+
title = /calculator/i
|
102
|
+
Win32::Screenshot.window_area(title, 30, 30, 100, 150) do |width, height, bmp|
|
103
|
+
check_image(bmp, 'calc_area')
|
104
|
+
width.should == 70
|
105
|
+
height.should == 120
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
109
|
+
it "captures whole window if window size is specified as coordinates" do
|
110
|
+
title = /calculator/i
|
111
|
+
hwnd = Win32::Screenshot::BitmapMaker.hwnd(title)
|
112
|
+
expected_width, expected_height = Win32::Screenshot::Util.dimensions_for(hwnd)
|
113
|
+
Win32::Screenshot.window_area(title, 0, 0, expected_width, expected_height) do |width, height, bmp|
|
114
|
+
check_image(bmp, 'calc_area_full_window')
|
115
|
+
width.should == expected_width
|
116
|
+
height.should == expected_height
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
120
|
+
it "doesn't allow to capture area of the window with negative coordinates" do
|
121
|
+
title = /calculator/i
|
122
|
+
lambda {Win32::Screenshot.window_area(title, 0, 0, -1, 100) {|width, height, bmp| check_image('calc2')}}.
|
123
|
+
should raise_exception("specified coordinates (0, 0, -1, 100) are invalid - cannot be negative!")
|
124
|
+
end
|
125
|
+
|
126
|
+
it "doesn't allow to capture area of the window if coordinates are the same" do
|
127
|
+
title = /calculator/i
|
128
|
+
lambda {Win32::Screenshot.window_area(title, 10, 0, 10, 20) {|width, height, bmp| check_image('calc4')}}.
|
129
|
+
should raise_exception("specified coordinates (10, 0, 10, 20) are invalid - cannot have x1 > x2 or y1 > y2!")
|
130
|
+
end
|
131
|
+
|
132
|
+
it "doesn't allow to capture area of the window if second coordinate is smaller than first one" do
|
133
|
+
title = /calculator/i
|
134
|
+
lambda {Win32::Screenshot.window_area(title, 0, 10, 10, 9) {|width, height, bmp| check_image('calc5')}}.
|
135
|
+
should raise_exception("specified coordinates (0, 10, 10, 9) are invalid - cannot have x1 > x2 or y1 > y2!")
|
136
|
+
end
|
137
|
+
|
138
|
+
it "doesn't allow to capture area of the window with too big coordinates" do
|
139
|
+
title = /calculator/i
|
140
|
+
hwnd = Win32::Screenshot::BitmapMaker.hwnd(title)
|
141
|
+
expected_width, expected_height = Win32::Screenshot::Util.dimensions_for(hwnd)
|
142
|
+
lambda {Win32::Screenshot.window_area(title, 0, 0, 10, 1000) {|width, height, bmp| check_image('calc3')}}.
|
143
|
+
should raise_exception("specified coordinates (0, 0, 10, 1000) are invalid - maximum are x2=#{expected_width} and y2=#{expected_height}!")
|
144
|
+
end
|
145
|
+
|
146
|
+
it "captures by window with handle" do
|
147
|
+
title = /calculator/i
|
148
|
+
hwnd = Win32::Screenshot::BitmapMaker.hwnd(title)
|
149
|
+
Win32::Screenshot.hwnd(hwnd) do |width, height, bmp|
|
150
|
+
check_image(bmp, 'calc_hwnd')
|
151
|
+
[width, height].should == Win32::Screenshot::Util.dimensions_for(hwnd)
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
155
|
+
it "captures area of the window with handle" do
|
156
|
+
hwnd = Win32::Screenshot::BitmapMaker.hwnd(/calculator/i)
|
157
|
+
Win32::Screenshot.hwnd_area(hwnd, 30, 30, 100, 150) do |width, height, bmp|
|
158
|
+
check_image(bmp, 'calc_hwnd_area')
|
159
|
+
width.should == 70
|
160
|
+
height.should == 120
|
161
|
+
end
|
162
|
+
end
|
163
|
+
|
164
|
+
it "doesn't allow to capture area of the window with handle with invalid coordinates" do
|
165
|
+
hwnd = Win32::Screenshot::BitmapMaker.hwnd(/calculator/i)
|
166
|
+
lambda {Win32::Screenshot.hwnd_area(hwnd, 0, 0, -1, 100) {|width, height, bmp| check_image('desktop2')}}.
|
167
|
+
should raise_exception("specified coordinates (0, 0, -1, 100) are invalid - cannot be negative!")
|
168
|
+
end
|
169
|
+
|
170
|
+
it "captures based on coordinates" do
|
171
|
+
hwnd = Win32::Screenshot::BitmapMaker.hwnd(/calculator/i)
|
172
|
+
bmp1 = bmp2 = nil
|
173
|
+
Win32::Screenshot.hwnd_area(hwnd, 100, 100, 170, 180) do |width, height, bmp|; bmp1 = bmp; end
|
174
|
+
Win32::Screenshot.hwnd_area(hwnd, 0, 0, 70, 80) do |width, height, bmp|; bmp2 = bmp; end
|
175
|
+
bmp1.length.should == bmp2.length
|
176
|
+
bmp1.should_not == bmp2
|
177
|
+
end
|
178
|
+
|
179
|
+
it "allows window titles to include regular expressions' special characters" do
|
180
|
+
lambda {Win32::Screenshot::BitmapMaker.hwnd("Window title *^$?([.")}.should_not raise_exception
|
181
|
+
end
|
182
|
+
|
183
|
+
it "raises an 'no block given' Exception if no block was given" do
|
184
|
+
lambda {Win32::Screenshot.foreground}.should raise_exception(LocalJumpError)
|
185
|
+
end
|
186
|
+
|
187
|
+
after :all do
|
188
|
+
for name in [/calculator/i, /Notepad/, /Internet Explorer/] do
|
189
|
+
# kill them in a jruby friendly way
|
190
|
+
pid = Win32::Screenshot::Util.window_process_id(Win32::Screenshot::Util.window_hwnd(name))
|
191
|
+
system("taskkill /PID #{pid}")
|
192
|
+
end
|
193
|
+
end
|
194
|
+
end
|
@@ -0,0 +1,75 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
|
2
|
+
|
3
|
+
describe Win32::Screenshot::Util do
|
4
|
+
include SpecHelper
|
5
|
+
|
6
|
+
before :all do
|
7
|
+
# should not have any running calculators yet...
|
8
|
+
proc {Win32::Screenshot::Util.window_hwnd("Calculator") }.should raise_exception("window with title 'Calculator' was not found!")
|
9
|
+
@calc = IO.popen("calc").pid
|
10
|
+
wait_for_calculator_to_open
|
11
|
+
@calc_hwnd = Win32::Screenshot::Util.window_hwnd("Calculator")
|
12
|
+
end
|
13
|
+
|
14
|
+
it ".all_desktop_windows enumerates all available windows" do
|
15
|
+
all_windows = Win32::Screenshot::Util.all_desktop_windows
|
16
|
+
all_windows.should_not be_empty
|
17
|
+
all_windows[0].should be_an(Array)
|
18
|
+
all_windows[0][0].should be_a(String)
|
19
|
+
all_windows[0][1].should be_a(Fixnum)
|
20
|
+
|
21
|
+
calculator = all_windows.find {|title, hwnd| title =~ /Calculator/}
|
22
|
+
calculator.should_not be_nil
|
23
|
+
calculator[0].should == "Calculator"
|
24
|
+
calculator[1].should == @calc_hwnd
|
25
|
+
end
|
26
|
+
|
27
|
+
it ".window_title returns title of a specified window's handle" do
|
28
|
+
Win32::Screenshot::Util.window_title(@calc_hwnd).should == "Calculator"
|
29
|
+
end
|
30
|
+
|
31
|
+
it ".dimensions_for window handle returns dimensions of the window in pixels" do
|
32
|
+
width, height = Win32::Screenshot::Util.dimensions_for(@calc_hwnd)
|
33
|
+
width.should be > 100
|
34
|
+
height.should be > 100
|
35
|
+
end
|
36
|
+
|
37
|
+
it ".window_class returns classname of a specified window's handle" do
|
38
|
+
Win32::Screenshot::Util.window_class(@calc_hwnd).should == "CalcFrame"
|
39
|
+
end
|
40
|
+
|
41
|
+
it ".get_info returns lots of info about an hwnd" do
|
42
|
+
desktop_hwnd = Win32::Screenshot::BitmapMaker.desktop_window
|
43
|
+
info = Win32::Screenshot::Util.get_info desktop_hwnd
|
44
|
+
info.should be_a Hash
|
45
|
+
info.keys.sort.should == [:title, :class, :dimensions, :starting_coordinates].sort
|
46
|
+
end
|
47
|
+
|
48
|
+
it ".windows_hierarchy returns hwnds" do
|
49
|
+
a = Win32::Screenshot::Util.windows_hierarchy
|
50
|
+
# should have root as "desktop"
|
51
|
+
# though in reality some windows might not be descendants of the desktop
|
52
|
+
# (see the WinCheat source which discusses this further)
|
53
|
+
# but we don't worry about that edge case yet
|
54
|
+
a.should be_a Hash
|
55
|
+
a[:children].should be_an Array
|
56
|
+
a[:children].length.should be > 0
|
57
|
+
a[:children][0].should be_a Hash
|
58
|
+
a[:hwnd].should == Win32::Screenshot::BitmapMaker.desktop_window
|
59
|
+
end
|
60
|
+
|
61
|
+
it ".windows_hierarchy can return info" do
|
62
|
+
a = Win32::Screenshot::Util.windows_hierarchy true
|
63
|
+
# check for right structure
|
64
|
+
for hash_example in [a, a[:children][0]] do
|
65
|
+
hash_example.keys.sort.should == [:title, :hwnd, :class, :dimensions, :starting_coordinates, :children].sort
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
after :all do
|
70
|
+
# tests our hwnd -> pid method, and conveniently, shuts down the calculator process
|
71
|
+
calc_pid = Win32::Screenshot::Util.window_process_id(@calc_hwnd)
|
72
|
+
system("taskkill /PID #{calc_pid}")
|
73
|
+
proc {Win32::Screenshot::Util.window_hwnd("Calculator") }.should raise_exception("window with title 'Calculator' was not found!")
|
74
|
+
end
|
75
|
+
end
|
@@ -0,0 +1,69 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{win32screenshot}
|
8
|
+
s.version = "0.0.7"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Jarmo Pertman", "Aslak Helles\303\270y"]
|
12
|
+
s.date = %q{2010-08-18}
|
13
|
+
s.description = %q{Capture Screenshots on Windows with Ruby}
|
14
|
+
s.email = ["jarmo.p@gmail.com", "aslak.hellesoy@gmail.com"]
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
".gitignore",
|
22
|
+
"History.rdoc",
|
23
|
+
"LICENSE",
|
24
|
+
"README.rdoc",
|
25
|
+
"Rakefile",
|
26
|
+
"VERSION",
|
27
|
+
"lib/win32/screenshot.rb",
|
28
|
+
"lib/win32/screenshot/bitmap_maker.rb",
|
29
|
+
"lib/win32/util.rb",
|
30
|
+
"spec/spec.opts",
|
31
|
+
"spec/spec_helper.rb",
|
32
|
+
"spec/win32_screenshot_spec.rb",
|
33
|
+
"spec/win32_screenshot_util_spec.rb",
|
34
|
+
"win32screenshot.gemspec"
|
35
|
+
]
|
36
|
+
s.homepage = %q{http://github.com/jarmo/win32screenshot}
|
37
|
+
s.rdoc_options = ["--main", "README.rdoc"]
|
38
|
+
s.require_paths = ["lib"]
|
39
|
+
s.rubygems_version = %q{1.3.7}
|
40
|
+
s.summary = %q{Capture Screenshots on Windows with Ruby}
|
41
|
+
s.test_files = [
|
42
|
+
"spec/spec_helper.rb",
|
43
|
+
"spec/win32_screenshot_spec.rb",
|
44
|
+
"spec/win32_screenshot_util_spec.rb"
|
45
|
+
]
|
46
|
+
|
47
|
+
if s.respond_to? :specification_version then
|
48
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
49
|
+
s.specification_version = 3
|
50
|
+
|
51
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
52
|
+
s.add_runtime_dependency(%q<ffi>, [">= 0"])
|
53
|
+
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
|
54
|
+
s.add_development_dependency(%q<os>, [">= 0"])
|
55
|
+
s.add_development_dependency(%q<rmagick>, [">= 0"])
|
56
|
+
else
|
57
|
+
s.add_dependency(%q<ffi>, [">= 0"])
|
58
|
+
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
59
|
+
s.add_dependency(%q<os>, [">= 0"])
|
60
|
+
s.add_dependency(%q<rmagick>, [">= 0"])
|
61
|
+
end
|
62
|
+
else
|
63
|
+
s.add_dependency(%q<ffi>, [">= 0"])
|
64
|
+
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
65
|
+
s.add_dependency(%q<os>, [">= 0"])
|
66
|
+
s.add_dependency(%q<rmagick>, [">= 0"])
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
File without changes
|
File without changes
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"name" => "King of Kings",
|
2
|
+
|
3
|
+
"mutes" => [
|
4
|
+
|
5
|
+
],
|
6
|
+
|
7
|
+
"blank_outs" => [
|
8
|
+
"437.0", "454.5", "dead people lying around",
|
9
|
+
" 519.4", " 535.2", "killing the priests",
|
10
|
+
"588.0", "599.2", "dead priests",
|
11
|
+
"760.3", 775", "burning people",
|
12
|
+
"1096", "1104", "killing babies",
|
13
|
+
"1111.8", 1118.8", "screaming babies",
|
14
|
+
"1773.7", "1863.7", "killing fighting",
|
15
|
+
"1880.9", "1969.0", "kill someoen, some random struggles",
|
16
|
+
"4536.6", "4668.3", "dancing daughter",
|
17
|
+
|
18
|
+
"1455.7", "1736.7", "intermission",
|
19
|
+
"2098.8", "2111.1", "initial killings",
|
20
|
+
"2175.9", "2333.0", "big battle to storm castle, much killing",
|
21
|
+
],
|
22
|
+
|
23
|
+
"volume_name" => "KING_OF_KINGS",
|
24
|
+
"disk_unique_id" => "9b6fed12|b9c8d353",
|
25
|
+
"dvd_title_track" => "1",
|
26
|
+
"dvd_title_track_length" => "10248.433",
|
27
|
+
# "closing thoughts" => "only...",
|
28
|
+
"mplayer_dvd_splits" => ["4903.5"],
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# comments can go after a # on any line, for example this one.
|
2
|
+
"name" => "monsters vs aliens",
|
3
|
+
|
4
|
+
"mutes" => [
|
5
|
+
|
6
|
+
"0:01:55.37" , "0:01:58.38", "profanity", "j....", "Holy [j....] what do we do No one ever told us what to do",
|
7
|
+
"0:08:08.77" , "0:08:11.89", "profanity", "goodness", "Thank [goodness] I have wet wipes",
|
8
|
+
"0:15:51.62" , "0:15:54.32", "profanity", "goodness", "Oh please [goodness] please tell me this isn't real",
|
9
|
+
"0:53:55.81" , "0:53:58.41", "profanity", "goodness", "Oh my [goodness] Is that better",
|
10
|
+
"00:14:51,280", "00:14:53,464", "profanity", "b....", "at his b.....s",
|
11
|
+
"01:06:30,241", "01:06:37,209", "language", "bathroom humor", "code brown change my pants",
|
12
|
+
|
13
|
+
|
14
|
+
#"0:29:20.82" , "0:29:23.53", "profanity", "idiot", "What [idiot] designed this thing",
|
15
|
+
#"0:57:33.40" , "0:57:34.75", "profanity", "idiot", "[idiot]",
|
16
|
+
"1:27:15", "1:27:20", "profanity", "deity", "my [goodness]",
|
17
|
+
"1:14:05", "1:14:12", "profanity", "oh my [goodness]",
|
18
|
+
|
19
|
+
],
|
20
|
+
|
21
|
+
"blank_outs" => [
|
22
|
+
"0:22:08.84", "0:22:48.37", "innuendo", "kissing in car",
|
23
|
+
],
|
24
|
+
|
25
|
+
"black_outs" => [
|
26
|
+
"0:23:08.09", "0:23:12.94", "grotesque", "broken ankle",
|
27
|
+
],
|
28
|
+
|
29
|
+
"volume_name" => "MONSTERS_VS_ALIENS",
|
30
|
+
"disk_unique_id" => "69df400d|01558084",
|
31
|
+
"dvd_title_track" => "9",
|
32
|
+
# "dvd_title_track_length" => "9999", # length, on the DVD, of dvd_title_track (use the show DVD info button to get this number).
|
33
|
+
"subtitle_url" => "http://www.opensubtitles.org/en/subtitles/3968186/monsters-vs-aliens-en", # right on...
|
34
|
+
# "not edited out stuff" => "some...",
|
35
|
+
# "closing thoughts" => "only...",
|
36
|
+
# In mplayer, the DVD timestamp "resets" to zero for some reason, so you need to specify when if you want to use mplayer DVD realtime playback, or use mencoder -edl to split your file. See http://goo.gl/yMfqX
|
37
|
+
"mplayer_dvd_splits" => [],
|
38
|
+
|
39
|
+
#Also add these two lines for later coordination:
|
40
|
+
"beginning_subtitle" => ["Hey, Jerry.", "98.42"],
|
41
|
+
"ending_subtitle_entry" => ["That two-timing jerk!", "5105.1"],
|
@@ -0,0 +1,29 @@
|
|
1
|
+
"name" => "peter pan",
|
2
|
+
|
3
|
+
"mutes" => [
|
4
|
+
|
5
|
+
"0:32:11.10" , "0:32:15.05", "profanity", "da..", "[da..]ation Reload the cannon quickly",
|
6
|
+
"0:32:38.88" , "0:32:41.55", "profanity", "goodness", "Yah My [goodness] I've gone blind",
|
7
|
+
|
8
|
+
],
|
9
|
+
|
10
|
+
"blank_outs" => [
|
11
|
+
"2808.0", "2813.7", "violence", "gunshot wound",
|
12
|
+
"5086.0", "5089.0", "violence", "skewer",
|
13
|
+
"5602.7", "5605.4", "violence", "he was et",
|
14
|
+
],
|
15
|
+
|
16
|
+
"volume_name" => "PETER_PAN",
|
17
|
+
"disk_unique_id" => "6dc655aa|7e23c7ba",
|
18
|
+
"dvd_title_track" => "1",
|
19
|
+
"dvd_title_track_length" => "6798.400",
|
20
|
+
"subtitle_url" => "http://www.opensubtitles.org/en/subtitles/3345334/peter-pan-en",
|
21
|
+
# "not edited out stuff" => "some...",
|
22
|
+
# "closing thoughts" => "only...",
|
23
|
+
# In mplayer, the DVD timestamp "resets" to zero for some reason, so you need to specify when if you want to use mplayer DVD realtime playback, or use mencoder -edl to split your file. See http://goo.gl/yMfqX
|
24
|
+
"mplayer_dvd_splits" => [],
|
25
|
+
|
26
|
+
|
27
|
+
#Also add these two lines for later coordination:
|
28
|
+
"beginning_subtitle" => ["Cinderella flew through the air", "58.05"],
|
29
|
+
"ending_subtitle_entry" => ["Except one", "6129.3"]
|
@@ -0,0 +1,47 @@
|
|
1
|
+
|
2
|
+
"mutes" => [
|
3
|
+
# an example line, uncomment the leading "#" to make it active
|
4
|
+
# "0:16:38.333" , "0:16:42.873", "profanity", "da..", "you can bet your [a..] he's [da..] proud of his little brother",
|
5
|
+
"0:32:50.800" , "0:32:52.643", "profanity", "goodness", "Oh [goodness]
|
6
|
+
it's him",
|
7
|
+
"0:38:19.367" , "0:38:22.473", "profanity", "goodness", "SPRITLE Oh
|
8
|
+
[goodness] I'm gonna hull",
|
9
|
+
"0:49:57.800" , "0:50:00.872", "profanity", "goodness", "Oh but the
|
10
|
+
fans love it don't they They do [goodness] help them",
|
11
|
+
"1:05:21.367" , "1:05:24.348", "profanity", "he..", "What Like [he..]
|
12
|
+
they are",
|
13
|
+
"1:11:57.367" , "1:12:01.008", "profanity", "goodness", "Oh my
|
14
|
+
[goodness] did I just see that A rear single set jump into a
|
15
|
+
|
16
|
+
flying kick",
|
17
|
+
"1:17:05.467" , "1:17:09.609", "profanity", "goodness", "[goodness]
|
18
|
+
you sound like Rex You wanna die like him too Will that
|
19
|
+
|
20
|
+
make you happy",
|
21
|
+
"1:21:59.234" , "1:22:01.111", "profanity", "goodness", "Oh my
|
22
|
+
[goodness] Was that a ninja",
|
23
|
+
"1:26:07.267" , "1:26:09.008", "profanity", "goodness", "Oh [goodness]
|
24
|
+
Speed",
|
25
|
+
"1:37:08.167" , "1:37:12.445", "profanity", "j....", "[j....] kid you
|
26
|
+
can drive I haven't been thrown like that in years",
|
27
|
+
"1:40:13.400" , "1:40:16.643", "profanity", "a..", "Your mother
|
28
|
+
usually protects me from making an [a..] out of myself",
|
29
|
+
"1:55:34.601" , "1:55:36.410", "profanity", "sh..", "Get that weak
|
30
|
+
[sh..] off my track",
|
31
|
+
],
|
32
|
+
|
33
|
+
"blank_outs" => [
|
34
|
+
# an example line, uncomment the leading "#" to make it active
|
35
|
+
# "00:03:00.0" , "00:04:00.0", "violence", "of some sort",
|
36
|
+
"00:16:37.0" , "00:16:41.0" , "profanity", "a..",
|
37
|
+
# "00:16:40.0" , "00:16:41.0" , "profanity", "da..",
|
38
|
+
],
|
39
|
+
|
40
|
+
"volume_name" => "SPEED_RACER",
|
41
|
+
"disk_unique_id" => "bc9ac14e|cb4231c9",
|
42
|
+
"dvd_title_track" => "1",
|
43
|
+
# "dvd_title_track_length" => "6095",
|
44
|
+
# "opensubtitles_number" => "1234567",
|
45
|
+
# "not edited out stuff" => "some violence left in...",
|
46
|
+
# "closing thoughts" => "only did the...",
|
47
|
+
# "mplayer_dvd_splits" => ["59:59", "1:04:59"],
|