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.
Files changed (75) hide show
  1. data/LICENSE.TXT +1 -1
  2. data/README +6 -4
  3. data/Rakefile +41 -24
  4. data/TODO +41 -10
  5. data/VERSION +1 -1
  6. data/change_log_with_feature_list.txt +12 -0
  7. data/documentation/is_it_legal_to_copy_dvds.txt +4 -2
  8. data/go +1 -0
  9. data/goc +1 -0
  10. data/history_and_related_works_list.txt +2 -0
  11. data/inventionzy_files/control_youtube.html +135 -0
  12. data/inventionzy_files/md5s.txt +53 -0
  13. data/inventionzy_files/play_with_inserted_scene.bat +8 -0
  14. data/inventionzy_files/play_with_overlay.bat +24 -0
  15. data/inventionzy_files/serve.rb +6 -0
  16. data/inventionzy_files/transcript_mute_vlc.txt +117 -0
  17. data/lib/add_any_bundled_gems_to_load_path.rb +1 -1
  18. data/lib/edl_parser.rb +2 -0
  19. data/lib/gui/sensible-cinema-base.rb +10 -68
  20. data/lib/gui/sensible-cinema-create.rb +16 -10
  21. data/lib/gui/sensible-cinema-dependencies.rb +1 -0
  22. data/lib/gui/sensible-cinema-normal.rb +11 -14
  23. data/lib/muter.rb +1 -1
  24. data/lib/subtitle_profanity_finder.rb +3 -2
  25. data/spec/notes +2 -0
  26. data/template_bats/README_DISTRO.TXT +6 -0
  27. data/template_bats/mac/RUN SENSIBLE CINEMA CLICK HERE.sh b/data/template_bats/mac/RUN SENSIBLE CINEMA CLICK → HERE.command +0 -0
  28. 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
  29. data/template_bats/mac/{advanced--run-upconverting-video-player.sh → advanced--run-upconverting-video-player.command} +1 -0
  30. data/todo.inventionzy.txt +11 -0
  31. data/todo.propaganda +21 -18
  32. data/vendor/rdp-win32screenshot-0.0.9/.document +5 -0
  33. data/vendor/rdp-win32screenshot-0.0.9/History.rdoc +53 -0
  34. data/vendor/rdp-win32screenshot-0.0.9/LICENSE +20 -0
  35. data/vendor/rdp-win32screenshot-0.0.9/RDP_BRANCH_HAS_MASTER_WITH_CORRECT_VERSION_NUMBER +0 -0
  36. data/vendor/rdp-win32screenshot-0.0.9/RDP_VERSION_IS_IN_RDP_BRANCH +0 -0
  37. data/vendor/rdp-win32screenshot-0.0.9/README.rdoc +95 -0
  38. data/vendor/rdp-win32screenshot-0.0.9/Rakefile +63 -0
  39. data/vendor/rdp-win32screenshot-0.0.9/VERSION +1 -0
  40. data/vendor/rdp-win32screenshot-0.0.9/enumerated +55576 -0
  41. data/vendor/rdp-win32screenshot-0.0.9/lib/aero_offscreen_srccopy_captureblt_doesnt_have_everything.bmp.gz +0 -0
  42. data/vendor/rdp-win32screenshot-0.0.9/lib/enumerate.rb +6 -0
  43. data/vendor/rdp-win32screenshot-0.0.9/lib/firefox.bmp +0 -0
  44. data/vendor/rdp-win32screenshot-0.0.9/lib/normal.bmp +0 -0
  45. data/vendor/rdp-win32screenshot-0.0.9/lib/normal2.bmp +0 -0
  46. data/vendor/rdp-win32screenshot-0.0.9/lib/notes +5 -0
  47. data/vendor/rdp-win32screenshot-0.0.9/lib/snapshot.rb +10 -0
  48. data/vendor/rdp-win32screenshot-0.0.9/lib/srccopy.bmp +0 -0
  49. data/vendor/rdp-win32screenshot-0.0.9/lib/srccopyplus.bmp +0 -0
  50. data/vendor/rdp-win32screenshot-0.0.9/lib/srccopyplusdirectx.bmp +0 -0
  51. data/vendor/rdp-win32screenshot-0.0.9/lib/vc.bmp +0 -0
  52. data/vendor/rdp-win32screenshot-0.0.9/lib/win32/screenshot.rb +95 -0
  53. data/vendor/rdp-win32screenshot-0.0.9/lib/win32/screenshot/bitmap_maker.rb +200 -0
  54. data/vendor/rdp-win32screenshot-0.0.9/lib/win32/util.rb +93 -0
  55. data/vendor/rdp-win32screenshot-0.0.9/spec/spec.opts +1 -0
  56. data/vendor/rdp-win32screenshot-0.0.9/spec/spec_helper.rb +85 -0
  57. data/vendor/rdp-win32screenshot-0.0.9/spec/win32_screenshot_spec.rb +194 -0
  58. data/vendor/rdp-win32screenshot-0.0.9/spec/win32_screenshot_util_spec.rb +75 -0
  59. data/vendor/rdp-win32screenshot-0.0.9/win32screenshot.gemspec +69 -0
  60. data/{subfont.ttf → vendor/subfont.ttf} +0 -0
  61. data/zamples/edit_decision_lists/dvds/{edls_being_edited/cars_disney.txt → cars_disney.txt} +0 -0
  62. data/zamples/edit_decision_lists/dvds/edls_being_edited/king_of_kings.txt +28 -0
  63. data/zamples/edit_decision_lists/dvds/monsters_vs_aliens.txt +41 -0
  64. data/zamples/edit_decision_lists/dvds/peter_pan.txt +29 -0
  65. data/zamples/edit_decision_lists/dvds/speed_racer.txt +47 -0
  66. data/zamples/edit_decision_lists/notes/tron.txt +4 -0
  67. metadata +77 -54
  68. data/go.sh +0 -1
  69. data/legal2 +0 -3
  70. data/lib/play_audio.rb +0 -58
  71. data/lib/ruby_clip.rb +0 -26
  72. data/template_bats/RUN SENSIBLE CINEMA CLICK HERE.bat +0 -25
  73. data/template_bats/advanced--create or edit sensible cinema edit list files.bat +0 -1
  74. data/template_bats/advanced--run-upconverting-video-player.bat +0 -1
  75. data/transparent.png +0 -0
