usage()
return 1
+ if len(sys.argv) > 3 and os.path.exists(sys.argv[3]):
+ sys.stderr.write("File '%s' exists, exiting!\n" % sys.argv[3])
+ return 1
+
video_font_path = os.path.realpath(sys.argv[2])
timeline = timeline_from_midi(midi_file, video_font_path)