updated
This commit is contained in:
@@ -12,9 +12,12 @@ skipto = " -ss "
|
||||
|
||||
#droppedFile = "test.mkv"
|
||||
|
||||
del sys.argv[0]
|
||||
|
||||
for i, each in enumerate(sys.argv):
|
||||
|
||||
#skip first part of sys.argv since it points to script location
|
||||
arguments = sys.argv[1:]
|
||||
|
||||
for i, each in enumerate(arguments):
|
||||
|
||||
arg_list = 'ffprobe.exe -i "{each}"'.format(each=each)
|
||||
|
||||
@@ -36,7 +39,7 @@ x = (int(x) for x in input ("Enter tracks to keep: ").split())
|
||||
|
||||
track = "".join(" -map 0:a:{}".format(y) for y in x)
|
||||
|
||||
for each in sys.argv:
|
||||
for each in arguments:
|
||||
|
||||
path = each
|
||||
basename = os.path.basename(path)
|
||||
|
||||
Reference in New Issue
Block a user