aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/MediaEncoder/EncodingManager.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-09-24 13:50:49 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-09-24 13:50:49 -0400
commitf3e9bbed2361a2b0d9024186fe8854a136921cd9 (patch)
tree55316c5c6f0a869fa110826ce73658228513691f /MediaBrowser.Server.Implementations/MediaEncoder/EncodingManager.cs
parent76875e17ee951b967e591e7f8166ed8c1f45bbf6 (diff)
update file system methods
Diffstat (limited to 'MediaBrowser.Server.Implementations/MediaEncoder/EncodingManager.cs')
-rw-r--r--MediaBrowser.Server.Implementations/MediaEncoder/EncodingManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Server.Implementations/MediaEncoder/EncodingManager.cs b/MediaBrowser.Server.Implementations/MediaEncoder/EncodingManager.cs
index 9ea553d2d..550d76f44 100644
--- a/MediaBrowser.Server.Implementations/MediaEncoder/EncodingManager.cs
+++ b/MediaBrowser.Server.Implementations/MediaEncoder/EncodingManager.cs
@@ -134,7 +134,7 @@ namespace MediaBrowser.Server.Implementations.MediaEncoder
var protocol = MediaProtocol.File;
- var inputPath = MediaEncoderHelpers.GetInputArgument(video.Path, protocol, null, video.PlayableStreamFileNames);
+ var inputPath = MediaEncoderHelpers.GetInputArgument(_fileSystem, video.Path, protocol, null, video.PlayableStreamFileNames);
try
{
@@ -194,7 +194,7 @@ namespace MediaBrowser.Server.Implementations.MediaEncoder
try
{
- return Directory.EnumerateFiles(path)
+ return _fileSystem.GetFilePaths(path)
.ToList();
}
catch (DirectoryNotFoundException)