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 CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.21.5 ==
2
+
3
+ Minor verbiage.
4
+
1
5
  == 0.21.4 ==
2
6
 
3
7
  Added some todo, re-ordered some buttons to make more user friendly et al.
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-' + File.read('VERSION').strip
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-' + File.read('VERSION').strip + ".zip"
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.4
1
+ 0.21.5
@@ -223,9 +223,9 @@ module SensibleSwing
223
223
  end
224
224
 
225
225
  def create_brand_new_edl
226
- drive, volume, md5 = choose_dvd_drive
227
- name = get_user_input("Enter DVD name for #{volume}")
228
- input = <<-EOL
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
- 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
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("Running mplayer. To control it, use space for pause.\n
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}"
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{sensible-cinema}
8
- s.version = "0.21.4"
8
+ s.version = "0.21.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Roger Pack"]
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 it from the <a href="releases">releases</a> directory,
9
- the latest version can be found <a href="releases/latest-sensible-cinema.zip">here</a>.
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.bat".
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 have, and choose from sensible cinema's available options (buttons).
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>
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: sensible-cinema
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.21.4
5
+ version: 0.21.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Roger Pack