Fixed routes and bugs

This commit is contained in:
2026-03-27 23:06:17 +01:00
parent 075ff3c7b6
commit 32b83e84a6
18 changed files with 72 additions and 101 deletions
@@ -32,10 +32,9 @@ namespace Musify.Infrastructure.MassTransit.Activities
executeContext.CancellationToken);
var sourceFilePath = executeContext.GetVariable<string>(executeContext.Arguments.SourceFilePathVariableName);
ArgumentNullException.ThrowIfNull(sourceFilePath, nameof(sourceFilePath));
var workingDirectory = executeContext.GetVariable<string>(executeContext.Arguments.WorkingDirectoryVariableName);
if (string.IsNullOrWhiteSpace(sourceFilePath) || string.IsNullOrWhiteSpace(workingDirectory))
throw new InvalidOperationException("Transcode activity requires source file path and working directory variables.");
ArgumentNullException.ThrowIfNull(sourceFilePath, nameof(sourceFilePath));
try
{