mirror of https://github.com/Radarr/Radarr
Better folder name.
This commit is contained in:
parent
402a9e1ee0
commit
4a3b2a0014
|
@ -348,7 +348,7 @@ namespace NzbDrone.Core.Organizer
|
||||||
name = FileNameCleanupRegex.Replace(name, match => match.Captures[0].Value[0].ToString());
|
name = FileNameCleanupRegex.Replace(name, match => match.Captures[0].Value[0].ToString());
|
||||||
name = name.Trim(' ', '.');
|
name = name.Trim(' ', '.');
|
||||||
|
|
||||||
return name.Replace(":", " -");
|
return CleanFileName(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void AddSeriesTokens(Dictionary<string, Func<TokenMatch, string>> tokenHandlers, Series series)
|
private void AddSeriesTokens(Dictionary<string, Func<TokenMatch, string>> tokenHandlers, Series series)
|
||||||
|
|
Loading…
Reference in New Issue