mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Added GetDirectorySize to DiskProvider
Removed search folder from disk provider
This commit is contained in:
parent
8b0c8afb81
commit
3dd8e7240e
4 changed files with 11 additions and 30 deletions
|
@ -196,7 +196,7 @@ namespace NzbDrone.Core.Providers
|
|||
{
|
||||
Logger.Debug("Scanning '{0}' for episodes", path);
|
||||
|
||||
var filesOnDisk = _diskProvider.GetFiles(path, "*.*", SearchOption.AllDirectories);
|
||||
var filesOnDisk = _diskProvider.GetFiles(path, SearchOption.AllDirectories);
|
||||
|
||||
var mediaFileList = filesOnDisk.Where(c => MediaExtentions.Contains(Path.GetExtension(c).ToLower())).ToList();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue