sensible-cinema 0.22.1 → 0.23.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. data/LICENSE.TXT +7 -4
  2. data/README +84 -68
  3. data/Rakefile +21 -23
  4. data/TODO +93 -60
  5. data/VERSION +1 -1
  6. data/bin/sensible-cinema +201 -123
  7. data/change_log_with_feature_list.txt +10 -0
  8. data/development.txt +11 -2
  9. data/go.bat +1 -1
  10. data/go.sh +1 -0
  11. data/go_ocr_tracker.bat +1 -1
  12. data/goc.bat +1 -0
  13. data/lib/auto_convert.rb +4 -3
  14. data/lib/check_installed_mac.rb +40 -0
  15. data/lib/drive_info.rb +25 -13
  16. data/lib/edl_parser.rb +1 -3
  17. data/lib/mencoder_wrapper.rb +11 -6
  18. data/lib/mouse.rb +1 -1
  19. data/lib/mplayer_edl.rb +1 -2
  20. data/lib/ocr.rb +8 -3
  21. data/lib/subtitle_profanity_finder.rb +68 -21
  22. data/lib/swing_helpers.rb +1 -1
  23. data/sensible-cinema.gemspec +20 -5
  24. data/spec/arse.srt +36 -0
  25. data/spec/common.rb +1 -1
  26. data/spec/deity_end.srt +11 -0
  27. data/spec/dragon.srt +1 -2
  28. data/spec/drive_info.spec.rb +25 -6
  29. data/spec/notes +99 -15
  30. data/spec/sensible_cinema_gui.spec.rb +8 -5
  31. data/spec/subtitle_profanity_finder.spec.rb +56 -6
  32. data/template_bats/RUN SENSIBLE CINEMA CLICK HERE.bat +2 -2
  33. data/todo.inventionzy.txt +0 -12
  34. data/todo.open_edl_list_org.txt +2 -0
  35. data/{propaganda → todo.propaganda} +4 -1
  36. data/todo.subtitle +3 -22
  37. data/vendor/mac_dvdid/bin/dvdid +0 -0
  38. data/vendor/mac_dvdid/include/dvdid/dvdid.h +67 -0
  39. data/vendor/mac_dvdid/include/dvdid/dvdid2.h +131 -0
  40. data/vendor/mac_dvdid/include/dvdid/export.h +32 -0
  41. data/vendor/mac_dvdid/lib/libdvdid.0.dylib +0 -0
  42. data/vendor/mac_dvdid/lib/libdvdid.a +0 -0
  43. data/vendor/mac_dvdid/lib/libdvdid.dylib +0 -0
  44. data/vendor/mac_dvdid/lib/libdvdid.la +41 -0
  45. data/www/index.html +16 -5
  46. data/zamples/edit_decision_lists/dvds/COOL_RUNNINGS.txt +3 -3
  47. data/zamples/edit_decision_lists/dvds/Harry Potter 2.txt +3 -4
  48. data/zamples/edit_decision_lists/dvds/bambi.txt +20 -0
  49. data/zamples/edit_decision_lists/dvds/big_buck_bunny_dvd.txt +6 -7
  50. data/zamples/edit_decision_lists/dvds/bob the builder pets in a pickle.txt +1 -1
  51. data/zamples/edit_decision_lists/dvds/bobs_big_plan.txt +1 -1
  52. data/zamples/edit_decision_lists/dvds/happiest baby on the block.txt +1 -1
  53. data/zamples/edit_decision_lists/dvds/how_to_train_your_dragon.txt +2 -2
  54. data/zamples/edit_decision_lists/dvds/kung_fu_panda_1.txt +17 -0
  55. data/zamples/edit_decision_lists/dvds/legend_of_the_guardians_the_owls_of_gahoole.txt +1 -1
  56. data/zamples/edit_decision_lists/dvds/making_marriage_work.txt +3 -5
  57. data/zamples/edit_decision_lists/dvds/narnia_voyage_of_the_dawn_treader.txt +16 -0
  58. data/zamples/edit_decision_lists/dvds/old_and_inaccurate/star_trek_generations_hulu.txt +1 -1
  59. data/zamples/edit_decision_lists/dvds/pack_wedding_2007-03-03.txt +4 -4
  60. data/zamples/edit_decision_lists/dvds/sintel_open_source_blender.txt +2 -1
  61. data/zamples/edit_decision_lists/dvds/tron_legacy.txt +1 -1
  62. data/zamples/edit_decision_lists/dvds/turn_around_alma_younger.txt +1 -1
  63. data/zamples/edit_decision_lists/dvds/{example_delete_list_that_has_no_cuts_in_it.txt → zz_example_delete_list_that_has_no_cuts_in_it.txt} +2 -2
  64. data/zamples/edit_decision_lists/old_not_yet_updated/example_edit_decision_list.txt +2 -2
  65. data/zamples/edit_decision_lists/youtube/demo_mutes.txt +1 -1
  66. metadata +20 -5
  67. data/gocreatemode.bat +0 -1
