mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Fixed codesmell
This commit is contained in:
parent
2f306358c0
commit
56a4aa180b
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user