Renamed filter method

pull/702/head
softworkz 9 years ago
parent 073f7ac1ab
commit 8259d14c50

@ -35,7 +35,7 @@ namespace MediaBrowser.Server.Implementations.FileOrganization
_providerManager = providerManager; _providerManager = providerManager;
} }
private bool IsValidVideoFile(FileInfo fileInfo) private bool FilterValidVideoFile(FileInfo fileInfo)
{ {
try try
{ {
@ -58,7 +58,7 @@ namespace MediaBrowser.Server.Implementations.FileOrganization
var eligibleFiles = watchLocations.SelectMany(GetFilesToOrganize) var eligibleFiles = watchLocations.SelectMany(GetFilesToOrganize)
.OrderBy(_fileSystem.GetCreationTimeUtc) .OrderBy(_fileSystem.GetCreationTimeUtc)
.Where(i => IsValidVideoFile(i) && i.Length >= minFileBytes) .Where(i => FilterValidVideoFile(i) && i.Length >= minFileBytes)
.ToList(); .ToList();
var processedFolders = new HashSet<string>(); var processedFolders = new HashSet<string>();

Loading…
Cancel
Save