Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
Forgot to add option to CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
lay295 committed Dec 21, 2020
1 parent 7455155 commit 902b617
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions TwitchDownloaderCLI/Options.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ class Options
public bool FfzEmotes { get; set; }
[Option("outline", Default = false, HelpText = "Enable outline in chat render.")]
public bool Outline { get; set; }
[Option("sub-messages", Default = true, HelpText = "Enable sub messages.")]
public bool SubMessages { get; set; }
[Option("generate-mask", Default = false, HelpText = "Generates a mask file in addition to the regular chat file.")]
public bool GenerateMask { get; set; }
[Option("outline-size", Default = 4, HelpText = "Size of outline in chat render.")]
Expand Down
1 change: 1 addition & 0 deletions TwitchDownloaderCLI/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ private static void RenderChat(Options inputOptions)
renderOptions.OutputArgs = inputOptions.OutputArgs;
renderOptions.FfmpegPath = inputOptions.FfmpegPath == null || inputOptions.FfmpegPath == "" ? ffmpegPath : Path.GetFullPath(inputOptions.FfmpegPath);
renderOptions.TempFolder = inputOptions.TempFolder;
renderOptions.SubMessages = inputOptions.SubMessages;

if (renderOptions.GenerateMask && renderOptions.BackgroundColor.Alpha == 255)
{
Expand Down
3 changes: 3 additions & 0 deletions TwitchDownloaderCLI/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ Path to JSON chat file input.
**-\-ffz**
(Default: true) Enable FFZ emotes.

**-\-sub-messages**
(Default: true) Enable sub/re-sub messages.

**-\-outline**
(Default: false) Enable outline around chat messages.

Expand Down

0 comments on commit 902b617

Please sign in to comment.