Skip to content

Commit

Permalink
Save OUTPUT.info.txt, not OUTPUT.mkv.info.txt
Browse files Browse the repository at this point in the history
- Removes the redundant video file extension.
  • Loading branch information
rkdarst committed Nov 8, 2023
1 parent 46e54d6 commit 56314b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ffmpeg_editlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ def main(argv=sys.argv[1:]):
video_description.append(workshop_description.replace('\n', '\n\n').strip())

if video_description:
with atomic_write(str(output)+'.info.txt', 'w') as toc_file:
with atomic_write(os.path.splitext(str(output))[0]+'.info.txt', 'w') as toc_file:
open(toc_file, 'w').write('\n\n'.join(video_description))

# Print out covered segments (for verification purposes)
Expand Down

0 comments on commit 56314b6

Please sign in to comment.