diff options
| author | crobibero <cody@robibe.ro> | 2020-11-15 11:56:35 -0700 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-11-15 11:56:35 -0700 |
| commit | dae4541badc94153be7e5ae10e3278969855dd6a (patch) | |
| tree | 7d81a89d0675323f30d1557c79dcc19a9f0251b5 /Emby.Server.Implementations/Library/LibraryManager.cs | |
| parent | 3f313206c606662d2b5bcfa2c2a99a5c218f5ff2 (diff) | |
| parent | 7caf1662eca2ea8826f3277e8b9d5c8c782fd03d (diff) | |
Merge remote-tracking branch 'upstream/master' into dotnet-5
Diffstat (limited to 'Emby.Server.Implementations/Library/LibraryManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Library/LibraryManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs index f16eda1ec..7074382b6 100644 --- a/Emby.Server.Implementations/Library/LibraryManager.cs +++ b/Emby.Server.Implementations/Library/LibraryManager.cs @@ -2705,7 +2705,7 @@ namespace Emby.Server.Implementations.Library var videos = videoListResolver.Resolve(fileSystemChildren); - var currentVideo = videos.FirstOrDefault(i => string.Equals(owner.Path, i.Files.First().Path, StringComparison.OrdinalIgnoreCase)); + var currentVideo = videos.FirstOrDefault(i => string.Equals(owner.Path, i.Files[0].Path, StringComparison.OrdinalIgnoreCase)); if (currentVideo != null) { |
