1、nfo文件优化,修复演员信息(视频作者)

2、图文视频,因版权原因无法下载的音频,系统配置新增默认音频上传入口,上传成功后,后面在遇到无法下载音频时,将用该音频进行图文视频合成的音频数据
3、增加动态视频合成配置。
4、容器重启后,手机端会连续跳转登录页很多次的bug修复
5、其他优化
This commit is contained in:
jianzhichu
2026-01-12 22:13:59 +08:00
parent 858a21ec9e
commit e32d783de4
21 changed files with 1286 additions and 483 deletions
+15
View File
@@ -99,5 +99,20 @@ namespace dy.net.utils
// 忽略文化差异,仅按字符编码匹配
return Regex.IsMatch(input, pattern, RegexOptions.None);
}
/// <summary>
/// 去掉动态视频001_002
/// </summary>
/// <param name="fileName"></param>
/// <returns></returns>
public static string RemoveNumberSuffix(string fileName)
{
if (string.IsNullOrEmpty(fileName))
return fileName;
// 核心正则:只匹配「_+数字」且后面紧跟.的情况
var pattern = @"_\d+(?=\.)";
return Regex.Replace(fileName, pattern, "");
}
}
}