@@ -0,0 +1,4 @@
1
+ One scene near-ish the end with risque bods.
2
+ Besides the profanity.
3
+ Also the skull stuff near the very end.
4
+ and possibly killing the bad red guy.
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: sensible-cinema
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.28.0
5
+ version: 0.28.1
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-09-15 00:00:00 Z
13
+ date: 2011-10-04 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: os
@@ -31,55 +31,55 @@ dependencies:
31
31
  requirements:
32
32
  - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: 0.24.2
34
+ version: 0.24.6
35
35
  type: :runtime
36
36
  version_requirements: *id002
37
37
  - !ruby/object:Gem::Dependency
38
- name: rdp-win32screenshot
38
+ name: mini_magick
39
39
  prerelease: false
40
40
  requirement: &id003 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - "="
43
+ - - ">="
44
44
  - !ruby/object:Gem::Version
45
- version: 0.0.9
45
+ version: "3.1"
46
46
  type: :runtime
47
47
  version_requirements: *id003
48
48
  - !ruby/object:Gem::Dependency
49
- name: mini_magick
49
+ name: whichr
50
50
  prerelease: false
51
51
  requirement: &id004 !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
54
54
  - - ">="
55
55
  - !ruby/object:Gem::Version
56
- version: "3.1"
56
+ version: 0.3.6
57
57
  type: :runtime
58
58
  version_requirements: *id004
