update ffmpeg with qsv-compatible version

This commit is contained in:
Luke Pulverenti
2015-09-18 13:50:24 -04:00
parent 5340bfe8da
commit aff7309a08
11 changed files with 42 additions and 18 deletions

View File

@@ -111,8 +111,8 @@ namespace MediaBrowser.Server.Implementations.FileOrganization
{
try
{
return Directory
.EnumerateDirectories(path, "*", SearchOption.TopDirectoryOnly)
return _fileSystem
.GetFileSystemEntryPaths(path)
.ToList();
}
catch (IOException ex)

View File

@@ -1165,7 +1165,7 @@ namespace MediaBrowser.Server.Implementations.Library
/// <returns>IEnumerable{VirtualFolderInfo}.</returns>
private IEnumerable<VirtualFolderInfo> GetView(string path)
{
return Directory.EnumerateDirectories(path, "*", SearchOption.TopDirectoryOnly)
return _fileSystem.GetFileSystemEntryPaths(path)
.Select(dir => new VirtualFolderInfo
{
Name = Path.GetFileName(dir),