Update Emby.Server.Implementations/Library/LibraryManager.cs
Co-Authored-By: Bond-009 <bond.009@outlook.com>
This commit is contained in:
parent
5fed4d10ab
commit
39b6d6586f
|
@ -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<IMediaEncoder>();
|
||||
var task = mediaEncoder.GetMediaInfo(new MediaInfoRequest
|
||||
|
|
Loading…
Reference in New Issue
Block a user