59
59
  - !ruby/object:Gem::Dependency
60
- name: whichr
60
+ name: rdp-rautomation
61
61
  prerelease: false
62
62
  requirement: &id005 !ruby/object:Gem::Requirement
63
63
  none: false
64
64
  requirements:
65
- - - ">="
65
+ - - ">"
66
66
  - !ruby/object:Gem::Version
67
- version: 0.3.6
67
+ version: 0.6.3
68
68
  type: :runtime
69
69
  version_requirements: *id005
70
70
  - !ruby/object:Gem::Dependency
71
- name: rdp-rautomation
71
+ name: rdp-ruby-wmi
72
72
  prerelease: false
73
73
  requirement: &id006 !ruby/object:Gem::Requirement
74
74
  none: false
75
75
  requirements:
76
- - - ">"
76
+ - - ">="
77
77
  - !ruby/object:Gem::Version
78
- version: 0.6.3
78
+ version: "0"
79
79
  type: :runtime
80
80
  version_requirements: *id006
81
81
  - !ruby/object:Gem::Dependency
82
- name: rdp-ruby-wmi
82
+ name: plist
83
83
  prerelease: false
84
84
  requirement: &id007 !ruby/object:Gem::Requirement
85
85
  none: false
@@ -90,7 +90,7 @@ dependencies:
90
90
  type: :runtime
91
91
  version_requirements: *id007
92
92
  - !ruby/object:Gem::Dependency
93
- name: plist
93
+ name: ffi
94
94
  prerelease: false
95
95
  requirement: &id008 !ruby/object:Gem::Requirement
96
96
  none: false
@@ -101,7 +101,7 @@ dependencies:
101
101
  type: :runtime
102
102
  version_requirements: *id008
103
103
  - !ruby/object:Gem::Dependency
104
- name: ffi
104
+ name: hitimes
105
105
  prerelease: false
106
106
  requirement: &id009 !ruby/object:Gem::Requirement
107
107
  none: false
@@ -109,32 +109,32 @@ dependencies:
109
109
  - - ">="
110
110
  - !ruby/object:Gem::Version
111
111
  version: "0"
112
- type: :runtime
112
+ type: :development
113
113
  version_requirements: *id009
114
114
  - !ruby/object:Gem::Dependency
115
- name: hitimes
115
+ name: rspec
116
116
  prerelease: false
117
117
  requirement: &id010 !ruby/object:Gem::Requirement
118
118
  none: false
119
119
  requirements:
120
- - - ">="
120
+ - - ">"
121
121
  - !ruby/object:Gem::Version
122
- version: "0"
122
+ version: "2"
123
123
  type: :development
124
124
  version_requirements: *id010
125
125
  - !ruby/object:Gem::Dependency
126
- name: rspec
126
+ name: jeweler
127
127
  prerelease: false
128
128
  requirement: &id011 !ruby/object:Gem::Requirement
129
129
  none: false
130
130
  requirements:
131
- - - ">"
131
+ - - ">="
132
132
  - !ruby/object:Gem::Version
133
- version: "2"
133
+ version: "0"
134
134
  type: :development
135
135
  version_requirements: *id011
136
136
  - !ruby/object:Gem::Dependency
137
- name: jeweler
137
+ name: rake
138
138
  prerelease: false
139
139
  requirement: &id012 !ruby/object:Gem::Requirement
140
140
  none: false
@@ -145,7 +145,7 @@ dependencies:
145
145
  type: :development
146
146
  version_requirements: *id012
147
147
  - !ruby/object:Gem::Dependency
148
- name: rake
148
+ name: hitimes
149
149
  prerelease: false
150
150
  requirement: &id013 !ruby/object:Gem::Requirement
151
151
  none: false
@@ -153,10 +153,10 @@ dependencies:
153
153
  - - ">="
154
154
  - !ruby/object:Gem::Version
155
155
  version: "0"
156
- type: :development
156
+ type: :runtime
157
157
  version_requirements: *id013
