mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-05 09:46:17 +00:00
make channel access opt-in rather than opt out
This commit is contained in:
@@ -459,7 +459,7 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
try
|
||||
{
|
||||
_logger.Info("Deleting converted subtitle due to failure: ", outputPath);
|
||||
File.Delete(outputPath);
|
||||
_fileSystem.DeleteFile(outputPath);
|
||||
}
|
||||
catch (IOException ex)
|
||||
{
|
||||
@@ -608,7 +608,7 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
try
|
||||
{
|
||||
_logger.Info("Deleting extracted subtitle due to failure: {0}", outputPath);
|
||||
File.Delete(outputPath);
|
||||
_fileSystem.DeleteFile(outputPath);
|
||||
}
|
||||
catch (FileNotFoundException)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user