Skip to content

Commit

Permalink
Configuration: add .wv and .mp3 to acceptable extensions, remove …
Browse files Browse the repository at this point in the history
…deprecated extensions
  • Loading branch information
sinsanction committed Jun 19, 2024
1 parent 5abb5b6 commit 8a90e31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AutoTorrentInspection/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ public class Pattern

public class Extension
{
public string[] AudioExtensions = {"flac", "tak", "m4a", "cue", "log"};
public string[] AudioExtensions = {"flac", "wv", "m4a", "mp3", "cue", "log"};
[JilDirective(Ignore = true)]
public Regex AudioExtension => new Regex($@"\.{string.Join("|", AudioExtensions)}$", RegexOptions.IgnoreCase);

public string[] ImageExtensions = {"jpg", "jpeg", "jp2", "webp"};
public string[] ImageExtensions = {"jpg", "jpeg", "webp"};
[JilDirective(Ignore = true)]
public Regex ImageExtension => new Regex($@"\.{string.Join("|", ImageExtensions)}$", RegexOptions.IgnoreCase);

Expand Down

0 comments on commit 8a90e31

Please sign in to comment.