混流失败也算失败
This commit is contained in:
parent
66daf00b5a
commit
a9925e44bb
|
@ -708,7 +708,11 @@ namespace N_m3u8DL_RE.DownloadManager
|
||||||
var tmpDir = DownloaderConfig.MyOptions.TmpDir ?? Environment.CurrentDirectory;
|
var tmpDir = DownloaderConfig.MyOptions.TmpDir ?? Environment.CurrentDirectory;
|
||||||
OtherUtil.SafeDeleteDir(tmpDir);
|
OtherUtil.SafeDeleteDir(tmpDir);
|
||||||
}
|
}
|
||||||
else Logger.ErrorMarkUp($"Mux failed");
|
else
|
||||||
|
{
|
||||||
|
success = false;
|
||||||
|
Logger.ErrorMarkUp($"Mux failed");
|
||||||
|
}
|
||||||
//判断是否要改名
|
//判断是否要改名
|
||||||
var newPath = Path.ChangeExtension(outPath, ext);
|
var newPath = Path.ChangeExtension(outPath, ext);
|
||||||
if (result && !File.Exists(newPath))
|
if (result && !File.Exists(newPath))
|
||||||
|
|
|
@ -831,7 +831,11 @@ namespace N_m3u8DL_RE.DownloadManager
|
||||||
var tmpDir = DownloaderConfig.MyOptions.TmpDir ?? Environment.CurrentDirectory;
|
var tmpDir = DownloaderConfig.MyOptions.TmpDir ?? Environment.CurrentDirectory;
|
||||||
OtherUtil.SafeDeleteDir(tmpDir);
|
OtherUtil.SafeDeleteDir(tmpDir);
|
||||||
}
|
}
|
||||||
else Logger.ErrorMarkUp($"Mux failed");
|
else
|
||||||
|
{
|
||||||
|
success = false;
|
||||||
|
Logger.ErrorMarkUp($"Mux failed");
|
||||||
|
}
|
||||||
//判断是否要改名
|
//判断是否要改名
|
||||||
var newPath = Path.ChangeExtension(outPath, ext);
|
var newPath = Path.ChangeExtension(outPath, ext);
|
||||||
if (result && !File.Exists(newPath))
|
if (result && !File.Exists(newPath))
|
||||||
|
|
Loading…
Reference in New Issue