diff options
| author | Bond-009 <bond.009@outlook.com> | 2026-03-27 19:21:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-27 19:21:43 +0100 |
| commit | 6a20f948f48f4e97a98af5581142ed82d66d5f23 (patch) | |
| tree | e5190325d6dffe33af5d4f934e2aee4e1d6596a9 /Emby.Naming/Video/CleanStringParser.cs | |
| parent | bd6acb168678c5afcc2252332e3c965681579c3e (diff) | |
| parent | 1c2f08bc173fca586484ece49326d477622ac0bf (diff) | |
Merge pull request #16222 from tyage/fix/filename-truncation-bracketed-tags
Fix filename truncation when bracketed tags appear mid-filename
Diffstat (limited to 'Emby.Naming/Video/CleanStringParser.cs')
| -rw-r--r-- | Emby.Naming/Video/CleanStringParser.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Naming/Video/CleanStringParser.cs b/Emby.Naming/Video/CleanStringParser.cs index a336f8fbd1..f27f8bc0a4 100644 --- a/Emby.Naming/Video/CleanStringParser.cs +++ b/Emby.Naming/Video/CleanStringParser.cs @@ -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; } |
