making mkv copy image based subtitles

This commit is contained in:
John Andrews
2023-08-19 09:22:32 +12:00
parent 4af99de851
commit 9f5024e68c
2 changed files with 2 additions and 2 deletions

View File

@@ -79,7 +79,7 @@ public class Unpack: Node
/// <param name="destinationPath">the location to extract to</param>
private void Extract(NodeParameters args, string workingFile, string destinationPath)
{
bool isRar = workingFile.ToLowerInvariant().EndsWith(".cbr");
bool isRar = workingFile.ToLowerInvariant().EndsWith(".cbr") || workingFile.ToLowerInvariant().EndsWith(".rar");
try
{
ArchiveFactory.WriteToDirectory(workingFile, destinationPath, new ()