mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-04 15:28:23 +00:00
Minor code review changes (cvium)
This commit is contained in:
parent
5a860710a8
commit
f97e844c4f
2 changed files with 2 additions and 3 deletions
|
|
@ -925,8 +925,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|||
|
||||
cancellationToken.ThrowIfCancellationRequested();
|
||||
|
||||
var jpegCount = _fileSystem.GetFilePaths(targetDirectory)
|
||||
.Count(i => string.Equals(Path.GetExtension(i), ".jpg", StringComparison.OrdinalIgnoreCase));
|
||||
var jpegCount = _fileSystem.GetFilePaths(targetDirectory).Count();
|
||||
|
||||
isResponsive = jpegCount > lastCount;
|
||||
lastCount = jpegCount;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue