Fix filename truncation when bracketed tags appear mid-filename

This commit is contained in:
tyage
2026-02-12 00:23:44 +09:00
parent 8b5914001d
commit 1c2f08bc17
3 changed files with 5 additions and 3 deletions

View File

@@ -44,7 +44,7 @@ namespace Emby.Naming.Video
var match = expression.Match(name);
if (match.Success && match.Groups.TryGetValue("cleaned", out var cleaned))
{
newName = cleaned.Value;
newName = cleaned.Value.Trim();
return true;
}