aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Library/LibraryStructureService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Api/Library/LibraryStructureService.cs')
-rw-r--r--MediaBrowser.Api/Library/LibraryStructureService.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/MediaBrowser.Api/Library/LibraryStructureService.cs b/MediaBrowser.Api/Library/LibraryStructureService.cs
index c9baf5c37..c8731637c 100644
--- a/MediaBrowser.Api/Library/LibraryStructureService.cs
+++ b/MediaBrowser.Api/Library/LibraryStructureService.cs
@@ -210,7 +210,10 @@ namespace MediaBrowser.Api.Library
{
var path = Path.Combine(virtualFolderPath, request.CollectionType + ".collection");
- _fileSystem.CreateFile(path);
+ using (File.Create(path))
+ {
+
+ }
}
}
finally