sensible-cinema 0.21.4 → 0.21.5
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +4 -0
- data/Rakefile +8 -2
- data/VERSION +1 -1
- data/bin/sensible-cinema.rb +9 -12
- data/sensible-cinema.gemspec +1 -1
- data/www/index.html +11 -9
- metadata +1 -1
data/ChangeLog
CHANGED
data/Rakefile
CHANGED
@@ -112,8 +112,11 @@ task 'create_distro_dir' do
|
|
112
112
|
p 'created (still need to zip it) ' + dir_out
|
113
113
|
end
|
114
114
|
|
115
|
+
def cur_ver
|
116
|
+
File.read('VERSION').strip
|
117
|
+
end
|
115
118
|
task 'zip' do
|
116
|
-
name = 'sensible-cinema-' +
|
119
|
+
name = 'sensible-cinema-' + cur_ver
|
117
120
|
c = "\"c:\\Program Files\\7-Zip\\7z.exe\" a -tzip -r #{name}.zip #{name}"
|
118
121
|
raise unless system("\"c:\\Program Files\\7-Zip\\7z.exe\" a -tzip -r #{name}.zip #{name}")
|
119
122
|
FileUtils.rm_rf name
|
@@ -121,11 +124,14 @@ task 'zip' do
|
|
121
124
|
end
|
122
125
|
|
123
126
|
task 'deploy' do
|
124
|
-
name = 'sensible-cinema-' +
|
127
|
+
name = 'sensible-cinema-' + cur_ver + ".zip"
|
125
128
|
p 'copying in'
|
126
129
|
raise unless system("scp #{name} rdp@ilab1.cs.byu.edu:~/incoming")
|
127
130
|
p 'copying over'
|
128
131
|
raise unless system("ssh rdp@ilab1.cs.byu.edu \"scp ~/incoming/#{name} wilkboar@freemusicformormons.com:~/www/rogerdpackt28/sensible-cinema/releases\"")
|
132
|
+
# ugh ugh ughly
|
133
|
+
raise unless system("ssh rdp@ilab1.cs.byu.edu 'ssh wilkboar@freemusicformormons.com \\\"rm \\\\~/www/rogerdpackt28/sensible-cinema/releases/latest-sensible-cinema.zip\\\"'")
|
134
|
+
raise unless system("ssh rdp@ilab1.cs.byu.edu 'ssh wilkboar@freemusicformormons.com \\\"ln -s \\~/www/rogerdpackt28/sensible-cinema/releases/#{name} \\\\~/www/rogerdpackt28/sensible-cinema/releases/latest-sensible-cinema.zip\\\"'")
|
129
135
|
end
|
130
136
|
|
131
137
|
desc 'j -S rake bundle_dependencies create_distro_dir ... (releases with clean cache dir, which we need now)'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.21.
|
1
|
+
0.21.5
|
data/bin/sensible-cinema.rb
CHANGED
@@ -223,9 +223,9 @@ module SensibleSwing
|
|
223
223
|
end
|
224
224
|
|
225
225
|
def create_brand_new_edl
|
226
|
-
|
227
|
-
|
228
|
-
|
226
|
+
drive, volume, md5 = choose_dvd_drive
|
227
|
+
name = get_user_input("Enter DVD name for #{volume}")
|
228
|
+
input = <<-EOL
|
229
229
|
# comments can go after a # on any line, for example this one.
|
230
230
|
|
231
231
|
"mutes" => [
|
@@ -244,12 +244,11 @@ module SensibleSwing
|
|
244
244
|
# "closing thoughts" => "still a fairly dark movie, overall",
|
245
245
|
# "mplayer_dvd_splits" => ["59:59", "1:04:59"], # these are where, in mplayer, the DVD timestamp "resets" to zero for whatever reason. See http://goo.gl/yMfqX
|
246
246
|
EOL
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
247
|
+
filename = EDL_DIR + "\\" + name.gsub(' ', '_') + '.txt'
|
248
|
+
filename.downcase!
|
249
|
+
File.write(filename, input) unless File.exist?(filename) # lodo let them choose name (?)
|
250
|
+
open_file_to_edit_it filename
|
251
|
+
end
|
253
252
|
|
254
253
|
alias system_original system
|
255
254
|
|
@@ -327,9 +326,7 @@ module SensibleSwing
|
|
327
326
|
File.write(EdlTempFile, edl_contents)
|
328
327
|
title_track = get_title_track(descriptors)
|
329
328
|
# oh the insanity of the console UI...LODO more user friendly player
|
330
|
-
@popup ||= NonBlockingDialog.new("
|
331
|
-
Also right and left arrows to seek, F key for full screen, [, ] to control playback speed.
|
332
|
-
q or escape to quit.")
|
329
|
+
@popup ||= NonBlockingDialog.new("About to run mplayer DVD. To control it, use space for pause, f to toggle full screen, arrow keys to seek.")
|
333
330
|
# LODO dry up mplayer dvd opts...
|
334
331
|
play_this_mplayer ||= "mplayer dvd://#{title_track}"
|
335
332
|
command = "#{play_this_mplayer} -nocache -alang en -sid 1000 -edl #{File.expand_path EdlTempFile} -dvd-device #{drive}"
|
data/sensible-cinema.gemspec
CHANGED
data/www/index.html
CHANGED
@@ -5,25 +5,27 @@ Welcome to the (work in progress) home page of Sensible Cinema, the video scene
|
|
5
5
|
A description of the program can be found <a href="https://github.com/rdp/sensible-cinema/blob/master/README">here</a>.
|
6
6
|
|
7
7
|
<h2 style="margin: 0px;">Download</h2>
|
8
|
-
Please download the latest version
|
9
|
-
the
|
10
|
-
After downloading, unzip it (right click -> Extract all).
|
8
|
+
Please download (save) the latest version via <a href="releases/latest-sensible-cinema.zip">this link</a>.
|
9
|
+
After downloading it, unzip it (show in explorer -> right click on the .zip file -> Extract all -> Extract).
|
11
10
|
Now open the newly extracted "sensible-cinema-x.x.x" folder,
|
12
|
-
and run the file "run sensible cinema
|
13
|
-
You will be initially prompted to accept the license agreement and also install a few (non included, separate) dependencies.
|
14
|
-
Now insert a DVD you
|
11
|
+
and run the file "run sensible cinema".
|
12
|
+
You will be initially prompted to accept the license agreement(s) and also install a few (non included, separate project) dependencies.
|
13
|
+
Now insert a DVD you own, and then choose from sensible cinema's available options (buttons).
|
15
14
|
Enjoy!
|
16
15
|
|
16
|
+
You can find a list of previous versions <a href="releases">here</a>.
|
17
|
+
|
17
18
|
Sensible cinema is currently for windows only, ping me if you want this changed.
|
18
19
|
|
19
20
|
If you want to create your own "delete list" for a DVD that doesn't have one yet,
|
20
21
|
see the <a href="https://github.com/rdp/sensible-cinema/blob/master/how_to_create_your_own_delete_lists.txt">how to create</a> file for instructions on creating a new delete list. <!-- this is actually a short line -->
|
21
22
|
Then run the contained file "edit or create sensible cinema delete list files.bat"
|
22
23
|
|
23
|
-
<h2 style="margin: 0px;">Resources</h2>
|
24
|
-
Source code is available <a href="http://github.com/rdp/sensible-cinema">here</a>. Notes for potential source code developers are <a href="https://github.com/rdp/sensible-cinema/blob/master/development.txt">here</a>. For (non-techy) contributions just upload files to the google group.
|
25
|
-
|
24
|
+
<h2 style="margin: 0px;">Other Resources</h2>
|
26
25
|
Let me know via the <a href="http://groups.google.com/group/sensible-cinema?pli=1">google group</a> or email rogerdpack@gmail.com if you have feedback or have any other ideas/suggestions, or just want to say hi.
|
26
|
+
|
27
|
+
Source code is available <a href="http://github.com/rdp/sensible-cinema">here</a>. Notes for potential source code developers are <a href="https://github.com/rdp/sensible-cinema/blob/master/development.txt">here</a>. For (non-techy) contributions, just upload files to the google group.
|
28
|
+
|
27
29
|
</pre>
|
28
30
|
</html>
|
29
31
|
</body>
|