diff --git a/YoutubeDownloader.Core/Downloading/FileNameTemplate.cs b/YoutubeDownloader.Core/Downloading/FileNameTemplate.cs index 7436f5c63..ee82d8d5b 100644 --- a/YoutubeDownloader.Core/Downloading/FileNameTemplate.cs +++ b/YoutubeDownloader.Core/Downloading/FileNameTemplate.cs @@ -14,8 +14,8 @@ public static string Apply( ) => PathEx.EscapeFileName( template - .Replace("$num", number is not null ? $"[{number}]" : "") .Replace("$numc", number ?? "") + .Replace("$num", number is not null ? $"[{number}]" : "") .Replace("$id", video.Id) .Replace("$title", video.Title) .Replace("$author", video.Author.ChannelTitle)