Replace colon in movie path.

This commit is contained in:
AeonLucid 2017-01-04 18:23:54 +01:00
parent 69786b3968
commit bd241dcbe0
1 changed files with 3 additions and 1 deletions

View File

@ -346,7 +346,9 @@ namespace NzbDrone.Core.Organizer
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)