1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-01-10 23:29:53 +02: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();