From 27c490c15256951a4e2172566c7313f33e0f0af3 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 6 Aug 2017 01:50:37 -0400 Subject: update file refresher --- Emby.Server.Implementations/MediaEncoder/EncodingManager.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'Emby.Server.Implementations/MediaEncoder/EncodingManager.cs') diff --git a/Emby.Server.Implementations/MediaEncoder/EncodingManager.cs b/Emby.Server.Implementations/MediaEncoder/EncodingManager.cs index 181a49034..60379f5ec 100644 --- a/Emby.Server.Implementations/MediaEncoder/EncodingManager.cs +++ b/Emby.Server.Implementations/MediaEncoder/EncodingManager.cs @@ -122,17 +122,11 @@ namespace Emby.Server.Implementations.MediaEncoder continue; } - List playableStreamFileNames = null; if (video.VideoType == VideoType.BluRay || video.VideoType == VideoType.Dvd) { continue; } - if (playableStreamFileNames == null) - { - playableStreamFileNames = new List(); - } - try { // Add some time for the first chapter to make sure we don't end up with a black image @@ -140,7 +134,7 @@ namespace Emby.Server.Implementations.MediaEncoder var protocol = MediaProtocol.File; - var inputPath = MediaEncoderHelpers.GetInputArgument(_fileSystem, video.Path, protocol, null, playableStreamFileNames); + var inputPath = MediaEncoderHelpers.GetInputArgument(_fileSystem, video.Path, protocol, null, new List()); _fileSystem.CreateDirectory(_fileSystem.GetDirectoryName(path)); -- cgit v1.2.3