aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Wagner <ulrich.wagner@viaregio-services.de>2020-02-19 17:46:50 +0100
committerGitHub <noreply@github.com>2020-02-19 17:46:50 +0100
commitd6971581d6777ca2ac1f22a5d1e61ada65c76baf (patch)
treee66f939f94b66099a86f6da8c09eb7f9a852e9fd
parent0f2ee2686da4b38496dcc9c0578c82849174b22b (diff)
Update Emby.Server.Implementations/Library/LibraryManager.cs
Co-Authored-By: Bond-009 <bond.009@outlook.com>
-rw-r--r--Emby.Server.Implementations/Library/LibraryManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs
index cd098739f..e851998c2 100644
--- a/Emby.Server.Implementations/Library/LibraryManager.cs
+++ b/Emby.Server.Implementations/Library/LibraryManager.cs
@@ -2421,7 +2421,7 @@ namespace Emby.Server.Implementations.Library
// Read from metadata
var mediaInfo = _mediaEncoder.GetMediaInfo(new MediaInfoRequest
{
- MediaSource = episode.GetMediaSources(false).First(),
+ MediaSource = episode.GetMediaSources(false)[0],
MediaType = DlnaProfileType.Video,
ExtractChapters = false
}, CancellationToken.None).GetAwaiter().GetResult();