sensible-cinema 0.19.5 → 0.19.6

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.19.6 ==
2
+
3
+ Update terminology to make it more clear what can play what when it's done.
4
+
1
5
  == 0.19.5 ==
2
6
 
3
7
  Some notes, deploy methods.
data/Rakefile CHANGED
@@ -122,7 +122,8 @@ end
122
122
 
123
123
  task 'deploy' do
124
124
  name = 'sensible-cinema-' + File.read('VERSION').strip + ".zip"
125
- raise unless system("scp #{name} wilkboar@myfavoritepal.com:~/www/rogerdpackt28/sensible-cinema")
125
+ raise unless system("scp #{name} rdp@ilab1.cs.byu.edu:~/incoming")
126
+ raise unless system ("ssh rdp@ilab1.cs.byu.edu \"scp ~/incoming/#{name} wilkboar@myfavoritepal.com:~/www/rogerdpackt28/sensible-cinema\"")
126
127
  end
127
128
 
128
129
  desc 'j -S rake bundle_dependencies create_distro_dir ... (releases with clean cache dir, which we need now)'
data/TODO CHANGED
@@ -2,14 +2,11 @@
2
2
 
3
3
  == up next release ==
4
4
 
5
- low hanging fruit/bugs:
6
- cool runnings at home
7
- edl straight is broken on HP at 2 hours
8
- if it's all blank outs works right then? baby/HP?
9
-
10
5
  == slightly lower than that, somewhat ordered ==
11
6
 
12
- temple at home
7
+ edl straight is broken on HP at 2 hours
8
+ warn on low disk
9
+ temple EDL at home
13
10
  cars bring home :)
14
11
  linearize edl's
15
12
  don't use them linear, just linearize
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.19.5
1
+ 0.19.6
data/bin/sensible-cinema CHANGED
@@ -100,14 +100,14 @@ module SensibleSwing
100
100
  jlabel.set_bounds(44,44,160,14)
101
101
  panel.add jlabel
102
102
  @starting_button_y = 120
103
- @button_width = 330
103
+ @button_width = 350
104
104
 
105
105
  @create = new_jbutton( "Create edited copy of DVD on Your Hard Drive, from a DVD", false )
106
106
  @create.on_clicked {
107
107
  do_copy_dvd_to_hard_drive false
108
108
  }
109
109
 
110
- @mplayer_edl = new_jbutton( "Watch DVD on computer edited realtime (might not work)", false )
110
+ @mplayer_edl = new_jbutton( "Watch DVD on computer edited realtime (not always be accurate)", false )
111
111
  @mplayer_edl.on_clicked {
112
112
  drive, dvd_volume_name, md5sum, edl_path, descriptors = choose_dvd_and_edl_for_it
113
113
  descriptors = EdlParser.parse_file edl_path
@@ -277,7 +277,7 @@ EOL
277
277
  download("http://downloads.sourceforge.net/project/sevenzip/7-Zip/9.20/7za920.zip", "7za920.zip")
278
278
  system_blocking("unzip -o 7za920.zip") # -o means "overwrite" without prompting
279
279
  # now we have 7za.exe
280
- Kernel.print 'downloading mencoder.7z...'
280
+ Kernel.print 'downloading mencoder.7z (6MB) ...'
281
281
  download("http://downloads.sourceforge.net/project/mplayer-win32/MPlayer%20and%20MEncoder/revision%2032492/MPlayer-rtm-svn-32492.7z", "mencoder.7z")
282
282
  system_blocking("7za e mencoder.7z -y -omencoder")
283
283
  Kernel.puts 'done'
@@ -454,7 +454,7 @@ EOL
454
454
  "Applying EDL #{File.basename edit_list_path} \n against #{drive} (#{dvd_title}).\n" +
455
455
  "This could take quite awhile, and will prompt you when it is done.\n" +
456
456
  "You can close this window and continue working while it runs.\n" +
457
- "NB that the created file will be playable only with smplayer or VLC.",
457
+ "NB that the created file will be playable only with VLC (possibly with smplayer).",
458
458
  "OK")
459
459
 
460
460
  # allow our popups to still be serviced while it is running
@@ -497,7 +497,7 @@ EOL
497
497
  show_file = "explorer /e,/select,\"#{File.expand_path(saved_to).to_filename}\""
