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:
parent
dd8fbb438f
commit
3f8bb24b75
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user