Skip to content

Commit 1c13ae6

Browse files
committed
Fix subtitle file naming
Forgot to specify the file type when generating the template for the file
1 parent 03f2f99 commit 1c13ae6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/generate_subtitles.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ func process(sub QueuedSub) {
119119

120120
err, subFileName := configuration.Cfg.GetSubtitleFileName(internal.SubtitleTemplateData{
121121
FilePath: sub.filepath,
122+
FileType: "srt",
122123
FileName: internal.GetFileName(sub.filepath),
123124
Lang: configuration.Cfg.TargetLang,
124125
FileHash: hashString,

0 commit comments

Comments
 (0)