158
158
  - !ruby/object:Gem::Dependency
159
- name: hitimes
159
+ name: rspec
160
160
  prerelease: false
161
161
  requirement: &id014 !ruby/object:Gem::Requirement
162
162
  none: false
@@ -167,7 +167,7 @@ dependencies:
167
167
  type: :runtime
168
168
  version_requirements: *id014
169
169
  - !ruby/object:Gem::Dependency
170
- name: rspec
170
+ name: jeweler
171
171
  prerelease: false
172
172
  requirement: &id015 !ruby/object:Gem::Requirement
173
173
  none: false
@@ -178,7 +178,7 @@ dependencies:
178
178
  type: :runtime
179
179
  version_requirements: *id015
180
180
  - !ruby/object:Gem::Dependency
181
- name: jeweler
181
+ name: rake
182
182
  prerelease: false
183
183
  requirement: &id016 !ruby/object:Gem::Requirement
184
184
  none: false
@@ -188,17 +188,6 @@ dependencies:
188
188
  version: "0"
189
189
  type: :runtime
190
190
  version_requirements: *id016
191
- - !ruby/object:Gem::Dependency
192
- name: rake
193
- prerelease: false
194
- requirement: &id017 !ruby/object:Gem::Requirement
195
- none: false
196
- requirements:
197
- - - ">="
198
- - !ruby/object:Gem::Version
199
- version: "0"
200
- type: :runtime
201
- version_requirements: *id017
202
191
  description:
203
192
  email: rogerdpack@gmail.com
204
193
  executables:
@@ -233,13 +222,19 @@ files:
233
222
  - documentation/troubleshooting.txt
234
223
  - documentation/upconversion.txt
235
224
  - experimental_online_player_ocr_readme.txt
225
+ - go
236
226
  - go.bat
237
- - go.sh
238
227
  - go_ocr_tracker.bat
228
+ - goc
239
229
  - goc.bat
240
230
  - gplv3.txt
241
231
  - history_and_related_works_list.txt
242
- - legal2
232
+ - inventionzy_files/control_youtube.html
233
+ - inventionzy_files/md5s.txt
234
+ - inventionzy_files/play_with_inserted_scene.bat
235
+ - inventionzy_files/play_with_overlay.bat
236
+ - inventionzy_files/serve.rb
237
+ - inventionzy_files/transcript_mute_vlc.txt
243
238
  - lib/add_any_bundled_gems_to_load_path.rb
244
239
  - lib/auto_window_finder.rb
245
240
  - lib/blanker.rb
@@ -265,8 +260,6 @@ files:
265
260
  - lib/ocr.rb
266
261
  - lib/ocr_seed/netflix_b9.bmp
267
262
  - lib/overlayer.rb
268
- - lib/play_audio.rb
269
- - lib/ruby_clip.rb
270
263
  - lib/screen_tracker.rb
271
264
  - lib/shutdown_kill.rb
272
265
  - lib/storage.rb
@@ -298,21 +291,17 @@ files:
298
291
  - spec/test_yaml.yml
299
292
  - spec/tsmuxer.output
300
293
  - spec/vlc_programmer.spec.rb
301
- - subfont.ttf
302
- - template_bats/RUN SENSIBLE CINEMA CLICK HERE.bat
294
+ - template_bats/README_DISTRO.TXT
303
295
  - template_bats/_DO_NOT_RUN_IT_FROM_HERE_DOWNLOAD_THE_RELEASE_ZIP_FROM_SOURCEFORGE_INSTEAD
304
- - template_bats/advanced--create or edit sensible cinema edit list files.bat
305
- - template_bats/advanced--run-upconverting-video-player.bat
306
- - template_bats/mac/RUN SENSIBLE CINEMA CLICK HERE.sh
307
- - template_bats/mac/advanced--create or edit sensible cinema edit list files.sh
308
- - template_bats/mac/advanced--run-upconverting-video-player.sh
296
+ - template_bats/mac/RUN SENSIBLE CINEMA CLICK HERE.command
297
+ - template_bats/mac/advanced--create or edit sensible cinema edit list files.command
298
+ - template_bats/mac/advanced--run-upconverting-video-player.command
309
299
  - todo.build_library.txt
