mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-02-14 08:32:22 +00:00
make channel access opt-in rather than opt out
This commit is contained in:
@@ -248,7 +248,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
|
||||
protected virtual void DeleteFiles(EncodingJob job)
|
||||
{
|
||||
File.Delete(job.OutputFilePath);
|
||||
FileSystem.DeleteFile(job.OutputFilePath);
|
||||
}
|
||||
|
||||
private void OnTranscodeBeginning(EncodingJob job)
|
||||
|
||||
@@ -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