mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-11-10 08:06:15 +00:00
Minor code review changes (cvium)
This commit is contained in:
1 parent
5a860710a8
commit
f97e844c4f
2 files changed
+2
-3
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user