Skip to content

Commit

Permalink
Consolidate ChatCompression, ChatFormat, and TimestampFormat into Enu…
Browse files Browse the repository at this point in the history
…ms.cs
  • Loading branch information
ScrubN committed Dec 14, 2023
1 parent 4cf838a commit e63469d
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 34 deletions.
2 changes: 1 addition & 1 deletion TwitchDownloaderCLI/Modes/Arguments/ChatDownloadArgs.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using CommandLine;
using TwitchDownloaderCore.Chat;
using TwitchDownloaderCore.Tools;

namespace TwitchDownloaderCLI.Modes.Arguments
{
Expand Down
2 changes: 1 addition & 1 deletion TwitchDownloaderCLI/Modes/Arguments/ChatUpdateArgs.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using CommandLine;
using TwitchDownloaderCore.Chat;
using TwitchDownloaderCore.Tools;

namespace TwitchDownloaderCLI.Modes.Arguments
{
Expand Down
1 change: 0 additions & 1 deletion TwitchDownloaderCLI/Modes/DownloadChat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using TwitchDownloaderCLI.Modes.Arguments;
using TwitchDownloaderCLI.Tools;
using TwitchDownloaderCore;
using TwitchDownloaderCore.Chat;
using TwitchDownloaderCore.Options;
using TwitchDownloaderCore.Tools;

Expand Down
2 changes: 1 addition & 1 deletion TwitchDownloaderCLI/Modes/UpdateChat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
using TwitchDownloaderCLI.Modes.Arguments;
using TwitchDownloaderCLI.Tools;
using TwitchDownloaderCore;
using TwitchDownloaderCore.Chat;
using TwitchDownloaderCore.Options;
using TwitchDownloaderCore.Tools;

namespace TwitchDownloaderCLI.Modes
{
Expand Down
9 changes: 0 additions & 9 deletions TwitchDownloaderCore/Chat/ChatCompression.cs

This file was deleted.

9 changes: 0 additions & 9 deletions TwitchDownloaderCore/Chat/ChatFormat.cs

This file was deleted.

10 changes: 0 additions & 10 deletions TwitchDownloaderCore/Chat/TimestampFormat.cs

This file was deleted.

2 changes: 1 addition & 1 deletion TwitchDownloaderCore/Options/ChatDownloadOptions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using TwitchDownloaderCore.Chat;
using TwitchDownloaderCore.Tools;

namespace TwitchDownloaderCore.Options
{
Expand Down
2 changes: 1 addition & 1 deletion TwitchDownloaderCore/Options/ChatUpdateOptions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using TwitchDownloaderCore.Chat;
using TwitchDownloaderCore.Tools;

namespace TwitchDownloaderCore.Options
{
Expand Down
24 changes: 24 additions & 0 deletions TwitchDownloaderCore/Tools/Enums.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
namespace TwitchDownloaderCore.Tools
{
// TODO: Add Bzip2 and possibly 7Zip support
public enum ChatCompression
{
None,
Gzip
}

public enum ChatFormat
{
Json,
Text,
Html
}

public enum TimestampFormat
{
Utc,
Relative,
None,
UtcFull
}
}

0 comments on commit e63469d

Please sign in to comment.