mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-20 21:55:03 -04:00
Fix for importing movie folders with the at the end.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user