@@ -1,6 +1,6 @@
1
1
  "title" => "bob the builder pets in a pickle",
2
2
 
3
- "disk_unique_id" => "dc5a1b0081d60a94f1d7742ee14759cd",
3
+ #"disk_unique_id" => "",
4
4
 
5
5
  "blank_outs" => [
6
6
  "5:44", "6:10",
@@ -1,7 +1,7 @@
1
1
  "title" => "Bob's Big Plan",
2
2
  "dvd_title_track" => 1,
3
3
  "other notes" => "could use more nit-picking of the song, as some parts seem all right in the end",
4
- "disk_unique_id" => "259961ce38971cac3e28214ec4ec278b",
4
+ #"disk_unique_id" => "",
5
5
 
6
6
  "mutes" => [
7
7
  "00:03.8" , "01:03", "theme song is a bit raucous at times",
@@ -1,7 +1,7 @@
1
1
  "mutes" => [
2
2
  "6:18" , "6:19.1", "religious reference", "religious reference" # TODO can put category number here...
3
3
  ],
4
- "disk_unique_id" => "19d121ae8dc40cdd70b57ab7e8c74f76",
4
+ #"disk_unique_id" => "",
5
5
  "title" => "Happiest baby on the block",
6
6
  "source" => "DVD",
7
7
  "dvd_title_track" => 1,
@@ -18,8 +18,8 @@
18
18
  ],
19
19
 
20
20
  "name" => "How to Train Your Dragon",
21
- "disk_unique_id" => "60c64d18ce76f8b14eae852a1c7d8c7f",
21
+ # "disk_unique_id" => "",
22
22
 
23
- "dvd_title_track" => "9", # most DVD's use title 1. Not all do, though. If sensible-cinema plays anything except the main title (for example, a trailer), when you use it, see http://goo.gl/QHLIF to set this field right.
23
+ "dvd_title_track" => "9",
24
24
  "not edited out stuff" => "breast helmet, butt, undies, heckheim's gate, what the eff [feel free to add them]",
25
25
  "mplayer_dvd_splits" => [], # none
@@ -0,0 +1,17 @@
1
+ "mutes" => [
2
+ # she's clean! At least nothing obvious...
3
+ ],
4
+
5
+ "blank_outs" => [
6
+ # example line, uncomment the leading "#" to make it active
7
+ # "00:03:00.0" , "00:04:00.0", "violence", "of some sort",
8
+ ],
9
+
10
+ "name" => "kung fu panda 1",
11
+ "volume_name" => "KUNG_FU_PANDA",
12
+ #"disk_unique_id" => "",
13
+
14
+ "dvd_title_track" => "16",
15
+ "not edited out stuff" => "some violence",
16
+ # "closing thoughts" => "still...",
17
+ # I think it had none... #"mplayer_dvd_splits" => ["59:59", "1:04:59"], # these are where, in mplayer, the DVD timestamp "resets" to zero for some reason (bug) http://goo.gl/yMfqX . [] is a valid option, if there are none.
@@ -12,7 +12,7 @@
12
12
  ],
