mirror of
https://github.com/TriM-Organization/Musicreater.git
synced 2026-01-25 13:12:25 +00:00
新增批量转换新样例
This commit is contained in:
@@ -88,7 +88,7 @@ if os.path.isdir(midipath):
|
||||
for i in os.listdir(midipath):
|
||||
if i.endswith('.mid'):
|
||||
print(f'正在操作{i}')
|
||||
convertion.convert(midipath + '/' + i, outpath + '/' + i[:-4] + '.mcpack')
|
||||
convertion.convert(midipath + '/' + i, outpath + '/' + i[:-4] )
|
||||
if outFormat == 0:
|
||||
convertion.tomcpack(
|
||||
1,
|
||||
|
||||
Reference in New Issue
Block a user