Skip to content

Commit

Permalink
desktop.media.tomkv: fix filename formatting for names with multiple …
Browse files Browse the repository at this point in the history
…dots
  • Loading branch information
mk-fg committed Nov 21, 2024
1 parent 32eed37 commit a827e5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktop/media/tomkv
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def main(args=None):
nf = str(len(str(len(ps))))
for n, p in enumerate(ps, 1):
if '.' not in dst_name: fn, ext = dst_name, ''
else: fn, ext = dst_name.rsplit('.'); ext = f'.{ext}'
else: fn, ext = dst_name.rsplit('.', 1); ext = f'.{ext}'
dst_name_aliases[p] = ('{}.{:0'+nf+'d}{}').format(fn, n, ext)

# ffprobe checks
Expand Down

0 comments on commit a827e5d

Please sign in to comment.