Fix for importing movie folders with the at the end.

pull/74/head
Leonardo Galli 8 years ago
parent f19a1a5960
commit e774e6a038

@ -165,10 +165,10 @@ namespace NzbDrone.Core.MetadataSource.SkyHook
{
if(title.EndsWith(",the"))
{
title = title.Substring(title.Length - 4);
title = title.Substring(0, title.Length - 4);
} else if(title.EndsWith(", the"))
{
title = title.Substring(title.Length - 5);
title = title.Substring(0, title.Length - 5);
}
return title;
}

Loading…
Cancel
Save