mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-22 16:51:39 +00:00
Merge pull request #6890 from crobibero/dlna-create
Fix creating DLNA profiles
This commit is contained in:
commit
11419cbbfd
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue