sensible-cinema 0.24.2 → 0.24.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -2
- data/TODO +3 -1
- data/VERSION +1 -1
- data/bin/sensible-cinema +36 -36
- data/change_log_with_feature_list.txt +9 -0
- data/template_bats/RUN SENSIBLE CINEMA CLICK HERE.bat +1 -1
- metadata +1 -1
data/Rakefile
CHANGED
@@ -90,7 +90,7 @@ end
|
|
90
90
|
|
91
91
|
desc 'create distro zippable dir'
|
92
92
|
task 'create_distro_dir' => :gemspec do # depends on gemspec...
|
93
|
-
raise 'need
|
93
|
+
raise 'need rebundle_dependencies first' unless File.directory? 'vendor/cache'
|
94
94
|
require 'fileutils'
|
95
95
|
spec = eval File.read('sensible-cinema.gemspec')
|
96
96
|
dir_out = spec.name + "-" + spec.version.version + '/sensible-cinema'
|
@@ -112,7 +112,7 @@ end
|
|
112
112
|
|
113
113
|
task 'zip' do
|
114
114
|
name = 'sensible-cinema-' + cur_ver
|
115
|
-
|
115
|
+
raise unless File.directory? name
|
116
116
|
raise unless system("\"c:\\Program Files\\7-Zip\\7z.exe\" a -tzip -r #{name}.zip #{name}")
|
117
117
|
FileUtils.rm_rf name
|
118
118
|
p 'created ' + name + '.zip, and deleted its [from] folder'
|
data/TODO
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
C player
|
27
27
|
unit tests
|
28
28
|
release at some point...
|
29
|
-
|
29
|
+
mulder response
|
30
30
|
consistency for flight of nav. srt? huh?
|
31
31
|
lightning strike from various outlets...
|
32
32
|
try buy edit lists from all x,y,z [?] maybe ask for them for free first? ()
|
@@ -46,6 +46,8 @@
|
|
46
46
|
make it load faster! this is cuh-razy! or splash screen! yes!
|
47
47
|
|
48
48
|
== yes do, un-ordered currently, from the various future release options ==
|
49
|
+
urug again?
|
50
|
+
subtitles: compare with powerdvd
|
49
51
|
if 2 EDL's, still choose title track
|
50
52
|
add an auto "scan for expected title, times"
|
51
53
|
add time to the generator EDL
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.24.
|
1
|
+
0.24.3
|
data/bin/sensible-cinema
CHANGED
@@ -17,7 +17,7 @@ This file is part of Sensible Cinema.
|
|
17
17
|
along with Sensible Cinema. If not, see <http://www.gnu.org/licenses/>.
|
18
18
|
=end
|
19
19
|
|
20
|
-
print '
|
20
|
+
print 'Starting Sensible Cinema...'
|
21
21
|
require File.expand_path(File.dirname(__FILE__) + "/../lib/add_any_bundled_gems_to_load_path.rb")
|
22
22
|
begin
|
23
23
|
require 'sane'
|
@@ -109,23 +109,23 @@ module SensibleSwing
|
|
109
109
|
end
|
110
110
|
|
111
111
|
def force_accept_license_first
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
112
|
+
if !(LocalStorage['main_license_accepted'] == VERSION)
|
113
|
+
require_blocking_license_accept_dialog 'Sensible Cinema', 'gplv3', 'http://www.gnu.org/licenses/gpl.html', 'Sensible Cinema license agreement',
|
114
|
+
"Sensible Cinema is distributed under the gplv3 (http://www.gnu.org/licenses/gpl.html).\nBY CLICKING \"accept\" YOU SIGNIFY THAT YOU HAVE READ, UNDERSTOOD AND AGREED TO ABIDE BY THE TERMS OF THIS AGREEMENT"
|
115
|
+
require_blocking_license_accept_dialog 'Sensible Cinema', 'is_it_legal_to_copy_dvds.txt file', File.expand_path(File.dirname(__FILE__) + "/../documentation/is_it_legal_to_copy_dvds.txt"),
|
116
|
+
'is_it_legal_to_copy_dvds.txt file', 'I acknowledge that I have read, understand, accept and agree to abide by the implications noted in the documentation/is_it_legal_to_copy_dvds.txt file'
|
117
|
+
LocalStorage['main_license_accepted'] = VERSION
|
118
|
+
end
|
117
119
|
end
|
118
120
|
|
119
121
|
LocalStorage = Storage.new("sensible_cinema_storage")
|
120
122
|
LocalStorage.set_default('multiple_half_screens', 4)
|
121
|
-
|
122
123
|
|
123
124
|
def setup_upconvert_buttons
|
124
125
|
|
125
|
-
@watch_file_upconvert = new_jbutton( "Watch a file upconverted (unedited)") do
|
126
|
-
# ?? drive, volume, dvd_id = choose_dvd_drive_or_file true
|
126
|
+
@watch_file_upconvert = new_jbutton( "Watch a movie file upconverted (unedited)") do
|
127
127
|
warn_if_no_upconvert_options_currently_selected
|
128
|
-
filename_mpg = new_existing_file_selector_and_select_file( "pick
|
128
|
+
filename_mpg = new_existing_file_selector_and_select_file( "pick movie file (like moviename.mpg)")
|
129
129
|
play_mplayer_edl [filename_mpg, nil]
|
130
130
|
end
|
131
131
|
|
@@ -137,9 +137,13 @@ module SensibleSwing
|
|
137
137
|
@upconv_line = add_text_line ''
|
138
138
|
change_upconvert_line_to_current
|
139
139
|
|
140
|
-
|
140
|
+
add_text_line ''
|
141
|
+
|
142
|
+
@show_upconvert_options = new_jbutton( "Change/Set upconvert options" ) do
|
141
143
|
add_setup_upconvert_options
|
142
144
|
end
|
145
|
+
add_text_line "Note that sensible cinema will also upconvert when it plays back edited DVD's/files."
|
146
|
+
add_text_line ''
|
143
147
|
|
144
148
|
end
|
145
149
|
|
@@ -179,19 +183,19 @@ module SensibleSwing
|
|
179
183
|
LocalStorage[UpConvertKey] = "pullup,softskip,hqdn3d=0:1:4:4,pp=hb:y/vb:y,scale=SCREEN_X:-10:0:0:3" # ordering?
|
180
184
|
LocalStorage[UpConvertKeyExtra] = "-sws 9 -ssf ls=75.0 -ssf cs=25.0"
|
181
185
|
display_current_upconvert_setting
|
182
|
-
# -Processing method: mplayer with accurate deblocking
|
186
|
+
# -Processing method: mplayer with accurate deblocking ???
|
183
187
|
}
|
184
|
-
new_jbutton("set upconvert options to experimental
|
188
|
+
new_jbutton("set upconvert options to experimental style playback") {
|
185
189
|
LocalStorage[UpConvertKey] = "pullup,softskip,hqdn3d=7:7:5,scale=SCREEN_X:-10:0:0:10"
|
186
190
|
LocalStorage[UpConvertKeyExtra] = "-sws 9 -ssf ls=100.0 -ssf cs=75.0"
|
187
|
-
LocalStorage[UpConvertEnglish] = "experimental
|
191
|
+
LocalStorage[UpConvertEnglish] = "experimental"
|
188
192
|
display_current_upconvert_setting
|
189
193
|
}
|
190
194
|
|
191
195
|
slider = JSlider.new
|
192
|
-
slider.setBorder(BorderFactory.createTitledBorder("Multiple factor of half screen widths (higher is better,
|
196
|
+
slider.setBorder(BorderFactory.createTitledBorder("Multiple factor of half screen widths (higher is better, uses more cpu, default 4)"));
|
193
197
|
|
194
|
-
slider.maximum=6# LODO non 6 here...
|
198
|
+
slider.maximum=6# LODO non 6 here...hmm...
|
195
199
|
slider.minimum=0
|
196
200
|
slider.setMajorTickSpacing(1)
|
197
201
|
slider.setPaintTicks(true)
|
@@ -202,6 +206,7 @@ module SensibleSwing
|
|
202
206
|
|
203
207
|
slider.add_change_listener { |event|
|
204
208
|
if slider.value >= 2
|
209
|
+
p 'set slider to', slider.value # LODO tell them.
|
205
210
|
LocalStorage['multiple_half_screens'] = slider.value
|
206
211
|
else
|
207
212
|
show_blocking_message_dialog "you can't set it lower than 2 that wouldn't make any sense, since that's screen width"
|
@@ -209,7 +214,7 @@ module SensibleSwing
|
|
209
214
|
}
|
210
215
|
slider.set_bounds(44, @starting_button_y, @button_width, 56)
|
211
216
|
2.times {increment_button_location}
|
212
|
-
@panel.add(slider)
|
217
|
+
@panel.add(slider)
|
213
218
|
end
|
214
219
|
|
215
220
|
def display_current_upconvert_setting
|
@@ -219,7 +224,7 @@ module SensibleSwing
|
|
219
224
|
|
220
225
|
def get_current_upconvert_as_phrase
|
221
226
|
settings = LocalStorage[UpConvertEnglish]
|
222
|
-
"Upconvert options #{ settings ? "are set to #{settings}" : "
|
227
|
+
"Upconvert options currently #{ settings ? "are set to #{settings} style" : "are NOT SET"}."
|
223
228
|
end
|
224
229
|
|
225
230
|
def get_upconvert_vf_settings
|
@@ -255,9 +260,9 @@ module SensibleSwing
|
|
255
260
|
}
|
256
261
|
|
257
262
|
|
258
|
-
@create_dot_edl = new_jbutton( "Create
|
263
|
+
@create_dot_edl = new_jbutton( "Create a side-by-side moviefilename.edl file")
|
259
264
|
@create_dot_edl.tool_tip = <<-EOL
|
260
|
-
Create a moviefilename.edl file (corresponding to moviefilename.some_ext
|
265
|
+
Create a moviefilename.edl file (corresponding to some moviefilename.some_ext file already existing)
|
261
266
|
XBMC/smplayer (smplayer can be used by WMC plugins, etc.) "automagically detect",
|
262
267
|
if it exists, and automatically use it .edl to show that file edited played back.
|
263
268
|
If you use smplayer, note that you'll need to download the "lord mulder mplayer"
|
@@ -409,11 +414,11 @@ module SensibleSwing
|
|
409
414
|
play_mplayer_edl
|
410
415
|
}
|
411
416
|
|
412
|
-
@create = new_jbutton( "Create edited copy of
|
417
|
+
@create = new_jbutton( "Create edited copy of DVD/file on Your Hard Drive" )
|
413
418
|
@create.tool_tip = <<-EOL
|
414
|
-
This
|
419
|
+
This takes a file and creates a new file on your hard disk like dvd_name_edited.mpg that you can watch when it's done.
|
415
420
|
The file you create will contain the whole movie edited.
|
416
|
-
It takes quite awhile maybe 2 hours. Sometimes the progress bar will look paused--it
|
421
|
+
It takes quite awhile maybe 2 hours. Sometimes the progress bar will look paused--it typically continues eventually.
|
417
422
|
EOL
|
418
423
|
@create.on_clicked {
|
419
424
|
do_copy_dvd_to_hard_drive_via_file false
|
@@ -462,9 +467,7 @@ module SensibleSwing
|
|
462
467
|
|
463
468
|
def initialize
|
464
469
|
super "Sensible-Cinema #{VERSION} (GPL)"
|
465
|
-
|
466
|
-
force_accept_license_first
|
467
|
-
end
|
470
|
+
force_accept_license_first
|
468
471
|
|
469
472
|
setDefaultCloseOperation JFrame::EXIT_ON_CLOSE
|
470
473
|
panel = JPanel.new
|
@@ -478,11 +481,7 @@ module SensibleSwing
|
|
478
481
|
add_text_line "Welcome to Sensible Cinema!"
|
479
482
|
@starting_button_y += 10 # kinder ugly...
|
480
483
|
add_text_line " Rest mouse over buttons for \"help\" type descriptions (tooltips)."
|
481
|
-
|
482
|
-
add_text_line " Upconvert settings are at:" + LocalStorage[UpConvertEnglish]
|
483
|
-
else
|
484
|
-
add_text_line ""
|
485
|
-
end
|
484
|
+
add_text_line ""
|
486
485
|
add_text_line ""
|
487
486
|
|
488
487
|
if we_are_in_upconvert_mode
|
@@ -515,7 +514,7 @@ module SensibleSwing
|
|
515
514
|
@exit.on_clicked {
|
516
515
|
Thread.new { self.close } # don't waste the time to close it :P
|
517
516
|
puts 'Thank you for using Sensible Cinema. Come again!'
|
518
|
-
|
517
|
+
System.exit 0
|
519
518
|
}
|
520
519
|
|
521
520
|
increment_button_location
|
@@ -786,7 +785,7 @@ module SensibleSwing
|
|
786
785
|
system_non_blocking("start #{license_url_should_also_be_embedded_by_you_in_message}")
|
787
786
|
puts "Please restart after reading license agreement, to be able to then accept it."
|
788
787
|
end
|
789
|
-
System.exit
|
788
|
+
System.exit 0
|
790
789
|
end
|
791
790
|
if returned == 2
|
792
791
|
p 'license not accepted...exiting'
|
@@ -860,11 +859,12 @@ module SensibleSwing
|
|
860
859
|
path = RubyWhich.new.which('smplayer_portable')
|
861
860
|
if(path.length == 0)
|
862
861
|
# this one has its own installer...
|
863
|
-
show_blocking_message_dialog("It appears that you need to install a dependency: MPlayer for Windows (MPUI)
|
864
|
-
Click ok to be directed to its download website, where you can download and install it (recommend: MPUI Full-
|
862
|
+
show_blocking_message_dialog("It appears that you need to install a pre-requisite dependency: MPlayer for Windows (MPUI).
|
863
|
+
Click ok to be directed to its download website, where you can download and install it (recommend: MPUI Full-complete),
|
864
|
+
then restart sensible cinema. NB that it takes awhile to install MPUI. Sorry about that.",
|
865
865
|
"Lacking dependency", JOptionPane::ERROR_MESSAGE)
|
866
866
|
open_url_to_view_it_non_blocking "http://code.google.com/p/mulder/downloads/detail?name=MPUI.2011-06-09.Full-Package.exe"
|
867
|
-
System.exit
|
867
|
+
System.exit 0
|
868
868
|
end
|
869
869
|
end
|
870
870
|
end
|
@@ -1,3 +1,8 @@
|
|
1
|
+
== 0.24.3 ==
|
2
|
+
|
3
|
+
Distribution cleanups
|
4
|
+
polish up UI.
|
5
|
+
|
1
6
|
== 0.24.2 ==
|
2
7
|
|
3
8
|
In some recent version or other, added ability to start EDL's from an offset
|
@@ -20,6 +25,10 @@ It even mutes and skips appropriately. See demo (must be run from a web server
|
|
20
25
|
Added a demonstration of using "static overlay" as a form of muting. Basically, play some static so that it obscures
|
21
26
|
the current audio, instead of muting it. Actually works, though oddly.
|
22
27
|
|
28
|
+
Subtitles now are split into "bad" profanities and "mild" profanities for easier parsing.
|
29
|
+
|
30
|
+
Can use multiple threads to speedup playback. Slight speedup for mpeg2. Thanks mplayer guys!
|
31
|
+
|
23
32
|
== 0.24.1 ==
|
24
33
|
|
25
34
|
A few more profanities/subtitle tweaks.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
@echo Welcome to Sensible Cinema...
|
2
2
|
@IF NOT EXIST sensible-cinema\VENDOR\CACHE GOTO NOVENDORDIR
|
3
|
-
@echo This window will display lots of debug output (you can just ignore this window)
|
3
|
+
@echo This window will display lots of debug output (you can just ignore this window or minimize it)
|
4
4
|
@setlocal
|
5
5
|
@rem disable any local rubyopt settings, just in case...
|
6
6
|
@set RUBYOPT=
|