配置关闭刮削开关

This commit is contained in:
jianzhichu
2026-03-14 19:29:58 +08:00
parent dbf98c781d
commit 21e1aca7b5
5 changed files with 25 additions and 8 deletions
+7 -5
View File
@@ -687,11 +687,11 @@ namespace dy.net.job
//动态视频生成nfo
if (cate != null && (VideoType == VideoTypeEnum.dy_mix || VideoType == VideoTypeEnum.dy_series))
{
NfoFileGenerator.GenerateVideoNfoFile(dynamicVideo, cate.Name);
NfoFileGenerator.GenerateVideoNfoFile(config.CloseNfo,dynamicVideo, cate.Name);
}
else
{
NfoFileGenerator.GenerateVideoNfoFile(dynamicVideo);
NfoFileGenerator.GenerateVideoNfoFile(config.CloseNfo, dynamicVideo);
}
videos.Add(dynamicVideo);
syncCount++;
@@ -1471,10 +1471,12 @@ namespace dy.net.job
{
if (cate != null && (VideoType == VideoTypeEnum.dy_mix || VideoType == VideoTypeEnum.dy_series))
{
NfoFileGenerator.GenerateVideoNfoFile(video, cate.Name);
NfoFileGenerator.GenerateVideoNfoFile(config.CloseNfo, video, cate.Name);
}
else
{
NfoFileGenerator.GenerateVideoNfoFile(config.CloseNfo, video);
}
// 生成NFO文件,动态视频 合成后重新生成,不在这里生成nfo
NfoFileGenerator.GenerateVideoNfoFile(video);
}
return video;