310
300
  - todo.inventionzy.txt
311
301
  - todo.open_edl_list_org.txt
312
302
  - todo.propaganda
313
303
  - todo.subtitle
314
304
  - todo.upconvert
315
- - transparent.png
316
305
  - upconvert.bat
317
306
  - upconvert_netflix/latest2/combine_video.avs
318
307
  - upconvert_netflix/latest2/go_no_upscaling.bat
@@ -388,7 +377,36 @@ files:
388
377
  - vendor/movie-content-editor-read-only/vlc.py
389
378
  - vendor/movie-content-editor-read-only/vlcwidget.py
390
379
  - vendor/profs.png
380
+ - vendor/rdp-win32screenshot-0.0.9/.document
381
+ - vendor/rdp-win32screenshot-0.0.9/History.rdoc
382
+ - vendor/rdp-win32screenshot-0.0.9/LICENSE
383
+ - vendor/rdp-win32screenshot-0.0.9/RDP_BRANCH_HAS_MASTER_WITH_CORRECT_VERSION_NUMBER
384
+ - vendor/rdp-win32screenshot-0.0.9/RDP_VERSION_IS_IN_RDP_BRANCH
385
+ - vendor/rdp-win32screenshot-0.0.9/README.rdoc
386
+ - vendor/rdp-win32screenshot-0.0.9/Rakefile
387
+ - vendor/rdp-win32screenshot-0.0.9/VERSION
388
+ - vendor/rdp-win32screenshot-0.0.9/enumerated
389
+ - vendor/rdp-win32screenshot-0.0.9/lib/aero_offscreen_srccopy_captureblt_doesnt_have_everything.bmp.gz
390
+ - vendor/rdp-win32screenshot-0.0.9/lib/enumerate.rb
391
+ - vendor/rdp-win32screenshot-0.0.9/lib/firefox.bmp
392
+ - vendor/rdp-win32screenshot-0.0.9/lib/normal.bmp
393
+ - vendor/rdp-win32screenshot-0.0.9/lib/normal2.bmp
394
+ - vendor/rdp-win32screenshot-0.0.9/lib/notes
395
+ - vendor/rdp-win32screenshot-0.0.9/lib/snapshot.rb
396
+ - vendor/rdp-win32screenshot-0.0.9/lib/srccopy.bmp
397
+ - vendor/rdp-win32screenshot-0.0.9/lib/srccopyplus.bmp
398
+ - vendor/rdp-win32screenshot-0.0.9/lib/srccopyplusdirectx.bmp
399
+ - vendor/rdp-win32screenshot-0.0.9/lib/vc.bmp
400
+ - vendor/rdp-win32screenshot-0.0.9/lib/win32/screenshot.rb
401
+ - vendor/rdp-win32screenshot-0.0.9/lib/win32/screenshot/bitmap_maker.rb
402
+ - vendor/rdp-win32screenshot-0.0.9/lib/win32/util.rb
403
+ - vendor/rdp-win32screenshot-0.0.9/spec/spec.opts
404
+ - vendor/rdp-win32screenshot-0.0.9/spec/spec_helper.rb
405
+ - vendor/rdp-win32screenshot-0.0.9/spec/win32_screenshot_spec.rb
406
+ - vendor/rdp-win32screenshot-0.0.9/spec/win32_screenshot_util_spec.rb
407
+ - vendor/rdp-win32screenshot-0.0.9/win32screenshot.gemspec
391
408
  - vendor/readme.txt
409
+ - vendor/subfont.ttf
392
410
  - vendor/tsmuxer_1.10.6/licence.txt
