mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-25 22:37:27 -04:00
Fixed: ImdbIds not being padded with zeroes, which messes up matching.
This commit is contained in:
@@ -352,7 +352,8 @@ namespace NzbDrone.Core.Parser
|
||||
{
|
||||
if (imdbId.Length > 2)
|
||||
{
|
||||
return (imdbId.Substring(0,2) != "tt" ? $"tt{imdbId}" : imdbId);
|
||||
imdbId = imdbId.Replace("tt", "").PadLeft(7, '0');
|
||||
return $"tt{imdbId}";
|
||||
}
|
||||
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user