diff --git a/src/Ombi.Api.Sonarr/SonarrApi.cs b/src/Ombi.Api.Sonarr/SonarrApi.cs index 5bd71eaad..4b5be973d 100644 --- a/src/Ombi.Api.Sonarr/SonarrApi.cs +++ b/src/Ombi.Api.Sonarr/SonarrApi.cs @@ -45,7 +45,10 @@ namespace Ombi.Api.Sonarr foreach (var s in results) { - s.seasons.ToList().RemoveAt(0); + if (s.seasons.Length > 0) + { + s.seasons.ToList().RemoveAt(0); + } } return results; }