13
13
 
14
14
  "name" => "Legend of the Guardians the owls of Gahoole",
15
- "disk_unique_id" => "43429521aac41a983fc32dbc3ebbe28e", # 55f39d15a7edc259325daefec2b476b2 non rental
15
+ #"disk_unique_id" => "", # TODO non rental vs. rental...
16
16
 
17
17
  "not edited out stuff" => "end battle scene is a tidge tense for youngsters. Reasonably good feeling at end.",
18
18
  "mplayer_dvd_splits" => [], # (none)
@@ -1,15 +1,13 @@
1
- # comments can go after a # on any line, for example this one.
2
-
3
1
  "mutes" => [
4
- "0:00:01.0", "0:00:02.0", "profanity", "da..",
2
+ #"0:00:01.0", "0:00:02.0", "profanity", "da..",
5
3
  ],
6
4
 
7
5
  "blank_outs" => [
8
- "00:03:00.0" , "00:04:00.0", "violence", "of some sort",
6
+ #"00:03:00.0" , "00:04:00.0", "violence", "of some sort",
9
7
  ],
10
8
 
11
9
  "name" => "making_marriage_work",
12
- "disk_unique_id" => "718de056ba2a01ab8939a8e8f8cc3abc",
10
+ #"disk_unique_id" => "",
13
11
 
14
12
  # "dvd_title_track" => "1", # most DVD's use title 1. Yours might not. If it plays anything except the main title, see http://goo.gl/QHLIF
15
13
  # "not edited out stuff" => "",
@@ -0,0 +1,16 @@
1
+ "name" => "Narnia voyage of the dawn treader",
2
+ "mutes" => [
3
+ "00:25:38.492" , "00:25:41.205", "profanity", "deity", "Oh [deity] I hope that wasn t the British Consul", # this one might not be accurate even...
4
+ ],
5
+
6
+ "blank_outs" => [
7
+ ],
8
+
9
+ "volume_name" => "VOYAGE_OF_THE_DAWN_TREADER",
10
+ "disk_unique_id" => "7e17bf0e|a78bf4bc",
11
+
12
+ "not edited out stuff" => "some really scary stuff for kids at the end...basically after a little bit of the snake it starts to get somewhat gruesome",
13
+ # "closing thoughts" => "still...",
14
+ "mplayer_dvd_splits" => [], # it's clean
15
+ "subtitle" => "4139850", # though it missed the one profanity in there :P
16
+ "dvd_title_track" => "1"
@@ -5,4 +5,4 @@ mutes:
5
5
  11:21 : 11:24.5 # re
6
6
  19:45 : 19:50 # religious exclamation weak "may *** have mercy on your soul"
7
7
  "01:15:38.5" : "01:15:41.5" # "scatalogical" Data when they are about to plummet to earth
8
- missing: "religious exclamation strong near beginning [sorry]"
8
+ missing: "a religious exclamation strong near beginning [sorry]"
@@ -9,9 +9,9 @@
9
9
  ],
10
10
  "audio_codec" => "lavc",
11
11
 
12
- "disk_unique_id" => "a2e3ece630251e4a785218ce71a20ce1",
13
- "dvd_title_track" => "1", # most DVD's use title 1. See http://betterlogic.com/roger/2010/11/how-to-use-vlc-to-tell-how-many-titles-and-chapters-and-which-is-the-main/
14
- "not edited out stuff" => "",
12
+ #"disk_unique_id" => "",
13
+ "dvd_title_track" => "1",
14
+ "not edited out stuff" => "some...see comments",
15
15
  "name" => "Pack Wedding 2007-03-03"
16
16
 
17
17
  #1:03- 1:08 - 1:16
@@ -19,6 +19,6 @@
19
19
 
20
20
  #28:00 presents???
21
21
 
22
- #34:00 "thank g.."
22
+ #34:00 "thank ..."
23
23
 
24
24
  #got to 38:00
@@ -10,7 +10,8 @@
10
10
 
