Fixed codesmell

This commit is contained in:
JPVenson 2025-01-18 16:22:05 +00:00
parent 2f306358c0
commit 56a4aa180b

View File

@ -97,6 +97,7 @@ namespace MediaBrowser.Providers.MediaInfo
query.Index = null; query.Index = null;
videoStream = _mediaSourceManager.GetMediaStreams(query).FirstOrDefault(); videoStream = _mediaSourceManager.GetMediaStreams(query).FirstOrDefault();
} }
if (videoStream is null) if (videoStream is null)
{ {
_logger.LogInformation("Skipping image extraction: no video stream found for {Path}.", item.Path ?? string.Empty); _logger.LogInformation("Skipping image extraction: no video stream found for {Path}.", item.Path ?? string.Empty);