mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-21 21:20:39 +02:00
Renamed filter method
This commit is contained in:
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…
Reference in a new issue