1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-25 01:11:43 +00:00

Added todo to remove hack to handle shows that contain numbers only (added in last commit).

This commit is contained in:
Mark McDowall 2011-08-01 22:15:41 -07:00
parent 35abb74993
commit ec78c5be3e

View file

@ -381,6 +381,7 @@ public static LanguageType ParseLanguage(string title)
/// <returns></returns>
public static string NormalizeTitle(string title)
{
//Todo: Find a better way to do this hack
if (title == "90210" || title == "24")
return title;
return NormalizeRegex.Replace(title, String.Empty).ToLower();