5
0

yt_common: automation: add header to keyframes file to make aegisub happy

This commit is contained in:
louis f 2021-06-06 01:23:03 -04:00
parent 8fcdf12cd3
commit c652a7c5e7
Signed by: louis
GPG Key ID: 44D7E1DE4E23D6F2

View File

@ -72,6 +72,7 @@ class SelfRunner():
if args.keyframes:
kf = find_scene_changes(source.source())
with open(args.keyframes, "w", encoding="utf-8") as kfo:
kfo.write("# WWXD log file, using qpfile format\n\n")
for f in kf:
kfo.write(f"{f:d} I\n")
return