diff options
| author | softworkz <softworkz@hotmail.com> | 2016-02-05 03:01:03 +0100 |
|---|---|---|
| committer | softworkz <softworkz@hotmail.com> | 2016-02-05 05:21:59 +0100 |
| commit | c02635c2569b0dfe2144c337cc0f8591e55c528c (patch) | |
| tree | c7a2bbec022f39aeb85d8de8a7377deacc44ddea | |
| parent | 3a868e28b3e3d9f0a13fc38c680047010d627b0f (diff) | |
Merge fixes
| -rw-r--r-- | MediaBrowser.Server.Implementations/FileOrganization/TvFolderOrganizer.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Server.Implementations/FileOrganization/TvFolderOrganizer.cs b/MediaBrowser.Server.Implementations/FileOrganization/TvFolderOrganizer.cs index c3fde2c1e..845fcdff2 100644 --- a/MediaBrowser.Server.Implementations/FileOrganization/TvFolderOrganizer.cs +++ b/MediaBrowser.Server.Implementations/FileOrganization/TvFolderOrganizer.cs @@ -38,7 +38,7 @@ namespace MediaBrowser.Server.Implementations.FileOrganization private bool EnableOrganization(FileSystemMetadata fileInfo, TvFileOrganizationOptions options) { - var minFileBytes = options.TvOptions.MinFileSizeMb * 1024 * 1024; + var minFileBytes = options.MinFileSizeMb * 1024 * 1024; try { @@ -58,7 +58,7 @@ namespace MediaBrowser.Server.Implementations.FileOrganization var eligibleFiles = watchLocations.SelectMany(GetFilesToOrganize) .OrderBy(_fileSystem.GetCreationTimeUtc) - .Where(i => EnableOrganization(i, options)) + .Where(i => EnableOrganization(i, options.TvOptions)) .ToList(); var processedFolders = new HashSet<string>(); |
