mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-03-05 13:20:20 -05:00
Remove English limitation for aliases
This commit is contained in:
@@ -62,7 +62,6 @@ namespace NzbDrone.Core.DataAugmentation.Scene
|
||||
var names = mappings.Where(n => seasonNumbers.Contains(n.SeasonNumber ?? -1) ||
|
||||
sceneSeasonNumbers.Contains(n.SceneSeasonNumber ?? -1) ||
|
||||
((n.SeasonNumber ?? -1) == -1 && (n.SceneSeasonNumber ?? -1) == -1 && n.SceneOrigin != "tvdb"))
|
||||
.Where(n => IsEnglish(n.SearchTerm))
|
||||
.Select(n => n.SearchTerm)
|
||||
.Distinct(StringComparer.InvariantCultureIgnoreCase)
|
||||
.ToList();
|
||||
@@ -274,11 +273,6 @@ namespace NzbDrone.Core.DataAugmentation.Scene
|
||||
return normalCandidates;
|
||||
}
|
||||
|
||||
private bool IsEnglish(string title)
|
||||
{
|
||||
return title.All(c => c <= 255);
|
||||
}
|
||||
|
||||
public void Handle(SeriesRefreshStartingEvent message)
|
||||
{
|
||||
if (message.ManualTrigger && (_findByTvdbIdCache.IsExpired(TimeSpan.FromMinutes(1)) || !_updatedAfterStartup))
|
||||
|
||||
Reference in New Issue
Block a user