sensible-cinema 0.21.9 → 0.21.10
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE.TXT +8 -72
- data/README +126 -90
- data/Rakefile +28 -34
- data/TODO +157 -129
- data/VERSION +1 -1
- data/bin/sensible-cinema +40 -23
- data/change_log_with_feature_list.txt +26 -0
- data/development.txt +15 -6
- data/go.bat +1 -1
- data/go_ocr_tracker.bat +1 -1
- data/gocreatemode.bat +1 -1
- data/is_it_legal_to_copy_dvds.txt +80 -0
- data/lib/auto_convert.rb +4 -3
- data/lib/count_down_timer_jruby_swing.rb +5 -5
- data/lib/drive_info.rb +27 -7
- data/lib/edl_parser.rb +0 -1
- data/lib/mencoder_wrapper.rb +4 -5
- data/lib/subtitle_profanity_finder.rb +128 -0
- data/sensible-cinema.gemspec +24 -93
- data/spec/common.rb +8 -9
- data/spec/dragon.srt +32 -0
- data/spec/drive_info.spec.rb +2 -1
- data/spec/how_to +13 -0
- data/spec/notes +651 -41
- data/spec/subtitle_profanity_finder.spec.rb +53 -0
- data/template_bats/RUN SENSIBLE CINEMA CLICK HERE.bat +11 -2
- data/todo.build_library.txt +1 -1
- data/todo.inventionzy.txt +16 -11
- data/todo.open_edl_list_org.txt +19 -2
- data/todo.subtitle +16 -4
- data/{bin → vendor}/monkey.png +0 -0
- data/www/index.html +1 -1
- data/zamples/edit_decision_lists/dvds/how_to_train_your_dragon.txt +25 -0
- data/zamples/edit_decision_lists/dvds/legend_of_the_guardians_the_owls_of_gahoole.txt +1 -1
- data/zamples/edit_decision_lists/dvds/sintel_open_source_blender.txt +18 -0
- data/zamples/edit_decision_lists/dvds/tron_legacy.txt +27 -0
- metadata +306 -413
- data/lib/profanity_finder.rb +0 -84
- data/spec/images/black.bmp +0 -0
- data/spec/images/colon.bmp +0 -0
- data/spec/images/hulu_0.bmp +0 -0
- data/spec/images/hulu_2.bmp +0 -0
- data/spec/images/hulu_2_3.bmp +0 -0
- data/spec/images/hulu_2_4.bmp +0 -0
- data/spec/images/hulu_3.bmp +0 -0
- data/spec/images/hulu_3_4.bmp +0 -0
- data/spec/images/hulu_4.bmp +0 -0
- data/spec/images/hulu_4_4.bmp +0 -0
- data/spec/images/hulu_5.bmp +0 -0
- data/spec/images/hulu_7.bmp +0 -0
- data/spec/images/hulu_8.bmp +0 -0
- data/spec/images/hulu_slash.bmp +0 -0
- data/spec/images/netflix_a0.bmp +0 -0
- data/spec/images/netflix_a1.bmp +0 -0
- data/spec/images/netflix_a2.bmp +0 -0
- data/spec/images/netflix_a3.bmp +0 -0
- data/spec/images/netflix_a4.bmp +0 -0
- data/spec/images/netflix_a5.bmp +0 -0
- data/spec/images/netflix_a6.bmp +0 -0
- data/spec/images/netflix_a7.bmp +0 -0
- data/spec/images/netflix_a8.bmp +0 -0
- data/spec/images/netflix_a9.bmp +0 -0
- data/spec/images/netflix_b9.bmp +0 -0
- data/spec/images/vlc_0.bmp +0 -0
- data/spec/images/vlc_2_4.bmp +0 -0
- data/spec/images/vlc_2_6.bmp +0 -0
- data/spec/images/vlc_4.bmp +0 -0
- data/spec/images/vlc_5.bmp +0 -0
- data/spec/images/vlc_6.bmp +0 -0
- data/spec/images/vlc_9.bmp +0 -0
- data/spec/images/vlc_colon.bmp +0 -0
- data/spec/images/youtube_0.bmp +0 -0
- data/spec/images/youtube_1.bmp +0 -0
- data/spec/images/youtube_2_0.bmp +0 -0
- data/spec/images/youtube_2_5.bmp +0 -0
- data/spec/images/youtube_2_6.bmp +0 -0
- data/spec/images/youtube_3_0.bmp +0 -0
- data/spec/images/youtube_4.bmp +0 -0
- data/spec/images/youtube_4_0.bmp +0 -0
- data/spec/images/youtube_5.bmp +0 -0
- data/spec/images/youtube_6.bmp +0 -0
- data/spec/images/youtube_light_0.bmp +0 -0
- data/spec/images/youtube_light_1_3.bmp +0 -0
- data/spec/images/youtube_light_2_1.bmp +0 -0
- data/spec/images/youtube_light_2_3.bmp +0 -0
- data/spec/images/youtube_light_2_9.bmp +0 -0
- data/spec/images/youtube_light_4.bmp +0 -0
- data/spec/images/youtube_light_4_3.bmp +0 -0
- data/spec/images/youtube_light_5.bmp +0 -0
- data/spec/images/youtube_light_5_0.bmp +0 -0
- data/spec/images/youtube_light_8.bmp +0 -0
- data/spec/images/youtube_light_9.bmp +0 -0
- data/spec/images/youtube_small_0.bmp +0 -0
- data/spec/images/youtube_small_2.bmp +0 -0
- data/spec/images/youtube_small_2_0.bmp +0 -0
- data/spec/images/youtube_small_4.bmp +0 -0
- data/spec/silence.wav +0 -0
- data/vendor/SetPriority.exe +0 -0
- data/vendor/gocr049.exe +0 -0
- data/vendor/music.wav +0 -0
- data/vendor/unzip.exe +0 -0
data/lib/profanity_finder.rb
DELETED
@@ -1,84 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# warning: somewhat scary/explicit!
|
3
|
-
|
4
|
-
# see subtitle_todo file
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
profanities = {'hell' => 'heck', 'g' +
|
48
|
-
'o' + 'd' => 'g..', 'lord' => 'lo..', 'da' +
|
49
|
-
'mn' => 'da..', 'f' +
|
50
|
-
117.chr +
|
51
|
-
99.chr +
|
52
|
-
107.chr =>
|
53
|
-
'f...',
|
54
|
-
'bi' +
|
55
|
-
'tc' + 104.chr => 'b.....',
|
56
|
-
'bas' +
|
57
|
-
'tard' => 'ba.....',
|
58
|
-
('a'
|
59
|
-
+ 's'*2) => 'a..'
|
60
|
-
}
|
61
|
-
|
62
|
-
incoming = File.read(ARGV[0])
|
63
|
-
|
64
|
-
for profanity, sanitized in profanities
|
65
|
-
# dunno if we should force words to just start with this or contain it anywhere...
|
66
|
-
# what about 'godly' for example?
|
67
|
-
# or 'ungodly' ?
|
68
|
-
if incoming =~ Regexp.new(profanity, Regexp::IGNORECASE)
|
69
|
-
p 'contains', sanitized
|
70
|
-
end
|
71
|
-
end
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
data/spec/images/black.bmp
DELETED
Binary file
|
data/spec/images/colon.bmp
DELETED
Binary file
|
data/spec/images/hulu_0.bmp
DELETED
Binary file
|
data/spec/images/hulu_2.bmp
DELETED
Binary file
|
data/spec/images/hulu_2_3.bmp
DELETED
Binary file
|
data/spec/images/hulu_2_4.bmp
DELETED
Binary file
|
data/spec/images/hulu_3.bmp
DELETED
Binary file
|
data/spec/images/hulu_3_4.bmp
DELETED
Binary file
|
data/spec/images/hulu_4.bmp
DELETED
Binary file
|
data/spec/images/hulu_4_4.bmp
DELETED
Binary file
|
data/spec/images/hulu_5.bmp
DELETED
Binary file
|
data/spec/images/hulu_7.bmp
DELETED
Binary file
|
data/spec/images/hulu_8.bmp
DELETED
Binary file
|
data/spec/images/hulu_slash.bmp
DELETED
Binary file
|
data/spec/images/netflix_a0.bmp
DELETED
Binary file
|
data/spec/images/netflix_a1.bmp
DELETED
Binary file
|
data/spec/images/netflix_a2.bmp
DELETED
Binary file
|
data/spec/images/netflix_a3.bmp
DELETED
Binary file
|
data/spec/images/netflix_a4.bmp
DELETED
Binary file
|
data/spec/images/netflix_a5.bmp
DELETED
Binary file
|
data/spec/images/netflix_a6.bmp
DELETED
Binary file
|
data/spec/images/netflix_a7.bmp
DELETED
Binary file
|
data/spec/images/netflix_a8.bmp
DELETED
Binary file
|
data/spec/images/netflix_a9.bmp
DELETED
Binary file
|
data/spec/images/netflix_b9.bmp
DELETED
Binary file
|
data/spec/images/vlc_0.bmp
DELETED
Binary file
|
data/spec/images/vlc_2_4.bmp
DELETED
Binary file
|
data/spec/images/vlc_2_6.bmp
DELETED
Binary file
|
data/spec/images/vlc_4.bmp
DELETED
Binary file
|
data/spec/images/vlc_5.bmp
DELETED
Binary file
|
data/spec/images/vlc_6.bmp
DELETED
Binary file
|
data/spec/images/vlc_9.bmp
DELETED
Binary file
|
data/spec/images/vlc_colon.bmp
DELETED
Binary file
|
data/spec/images/youtube_0.bmp
DELETED
Binary file
|
data/spec/images/youtube_1.bmp
DELETED
Binary file
|
data/spec/images/youtube_2_0.bmp
DELETED
Binary file
|
data/spec/images/youtube_2_5.bmp
DELETED
Binary file
|
data/spec/images/youtube_2_6.bmp
DELETED
Binary file
|
data/spec/images/youtube_3_0.bmp
DELETED
Binary file
|
data/spec/images/youtube_4.bmp
DELETED
Binary file
|
data/spec/images/youtube_4_0.bmp
DELETED
Binary file
|
data/spec/images/youtube_5.bmp
DELETED
Binary file
|
data/spec/images/youtube_6.bmp
DELETED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/spec/silence.wav
DELETED
Binary file
|
data/vendor/SetPriority.exe
DELETED
Binary file
|
data/vendor/gocr049.exe
DELETED
Binary file
|
data/vendor/music.wav
DELETED
Binary file
|
data/vendor/unzip.exe
DELETED
Binary file
|