Fixed: Don't ignore number only aliases

This commit is contained in:
Mark McDowall 2021-04-19 21:58:10 -07:00
parent dd8fbb438f
commit 3f8bb24b75
1 changed files with 1 additions and 12 deletions

View File

@ -204,18 +204,7 @@ namespace NzbDrone.Core.DataAugmentation.Xem
{ {
var mappings = _xemProxy.GetSceneTvdbNames(); var mappings = _xemProxy.GetSceneTvdbNames();
return mappings.Where(m => return mappings;
{
int id;
if (int.TryParse(m.Title, out id))
{
_logger.Debug("Skipping all numeric name: {0} for {1}", m.Title, m.TvdbId);
return false;
}
return true;
}).ToList();
} }
public void Handle(SeriesUpdatedEvent message) public void Handle(SeriesUpdatedEvent message)