FIX bug when timestamp is the exact hour

This commit is contained in:
boyska 2014-02-27 13:14:36 +01:00
parent ab2b759959
commit 0460f21581

View file

@ -79,6 +79,8 @@ def mp3_join(named_intervals, target):
'copy'] 'copy']
if startskip is not None: if startskip is not None:
cmdline += ['-ss', str(startskip)] cmdline += ['-ss', str(startskip)]
else:
startskip = 0
if endskip is not None: if endskip is not None:
cmdline += ['-t', str(len(files)*3600 - (startskip + endskip))] cmdline += ['-t', str(len(files)*3600 - (startskip + endskip))]
cmdline += [target] cmdline += [target]