bin/sensible-cinema-cli in sensible-cinema-0.25.4 vs bin/sensible-cinema-cli in sensible-cinema-0.26.0
- old
+ new
@@ -83,23 +83,15 @@
else
# assume they want an online player, right? LODO player can tell us...
auto_found = AutoWindowFinder.search_for_single_url_match
if auto_found
p 'auto-discovered open window for player x EDL, using it ' + auto_found
- settings = EdlParser.parse_file auto_found
- if settings["from_url"]
- require 'tempfile'
- to = Tempfile.new 'abc'
- require_relative 'sensible-cinema-dependencies'
- SensibleSwing::MainWindow.download(settings["from_url"], to.path)
- edit_decision_list = to.path
- else
- edit_decision_list = auto_found
- end
+ edit_decision_list = auto_found
else
puts 'Select Edit Decision List to use'
edit_decision_list = FileChooser.choose_file(" SELECT EDIT DECISION LIST", __DIR__ + "/../zamples/edit_decision_lists")
end
+ settings = EdlParser.parse_file auto_found
if !edit_decision_list
puts "error: have to specify a scene descriptions file\n or specify \"test\" on the command line if you just want to snapshot your player"
exit 1
end
\ No newline at end of file