Skip to content

Commit

Permalink
Merge pull request #69 from NagisaCo/MergeFLV
Browse files Browse the repository at this point in the history
暂时解决合并FLV时的错误
  • Loading branch information
CHKZL authored Mar 28, 2021
2 parents 5df25b1 + 3ff1128 commit 17a5768
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions Auxiliary/Downloader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -531,23 +531,13 @@ private void 下载完成事件(object sender, AsyncCompletedEventArgs e)
{
case "bilibili":
{
if (DownIofo.继承.是否为继承对象 && !DownIofo.是否是播放任务)
if (!DownIofo.是否是播放任务)
{
//DownIofo.继承.合并后的文件路径 = 下载完成合并FLV(DownIofo.继承.继承的下载文件路径, DownIofo.文件保存路径, false);
if(DownIofo.继承.待合并文件列表.Count==0)
{
DownIofo.继承.待合并文件列表.Add(DownIofo.继承.继承的下载文件路径);
InfoLog.InfoPrintf($"{DownIofo.房间_频道号}:{DownIofo.主播名称}下载任务续下,历史文件加入待合并文件列表:{DownIofo.继承.继承的下载文件路径}", InfoLog.InfoClass.下载必要提示);
}
DownIofo.继承.待合并文件列表.Add(DownIofo.文件保存路径);
InfoLog.InfoPrintf($"{DownIofo.房间_频道号}:{DownIofo.主播名称}下载任务续下,历史文件加入待合并文件列表:{DownIofo.文件保存路径}", InfoLog.InfoClass.下载必要提示);
//if (!string.IsNullOrEmpty(DownIofo.继承.合并后的文件路径))
//{
// DownIofo.文件保存路径 = DownIofo.继承.合并后的文件路径;
//}
}
DownIofo.下载状态 = false;
Downloader 重连下载对象 = Downloader.新建下载对象(
Downloader 重连下载对象 = Downloader.新建下载对象(
DownIofo.平台,
DownIofo.房间_频道号,
bilibili.根据房间号获取房间信息.获取标题(DownIofo.房间_频道号),
Expand Down

0 comments on commit 17a5768

Please sign in to comment.