From 39b6d6586f3a788860bf361dec0087ea35191687 Mon Sep 17 00:00:00 2001 From: Ulrich Wagner Date: Wed, 19 Feb 2020 13:37:36 +0100 Subject: [PATCH] Update Emby.Server.Implementations/Library/LibraryManager.cs Co-Authored-By: Bond-009 --- Emby.Server.Implementations/Library/LibraryManager.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs index b32e98863..a2d7f93c2 100644 --- a/Emby.Server.Implementations/Library/LibraryManager.cs +++ b/Emby.Server.Implementations/Library/LibraryManager.cs @@ -2413,7 +2413,8 @@ namespace Emby.Server.Implementations.Library try { var libraryOptions = GetLibraryOptions(episode); - if (libraryOptions.EnableEmbeddedEpisodeInfos && episodeInfo.Container.ToLowerInvariant() == "mp4") { + if (libraryOptions.EnableEmbeddedEpisodeInfos && string.Equals(episodeInfo.Container, "mp4", StringComparison.OrdinalIgnoreCase)) + { // Read from metadata IMediaEncoder mediaEncoder = _appHost.Resolve(); var task = mediaEncoder.GetMediaInfo(new MediaInfoRequest