diff options
| author | Cody Robibero <cody@robibe.ro> | 2021-11-21 11:48:30 -0700 |
|---|---|---|
| committer | Cody Robibero <cody@robibe.ro> | 2021-11-21 11:48:30 -0700 |
| commit | 5b7e8a27fb54b8d60e99093efb1e8bb168e21ded (patch) | |
| tree | 23e5913ab2ea287d0230a92b26598bcab06add90 | |
| parent | 718e4b866531fdc1451516ae597c147aeb8fffac (diff) | |
Fix creating DLNA profiles
| -rw-r--r-- | Emby.Dlna/DlnaManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Dlna/DlnaManager.cs b/Emby.Dlna/DlnaManager.cs index 277a0e678..93efa4b38 100644 --- a/Emby.Dlna/DlnaManager.cs +++ b/Emby.Dlna/DlnaManager.cs @@ -350,7 +350,7 @@ namespace Emby.Dlna Directory.CreateDirectory(systemProfilesPath); var fileOptions = AsyncFile.WriteOptions; - fileOptions.Mode = FileMode.CreateNew; + fileOptions.Mode = FileMode.Create; fileOptions.PreallocationSize = length; using (var fileStream = new FileStream(path, fileOptions)) { |
