Fix 12 code analysis errors in MediaEncoding projects - use LoggerMessage source generators and specific exception types

This commit is contained in:
2026-04-29 08:24:34 -04:00
parent aead802df6
commit 786c61ba09
6 changed files with 62 additions and 14 deletions
@@ -56,6 +56,8 @@ public class KeyframeExtractionScheduledTask : IScheduledTask
/// <inheritdoc />
public Task ExecuteAsync(IProgress<double> progress, CancellationToken cancellationToken)
{
ArgumentNullException.ThrowIfNull(progress);
var query = new InternalItemsQuery
{
MediaTypes = [MediaType.Video],