mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-22 01:54:42 +01:00
update file saving
This commit is contained in:
@@ -226,9 +226,12 @@ namespace MediaBrowser.LocalMetadata.Savers
|
||||
if (file.IsHidden)
|
||||
{
|
||||
FileSystem.SetHidden(path, false);
|
||||
|
||||
wasHidden = true;
|
||||
}
|
||||
if (file.IsReadOnly)
|
||||
{
|
||||
FileSystem.SetReadOnly(path, false);
|
||||
}
|
||||
}
|
||||
|
||||
using (var filestream = FileSystem.GetFileStream(path, FileOpenMode.Create, FileAccessMode.Write, FileShareMode.Read))
|
||||
|
||||
Reference in New Issue
Block a user