From 3f438563b8454dcdc36dde9c472407f24b19d013 Mon Sep 17 00:00:00 2001 From: geogolem Date: Thu, 9 Mar 2017 13:58:25 -0500 Subject: [PATCH] incorrect check for imdbId prefix --- src/NzbDrone.Core/Parser/Parser.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Parser/Parser.cs b/src/NzbDrone.Core/Parser/Parser.cs index 84e3b3190..3a6edab3c 100644 --- a/src/NzbDrone.Core/Parser/Parser.cs +++ b/src/NzbDrone.Core/Parser/Parser.cs @@ -603,7 +603,7 @@ public static string NormalizeImdbId(string imdbId) { if (imdbId.Length > 2) { - return (imdbId.Substring(2) != "tt" ? $"tt{imdbId}" : imdbId); + return (imdbId.Substring(0,2) != "tt" ? $"tt{imdbId}" : imdbId); } return null;