mirror of https://github.com/Sonarr/Sonarr
Added todo to remove hack to handle shows that contain numbers only (added in last commit).
This commit is contained in:
parent
35abb74993
commit
ec78c5be3e
|
@ -381,6 +381,7 @@ namespace NzbDrone.Core
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public static string NormalizeTitle(string title)
|
public static string NormalizeTitle(string title)
|
||||||
{
|
{
|
||||||
|
//Todo: Find a better way to do this hack
|
||||||
if (title == "90210" || title == "24")
|
if (title == "90210" || title == "24")
|
||||||
return title;
|
return title;
|
||||||
return NormalizeRegex.Replace(title, String.Empty).ToLower();
|
return NormalizeRegex.Replace(title, String.Empty).ToLower();
|
||||||
|
|
Loading…
Reference in New Issue