aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Providers/DirectoryService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Controller/Providers/DirectoryService.cs')
-rw-r--r--MediaBrowser.Controller/Providers/DirectoryService.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Providers/DirectoryService.cs b/MediaBrowser.Controller/Providers/DirectoryService.cs
index 01218c293..40093df3a 100644
--- a/MediaBrowser.Controller/Providers/DirectoryService.cs
+++ b/MediaBrowser.Controller/Providers/DirectoryService.cs
@@ -103,6 +103,16 @@ namespace MediaBrowser.Controller.Providers
return GetFileSystemEntries(path, clearCache).Where(i => !i.IsDirectory);
}
+ public IEnumerable<string> GetFilePaths(string path)
+ {
+ return _fileSystem.GetFilePaths(path);
+ }
+
+ public IEnumerable<string> GetFilePaths(string path, bool clearCache)
+ {
+ return _fileSystem.GetFilePaths(path);
+ }
+
public FileSystemMetadata GetFile(string path)
{
FileSystemMetadata file;