mirror of
https://github.com/Radarr/Radarr
synced 2026-02-09 00:03:15 +01:00
Fix for importing movie folders with the at the end.
This commit is contained in:
parent
f19a1a5960
commit
e774e6a038
1 changed files with 2 additions and 2 deletions
|
|
@ -165,10 +165,10 @@ private string StripTrailingTheFromTitle(string title)
|
|||
{
|
||||
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…
Reference in a new issue