mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 01:05:19 +03:00
Implement various suggestions
This commit is contained in:
@@ -306,7 +306,8 @@ namespace MediaBrowser.Api
|
||||
Directory.CreateDirectory(Path.GetDirectoryName(fullCachePath));
|
||||
using (var stream = result.Content)
|
||||
{
|
||||
using var fileStream = new FileStream(fullCachePath,
|
||||
using var fileStream = new FileStream(
|
||||
fullCachePath,
|
||||
FileMode.Create,
|
||||
FileAccess.Write,
|
||||
FileShare.Read,
|
||||
|
||||
Reference in New Issue
Block a user