mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
Merge branch 'develop' of https://github.com/galli-leo/Radarr into develop
This commit is contained in:
commit
e68653463d
@ -346,7 +346,9 @@ public static string CleanFileName(string name, bool replace = true)
|
||||
public static string CleanFolderName(string name)
|
||||
{
|
||||
name = FileNameCleanupRegex.Replace(name, match => match.Captures[0].Value[0].ToString());
|
||||
return name.Trim(' ', '.');
|
||||
name = name.Trim(' ', '.');
|
||||
|
||||
return name.Replace(":", " -");
|
||||
}
|
||||
|
||||
private void AddSeriesTokens(Dictionary<string, Func<TokenMatch, string>> tokenHandlers, Series series)
|
||||
|
Loading…
Reference in New Issue
Block a user