mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-15 06:36:37 +00:00
make channel access opt-in rather than opt out
This commit is contained in:
@@ -1492,7 +1492,7 @@ namespace MediaBrowser.Server.Implementations.Channels
|
||||
}
|
||||
else
|
||||
{
|
||||
File.Delete(response.TempFilePath);
|
||||
_fileSystem.DeleteFile(response.TempFilePath);
|
||||
|
||||
throw new ApplicationException("Unexpected response type encountered: " + response.ContentType);
|
||||
}
|
||||
@@ -1501,7 +1501,7 @@ namespace MediaBrowser.Server.Implementations.Channels
|
||||
|
||||
try
|
||||
{
|
||||
File.Delete(response.TempFilePath);
|
||||
_fileSystem.DeleteFile(response.TempFilePath);
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user