mirror of https://github.com/Jackett/Jackett
TransmitheNet: Fix Titles with extension (#343)
This commit is contained in:
parent
3b13fa84a4
commit
ece16d1075
|
@ -101,7 +101,10 @@ namespace Jackett.Indexers
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
title = title.Remove(title.LastIndexOf("."));
|
if (title.Length > 5 && title.Substring(title.Length - 5).Contains("."))
|
||||||
|
{
|
||||||
|
title = title.Remove(title.LastIndexOf("."));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
release.Title = title;
|
release.Title = title;
|
||||||
|
|
Loading…
Reference in New Issue