diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-08-06 01:50:37 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-08-06 01:50:37 -0400 |
| commit | 27c490c15256951a4e2172566c7313f33e0f0af3 (patch) | |
| tree | 7b9808ae8abb1280e7e6fa8db146a03c594830d8 /Emby.Server.Implementations/MediaEncoder | |
| parent | 804f19fc424e72ede16e66bc7809eab3450e528e (diff) | |
update file refresher
Diffstat (limited to 'Emby.Server.Implementations/MediaEncoder')
| -rw-r--r-- | Emby.Server.Implementations/MediaEncoder/EncodingManager.cs | 8 |
1 files changed, 1 insertions, 7 deletions
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<string> playableStreamFileNames = null; if (video.VideoType == VideoType.BluRay || video.VideoType == VideoType.Dvd) { continue; } - if (playableStreamFileNames == null) - { - playableStreamFileNames = new List<string>(); - } - 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<string>()); _fileSystem.CreateDirectory(_fileSystem.GetDirectoryName(path)); |
