diff options
| author | Claus Vium <cvium@users.noreply.github.com> | 2021-05-28 19:01:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-28 19:01:29 +0200 |
| commit | 3b5214e59526095057a7761ca6c8edb5a5af1d1f (patch) | |
| tree | c0067c9f88a5e08f991e1607fb1b76f51e526169 /Emby.Naming/Video | |
| parent | 2d5ed7cb9574180d6ae5617f82abdfd43064ebee (diff) | |
Update Emby.Naming/Video/VideoListResolver.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
Diffstat (limited to 'Emby.Naming/Video')
| -rw-r--r-- | Emby.Naming/Video/VideoListResolver.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Emby.Naming/Video/VideoListResolver.cs b/Emby.Naming/Video/VideoListResolver.cs index 65cf7c9284..7da2dcd7a5 100644 --- a/Emby.Naming/Video/VideoListResolver.cs +++ b/Emby.Naming/Video/VideoListResolver.cs @@ -281,8 +281,7 @@ namespace Emby.Naming.Video var trimmedSecondBaseName = TrimFilenameDelimiters(secondBaseName, videoFlagDelimiters); var result = new List<VideoFileInfo>(); - var pos = remainingFiles.Count - 1; - for (; pos >= 0; pos--) + for (var pos = remainingFiles.Count - 1; pos >= 0; pos--) { var file = remainingFiles[pos]; if (file.ExtraType == null) |
