|
|
@ -346,7 +346,9 @@ namespace NzbDrone.Core.Organizer
|
|
|
|
public static string CleanFolderName(string name)
|
|
|
|
public static string CleanFolderName(string name)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name = FileNameCleanupRegex.Replace(name, match => match.Captures[0].Value[0].ToString());
|
|
|
|
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)
|
|
|
|
private void AddSeriesTokens(Dictionary<string, Func<TokenMatch, string>> tokenHandlers, Series series)
|
|
|
|