11
11
  "name" => "sintel open source blender",
12
12
  "volume_name" => "Sintel_NTSC",
13
- "disk_unique_id" => "42bc13bc82d71af2cb97cf71d6bc2b47",
13
+
14
+ "disk_unique_id" => "79df7b12|8b27d001",
14
15
 
15
16
  "dvd_title_track" => "2",
16
17
  "not edited out stuff" => "some violence",
@@ -19,7 +19,7 @@
19
19
  ],
20
20
 
21
21
  "name" => "Tron Legacy",
22
- "disk_unique_id" => "ec8f2ba8d8b4edd83e8fc60b63ca3236",
22
+ # "disk_unique_id" => "",
23
23
 
24
24
  "not edited out stuff" => "some cyborg violence",
25
25
  "probable rating" => "still pg, age about 10",
@@ -10,7 +10,7 @@
10
10
  ],
11
11
 
12
12
  "name" => "Turn Around Alma Younger",
13
- "disk_unique_id" => "f4538677a522494d571e6d23e73040e3",
13
+ #"disk_unique_id" => "",
14
14
 
15
15
  "dvd_title_track" => "3",
16
16
  "not edited out stuff" => "closing credit song loud, also there is a bit of violence [kicking] around 11:00",
@@ -1,3 +1,4 @@
1
+ "name" => "Test Delete File for if you want to watch something straight",
1
2
  "mutes" => [
2
3
  #"02:02:15.0" , "02:02:25", "a muted demo section",
3
4
  ],
@@ -6,5 +7,4 @@
6
7
  #"02:02:00.0" , "02:02:10", "blanked out demo section",
7
8
  ],
8
9
 
9
- "name" => "Test Delete File for if you want to watch something straight",
10
-
10
+ "mplayer_dvd_splits" => []
@@ -35,6 +35,6 @@
35
35
  "source" => "Hulu",
36
36
  "url" => "http://www.byutv.org/watch/1790-100",
37
37
  "whatever_else_you_want" => "this is the old version of the film",
38
- "disk_unique_id" => "19d131ae8dc40cdd70b57ab7e8c74f76", # for DVD's to be able to differentiate (and auto select) themselves.
38
+ "disk_unique_id" => "1234|4678", # allow DVD's to be able to differentiate (and auto select) themselves.
39
39
 
40
- # NB that you have to put commas just about everywhere. That might help
40
+ # NB that you have to put commas just about everywhere. That might help...
@@ -4,7 +4,7 @@
4
4
  ],
5
5
 
6
6
  "blank_outs" => [
7
- # none
7
+ "1:00.0", "1:05.0"
8
8
  ],
9
9
 
10
10
  "title" => "Friday Song",
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: sensible-cinema
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.22.1
5
+ version: 0.23.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Roger Pack
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-06-09 00:00:00 -06:00
13
+ date: 2011-06-27 00:00:00 -06:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -214,8 +214,9 @@ files:
214
214
  - development.txt
215
215
  - experimental_ocr_readme.txt
216
216
  - go.bat
217
+ - go.sh
217
218
  - go_ocr_tracker.bat
218
- - gocreatemode.bat
219
+ - goc.bat
219
220
  - gplv3.txt
220
221
  - how_to_create_your_own_delete_lists.txt
221
222
  - is_it_legal_to_copy_dvds.txt
@@ -225,6 +226,7 @@ files:
225
226
  - lib/add_any_bundled_gems_to_load_path.rb
226
227
  - lib/auto_convert.rb
227
228
  - lib/blanker.rb
229
+ - lib/check_installed_mac.rb
228
230
  - lib/count_down_timer_jruby_swing.rb
229
231
  - lib/drive_info.rb
230
232
  - lib/edl_converter.rb
@@ -249,11 +251,12 @@ files:
249
251
  - never_do
250
252
  - ocr.todo_if_need_speed
251
253
  - preamble
252
- - propaganda
253
254
  - sensible-cinema.gemspec
255
+ - spec/arse.srt
254
256
  - spec/blanker.spec.rb