393
411
  - www/content_editor.html
394
412
  - www/index.html
@@ -400,9 +418,10 @@ files:
400
418
  - zamples/edit_decision_lists/dvds/big_buck_bunny_dvd.txt
401
419
  - zamples/edit_decision_lists/dvds/bob the builder pets in a pickle.txt
402
420
  - zamples/edit_decision_lists/dvds/bobs_big_plan.txt
421
+ - zamples/edit_decision_lists/dvds/cars_disney.txt
403
422
  - zamples/edit_decision_lists/dvds/cool runnings.txt
404
423
  - zamples/edit_decision_lists/dvds/court_jester.txt
405
- - zamples/edit_decision_lists/dvds/edls_being_edited/cars_disney.txt
424
+ - zamples/edit_decision_lists/dvds/edls_being_edited/king_of_kings.txt
406
425
  - zamples/edit_decision_lists/dvds/edls_being_edited/test_delete_list_for_experimenting_with.txt
407
426
  - zamples/edit_decision_lists/dvds/flight_of_the_navigator.txt
408
427
  - zamples/edit_decision_lists/dvds/happiest baby on the block.txt
@@ -415,17 +434,21 @@ files:
415
434
  - zamples/edit_decision_lists/dvds/kung_fu_panda_1.txt
416
435
  - zamples/edit_decision_lists/dvds/legend_of_the_guardians_the_owls_of_gahoole.txt
417
436
  - zamples/edit_decision_lists/dvds/making_marriage_work.txt
437
+ - zamples/edit_decision_lists/dvds/monsters_vs_aliens.txt
418
438
  - zamples/edit_decision_lists/dvds/muppet_treasure_island.txt
419
439
  - zamples/edit_decision_lists/dvds/narnia_voyage_of_the_dawn_treader.txt
420
440
  - zamples/edit_decision_lists/dvds/pack_jackson_wedding_2007-03-03.txt
441
+ - zamples/edit_decision_lists/dvds/peter_pan.txt
421
442
  - zamples/edit_decision_lists/dvds/sintel_open_source_blender_ntsc_dvd.txt
422
443
  - zamples/edit_decision_lists/dvds/snow_white_and_the_7_dwarfs_1937.txt
444
+ - zamples/edit_decision_lists/dvds/speed_racer.txt
423
445
  - zamples/edit_decision_lists/dvds/tron_legacy.txt
424
446
  - zamples/edit_decision_lists/dvds/turn_around_alma_younger.txt
425
447
  - zamples/edit_decision_lists/netflix_instant/avatar-last-air-bender-movie.txt
426
448
  - zamples/edit_decision_lists/netflix_instant/avatar-last-airbender-series.txt
427
449
  - zamples/edit_decision_lists/netflix_instant/greatest_story_ever_told_netflix.txt
428
450
  - zamples/edit_decision_lists/netflix_instant/wrinkle-in-time.txt
451
+ - zamples/edit_decision_lists/notes/tron.txt
429
452
  - zamples/edit_decision_lists/old_not_yet_updated/dvds/White Christmas.txt
430
453
  - zamples/edit_decision_lists/old_not_yet_updated/dvds/all_dogs_go_to_heaven.txt
431
454
  - zamples/edit_decision_lists/old_not_yet_updated/dvds/cars_disney.txt
