FIX bug when timestamp is the exact hour
This commit is contained in:
parent
ab2b759959
commit
0460f21581
1 changed files with 2 additions and 0 deletions
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue