It's fixed and the code from README should actually work

This commit is contained in:
Pawel Kolaczynski
2020-07-27 09:49:07 +02:00
parent b8a04dbfcb
commit 6337ee7229
3 changed files with 4 additions and 4 deletions

View File

@ -58,7 +58,7 @@ def write_list_rip(data, mode):
file_rip.write('#!/bin/bash\n')
for (i, d) in enumerate(data):
if (d):
name = d['fname'][:2] # get a name without an extension
name = d['fname'].split('.')[0] # get a name without an extension
outname ="../out/{}-{:0>2}.mp4".format(name, i)
file_list.write("file '{}'\n".format(outname))