data/go.sh DELETED
@@ -1 +0,0 @@
1
- jruby bin/sensible-cinema $1 $2 $3 $4 $5 # --create-mode just realize that most buttons in create mode probably don't work yet in os x
data/legal2 DELETED
@@ -1,3 +0,0 @@
1
- http://en.wikipedia.org/wiki/DVD_Decrypter mentions fair use a bit, though in context of a different program.
2
-
3
- Also the footnotes to fanedit.org have some related and applicable discussion of legal issues
@@ -1,58 +0,0 @@
1
- require 'java'
2
-
3
- class PlayAudio
4
- import "sun.audio.AudioStream"
5
- import "sun.audio.AudioDataStream"
6
- import "sun.audio.AudioPlayer"
7
- import "sun.audio.ContinuousAudioDataStream"
8
-
9
- def self.play filename
10
- i = java.io.FileInputStream.new(filename)
11
- a = AudioStream.new(i)
12
- AudioPlayer.player.start(a)
13
- a
14
- end
15
-
16
- def self.loop filename
17
- i = java.io.FileInputStream.new(filename)
18
- a = AudioStream.new(i)
19
- b = a.get_data # failing means too big of data...
20
- c = ContinuousAudioDataStream.new(b)
21
- AudioPlayer.player.start(c)
22
- c
23
- end
24
-
25
- def initialize filename
26
- @filename = filename
27
- end
28
-
29
- def start
30
- raise if @audio_stream
31
- @audio_stream = PlayAudio.play @filename
32
- end
33
-
34
- def loop # will fail is stream > 1 MB
35
- raise if @audio_stream
36
- @audio_stream = PlayAudio.loop @filename
37
- end
38
-
39
- def stop
40
- raise unless @audio_stream
41
- AudioPlayer.player.stop(@audio_stream)
42
- @audio_stream = nil
43
- end
44
-
45
- end
46
-
47
- if $0 == __FILE__ # unit tests :)
48
- puts 'syntax: filename.wav'
49
- a = PlayAudio.new ARGV[0]
50
- a.start
51
- sleep 0.1
52
- a.stop
53
-
54
- a = PlayAudio.new ARGV[0]
55
- a.loop
56
- sleep 10
57
- a.stop
58
- end
@@ -1,26 +0,0 @@
1
- require 'java'
2
-
3
- class RubyClip
4
- import java.awt.datatransfer.StringSelection;
5
- import java.awt.Toolkit;
6
-
7
- include java.awt.datatransfer.ClipboardOwner
8
- def self.set_clipboard to_this
9
- stringSelection = StringSelection.new( to_this.to_s )
10
- clipboard = Toolkit.getDefaultToolkit().getSystemClipboard()
11
- clipboard.setContents( stringSelection, self );
12
- end
13
-
14
- def self.lostOwnership(aClipboard, aContents)
15
- # ignore...
16
- end
17
-
18
- end
19
-
20
- if $0 == __FILE__
21
- RubyClip.set_clipboard "from jruby1"
22
- puts 'set clipboard contents...'
23
- RubyClip.set_clipboard "from jruby2"
24
- RubyClip.set_clipboard "from jruby3"
25
- STDIN.getc
26
- end
@@ -1,25 +0,0 @@
1
- @echo Welcome to Sensible Cinema...
2
- @IF NOT EXIST sensible-cinema\VENDOR\CACHE GOTO NOVENDORDIR
3
- @echo This window will display lots of debug output
4
- @echo (you can just ignore this window or minimize it, but have to leave it open)
5
- @setlocal
6
- @rem disable any local rubyopt settings, just in case...
7
- @set RUBYOPT=
8
- @rem check for java installed...we will be needing that :)
9
- @java -version > NUL 2>&1 || echo need to install java JRE first please install it from java.com && pause && GOTO DONE
10
-
11
- @cd sensible-cinema
12
- @java -cp "./vendor/jruby-complete-1.6.2.jar" org.jruby.Main bin\sensible-cinema %* || echo ERROR. Please look for error message, above, and report back the error you see, or fix it && pause
13
-
14
- @rem taskkill /f /im mencoder.exe ???
15
-
16
- GOTO DONE
17
-
18
- :NOVENDORDIR
19
- @echo "it appears you downloaded sensible cinema straight from github--please download it instead fromhttps://sourceforge.net/projects/sensible-cinema/files/ for it to work properly"
20
- @pause
21
- @start https://sourceforge.net/projects/sensible-cinema/files
22
-
23
- @rem fall through
24
-
25
- :DONE