1、删除视频,永不下载

2、去重-优先级
3、视频合成优化
4、其他优化
This commit is contained in:
jianzhichu
2025-12-03 23:43:10 +08:00
parent bd3a103f8f
commit 25e2a22dd2
29 changed files with 1023 additions and 702 deletions
+41 -24
View File
@@ -3,34 +3,51 @@
/// <summary>
/// 任务配置实体
/// </summary>
//public class JobConfig
//{
// public JobConfig(Type jobType, string jobKey, string triggerKey, string description)
// {
// JobType = jobType ?? throw new ArgumentNullException(nameof(jobType));
// JobKey = jobKey ?? throw new ArgumentNullException(nameof(jobKey));
// TriggerKey = triggerKey ?? throw new ArgumentNullException(nameof(triggerKey));
// Description = description ?? throw new ArgumentNullException(nameof(description));
// }
// /// <summary>
// /// 任务类型
// /// </summary>
// public Type JobType { get; }
// /// <summary>
// /// 任务Key
// /// </summary>
// public string JobKey { get; }
// /// <summary>
// /// 触发器Key
// /// </summary>
// public string TriggerKey { get; }
// /// <summary>
// /// 任务描述
// /// </summary>
// public string Description { get; }
//}
public class JobConfig
{
public Type JobType { get; }
public string JobKey { get; }
public string TriggerKey { get; }
public string Description { get; }
public JobConfig(Type jobType, string jobKey, string triggerKey, string description)
{
JobType = jobType ?? throw new ArgumentNullException(nameof(jobType));
JobKey = jobKey ?? throw new ArgumentNullException(nameof(jobKey));
TriggerKey = triggerKey ?? throw new ArgumentNullException(nameof(triggerKey));
Description = description ?? throw new ArgumentNullException(nameof(description));
JobType = jobType ?? throw new ArgumentNullException(nameof(jobType), "任务类型不能为空");
JobKey = jobKey ?? throw new ArgumentNullException(nameof(jobKey), "任务Key不能为空");
TriggerKey = triggerKey ?? throw new ArgumentNullException(nameof(triggerKey), "触发器Key不能为空");
Description = description ?? throw new ArgumentNullException(nameof(description), "任务描述不能为空");
}
/// <summary>
/// 任务类型
/// </summary>
public Type JobType { get; }
/// <summary>
/// 任务Key
/// </summary>
public string JobKey { get; }
/// <summary>
/// 触发器Key
/// </summary>
public string TriggerKey { get; }
/// <summary>
/// 任务描述
/// </summary>
public string Description { get; }
}
}