498
498
  system_blocking show_file # returns immediately
499
499
  PlayAudio.play(File.expand_path(File.dirname(__FILE__)) + "/../vendor/music.wav")
500
- show_blocking_message_dialog "Done--you may now watch file #{saved_to} in SMPlayer or VLC player"
500
+ show_blocking_message_dialog "Done--you may now watch file #{saved_to} in VLC player (possibly smplayer)"
501
501
  end
502
502
  else
503
503
  show_blocking_message_dialog("Failed--please examine console output and report back!\nAlso consult the troubleshooting section of the README file.", "Failed", JOptionPane::ERROR_MESSAGE)
@@ -508,10 +508,10 @@ EOL
508
508
  def choose_dvd_drive
509
509
  opticals = DriveInfo.get_dvd_drives_as_openstruct
510
510
  if @saved_opticals == opticals
511
- # memoize :)
511
+ # memoize...kind of :)
512
512
  return @_choose_dvd_drive
513
513
  end
514
- show_blocking_message_dialog 'insert dvd first' unless opticals.find{|d| d.VolumeName }
514
+ show_blocking_message_dialog 'insert a dvd first' unless opticals.find{|d| d.VolumeName }
515
515
  names = opticals.map{|d| d.Name + "\\" + " (" + (d.VolumeName || 'Insert DVD and re-start') + ")"}
516
516
 
517
517
  if opticals.length != 1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{sensible-cinema}
8
- s.version = "0.19.5"
8
+ s.version = "0.19.6"
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"]
12
- s.date = %q{2010-12-22}
12
+ s.date = %q{2010-12-23}
13
13
  s.email = %q{rogerdpack@gmail.com}
14
14
  s.executables = ["sensible-cinema", "sensible-cinema-cli"]
15
15
  s.extensions = ["ext/mkrf_conf.rb"]
data/spec/notes CHANGED
@@ -1,6 +1,9 @@
1
1
  smplayer on HP2 -> edited version (ffmpeg through mencoder) with oac copy, is off by an annoying split second when replayed in smplayer
2
-
3
- smplayer on fulli oac copy HP 2 *fails* everywhere almost sync-wise
2
+ at other times, it fails everywhere almost sync-wise
3
+ that "might" have been with HP and -oac lavc, but without harddup. or maybe it was -oac copy
4
+ VLC plays the audio splendidly on the same.
5
+ plays well from DVD, though. Just that one file isn't playable with mplayer...
6
+ how does EDL fit into all of this, though?
4
7
 
5
8
  edl *fails* with HP at the 2 hour mark, audio. The audio did seem to line up, at least, with their lips.
6
9
  and if it's video--fails the same. Seems to think it's at second 2678, or minute 44, not minute 120?
@@ -12,7 +15,7 @@ got av_interleaved_write_frame(): Operation not permitted
12
15
  on call ffmpeg -i C:\HP_AND_THE_CHAMBER_OF_SECRETS_edited_version.fulli_unedited.tmp.mpg -vcodec copy -acodec copy -'
13
16
  ;?Pss 749.0 -t 4109.999 C:\HP_AND_THE_CHAMBER_OF_SECRETS_edited_version.5.avi
14
17
  then it passed (reading off the "old fulli" with poor audio) when did it again. huh?
15
- out of disk?
18
+ out of disk perhaps??
16
19
 
17
20
  edl works *great* with cars at 15 minutes, and appears to at an hour, too. Oh, and the audio matches perfectly.
18
21
 
@@ -349,9 +349,9 @@ module SensibleSwing
349
349
  end
350
350
 
351
351
  it "should not show the normal buttons in create mode" do
352
- MainWindow.new.buttons.length.should == 2 # exit button, two normal buttons
352
+ MainWindow.new.buttons.length.should == 3 # exit button, two normal buttons
353
353
  ARGV << "--create-mode"
354
- MainWindow.new.buttons.length.should == 10
354
+ MainWindow.new.buttons.length.should == 9
355
355
  ARGV.pop # test cleanup--why not :)
356
356
  end
357
357
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 19
8
- - 5
9
- version: 0.19.5
8
+ - 6
9
+ version: 0.19.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - Roger Pack
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-12-22 00:00:00 -07:00
17
+ date: 2010-12-23 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency