Skip to content

Commit

Permalink
Update batch_convert.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePython10110 authored Oct 22, 2023
1 parent dcbd61a commit 6a1058a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions batch_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ def list_files(startpath):
except FileNotFoundError:
print("Midiflip is not on PATH.")
try:
os.system(r'.\\node_modules\\.bin\\midiflip.cmd -i "'+ (output if output else '.') + '/MIDI/**/*.midi" -o ' + (output if output else '.') + '"/FlippedMIDI" -f') #Flip all MIDI files, using my fork of https://github.com/1j01/midiflip
os.system(r'.\\node_modules\\.bin\\midiflip.cmd -i "'+ (output if output else '.') + '/MIDI/**/*.midi" -o ' + (output if output else '.') + '/FlippedMIDI" -f') #Flip all MIDI files, using my fork of https://github.com/1j01/midiflip
except FileNotFoundError:
print("Midiflip is not installed. Install it with NodeJS with npm install midiflip\n\nIt should install to %UserProfile%\\node_modules\\.bin\\midiflip.cmd")
print("Midiflip is not installed. Install it with NodeJS with npm install https://github.com/thepython10110/midiflip\n\nIt should install to %UserProfile%\\node_modules\\.bin\\midiflip.cmd")

if not args.auto:
input("\n(Press ENTER to exit)")
Expand Down

0 comments on commit 6a1058a

Please sign in to comment.