1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

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

View File

@ -204,18 +204,7 @@ public List<SceneMapping> GetSceneMappings()
{
var mappings = _xemProxy.GetSceneTvdbNames();
return mappings.Where(m =>
{
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();
return mappings;
}
public void Handle(SeriesUpdatedEvent message)