1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-23 16:32:48 +00:00

Replace period with space in EPR.SeriesTitle

This commit is contained in:
Mark McDowall 2012-12-19 22:49:13 -08:00
parent eebb086c60
commit 95dbce75dc
2 changed files with 2 additions and 1 deletions

View file

@ -8,6 +8,7 @@ namespace NzbDrone.Core.Model
public class EpisodeParseResult
{
public string SeriesTitle { get; set; }
public string CleanTitle
{
get

View file

@ -150,7 +150,7 @@ internal static EpisodeParseResult ParseTitle(string title)
private static EpisodeParseResult ParseMatchCollection(MatchCollection matchCollection)
{
var seriesName = matchCollection[0].Groups["title"].Value;
var seriesName = matchCollection[0].Groups["title"].Value.Replace('.', ' ');
int airyear;
Int32.TryParse(matchCollection[0].Groups["airyear"].Value, out airyear);