So currently if a series exists then we will correctly monitor the episodes selected.
TODO: When the series doesn't exist in sonarr we need to add the series and then wait for the episode metadata to be populated.
Also need to add in all of the regular checks and notification e.g. whitelist etc.
(exception,timespan)=>Log.Error(exception,"Exception when calling VerifyShowHasLoaded for SR, Retrying {0}",timespan));
varpolicy=RetryHandler.RetryAndWaitPolicy((exception,timespan)=>Log.Error(exception,"Exception when calling VerifyShowHasLoaded for SR, Retrying {0}",timespan),null);
(exception,timespan)=>Log.Error(exception,"Exception when calling AddSeries for SR, Retrying {0}",timespan));
varpolicy=RetryHandler.RetryAndWaitPolicy((exception,timespan)=>Log.Error(exception,"Exception when calling AddSeries for SR, Retrying {0}",timespan),null);
(exception,timespan)=>Log.Error(exception,"Exception when calling Ping for SR, Retrying {0}",timespan));
varpolicy=RetryHandler.RetryAndWaitPolicy((exception,timespan)=>Log.Error(exception,"Exception when calling Ping for SR, Retrying {0}",timespan),null);
(exception,timespan)=>Log.Error(exception,"Exception when calling AddSeason for SR, Retrying {0}",timespan));
varpolicy=RetryHandler.RetryAndWaitPolicy((exception,timespan)=>Log.Error(exception,"Exception when calling AddSeason for SR, Retrying {0}",timespan),null);
(exception,timespan)=>Log.Error(exception,"Exception when calling GetShows for SR, Retrying {0}",timespan));
varpolicy=RetryHandler.RetryAndWaitPolicy((exception,timespan)=>Log.Error(exception,"Exception when calling GetShows for SR, Retrying {0}",timespan),new[]{TimeSpan.FromSeconds(5),TimeSpan.FromSeconds(10),TimeSpan.FromSeconds(30)});
},(exception,timespan)=>Log.Error(exception,"Exception when calling GetProfiles for Sonarr, Retrying {0}",timespan));
varpolicy=RetryHandler.RetryAndWaitPolicy((exception,timespan)=>Log.Error(exception,"Exception when calling GetProfiles for Sonarr, Retrying {0}",timespan),newTimeSpan[]{
},(exception,timespan)=>Log.Error(exception,"Exception when calling AddSeries for Sonarr, Retrying {0}",timespan));
varpolicy=RetryHandler.RetryAndWaitPolicy((exception,timespan)=>Log.Error(exception,"Exception when calling AddSeries for Sonarr, Retrying {0}",timespan),newTimeSpan[]{
},(exception,timespan)=>Log.Error(exception,"Exception when calling SystemStatus for Sonarr, Retrying {0}",timespan));
varpolicy=RetryHandler.RetryAndWaitPolicy((exception,timespan)=>Log.Error(exception,"Exception when calling SystemStatus for Sonarr, Retrying {0}",timespan),newTimeSpan[]{
},(exception,timespan)=>Log.Error(exception,"Exception when calling GetSeries for Sonarr, Retrying {0}",timespan));
varpolicy=RetryHandler.RetryAndWaitPolicy((exception,timespan)=>Log.Error(exception,"Exception when calling GetSeries for Sonarr, Retrying {0}",timespan),newTimeSpan[]{