255
257
  - spec/common.rb
256
258
  - spec/convert_image.rb
259
+ - spec/deity_end.srt
257
260
  - spec/dragon.srt
258
261
  - spec/drive_info.spec.rb
259
262
  - spec/edl_parser.spec.rb
@@ -279,23 +282,34 @@ files:
279
282
  - todo.build_library.txt
280
283
  - todo.inventionzy.txt
281
284
  - todo.open_edl_list_org.txt
285
+ - todo.propaganda
282
286
  - todo.subtitle
283
287
  - vendor/jruby-complete-1.6.2.jar
288
+ - vendor/mac_dvdid/bin/dvdid
289
+ - vendor/mac_dvdid/include/dvdid/dvdid.h
290
+ - vendor/mac_dvdid/include/dvdid/dvdid2.h
291
+ - vendor/mac_dvdid/include/dvdid/export.h
292
+ - vendor/mac_dvdid/lib/libdvdid.0.dylib
293
+ - vendor/mac_dvdid/lib/libdvdid.a
294
+ - vendor/mac_dvdid/lib/libdvdid.dylib
295
+ - vendor/mac_dvdid/lib/libdvdid.la
284
296
  - vendor/monkey.png
285
297
  - vendor/readme.txt
286
298
  - www/index.html
287
299
  - zamples/edit_decision_lists/category descriptions.txt
288
300
  - zamples/edit_decision_lists/dvds/COOL_RUNNINGS.txt
289
301
  - zamples/edit_decision_lists/dvds/Harry Potter 2.txt
302
+ - zamples/edit_decision_lists/dvds/bambi.txt
290
303
  - zamples/edit_decision_lists/dvds/big_buck_bunny_dvd.txt
291
304
  - zamples/edit_decision_lists/dvds/bob the builder pets in a pickle.txt
292
305
  - zamples/edit_decision_lists/dvds/bobs_big_plan.txt
293
306
  - zamples/edit_decision_lists/dvds/example_delete_list.txt
294
- - zamples/edit_decision_lists/dvds/example_delete_list_that_has_no_cuts_in_it.txt
295
307
  - zamples/edit_decision_lists/dvds/happiest baby on the block.txt
296
308
  - zamples/edit_decision_lists/dvds/how_to_train_your_dragon.txt
309
+ - zamples/edit_decision_lists/dvds/kung_fu_panda_1.txt
297
310
  - zamples/edit_decision_lists/dvds/legend_of_the_guardians_the_owls_of_gahoole.txt
298
311
  - zamples/edit_decision_lists/dvds/making_marriage_work.txt
312
+ - zamples/edit_decision_lists/dvds/narnia_voyage_of_the_dawn_treader.txt
299
313
  - zamples/edit_decision_lists/dvds/old_and_inaccurate/White Christmas.txt
300
314
  - zamples/edit_decision_lists/dvds/old_and_inaccurate/all_dogs_go_to_heaven.txt
301
315
  - zamples/edit_decision_lists/dvds/old_and_inaccurate/cars_disney.txt
@@ -307,6 +321,7 @@ files:
307
321
  - zamples/edit_decision_lists/dvds/sintel_open_source_blender.txt
308
322
  - zamples/edit_decision_lists/dvds/tron_legacy.txt
309
323
  - zamples/edit_decision_lists/dvds/turn_around_alma_younger.txt
324
+ - zamples/edit_decision_lists/dvds/zz_example_delete_list_that_has_no_cuts_in_it.txt
310
325
  - zamples/edit_decision_lists/netflix/greatest_story_ever_told_netflix.txt
311
326
  - zamples/edit_decision_lists/old_not_yet_updated/example_edit_decision_list.txt
312
327
  - zamples/edit_decision_lists/old_not_yet_updated/youtube/gummy_bear_song_youtube.txt
data/gocreatemode.bat DELETED
@@ -1 +0,0 @@
1
- call j %* bin\sensible-cinema --create-mode || call jruby %* bin\sensible-cinema --create-mode