Log.Debug("Seasons = {0}, out of {1} seasons",seasons.DumpJson(),seasonCount);
@ -86,6 +86,16 @@ namespace PlexRequests.Api
monitored=monitor
};
if(!searchForMissingEpisodes)
{
options.addOptions=newAddOptions
{
searchForMissingEpisodes=false,
ignoreEpisodesWithFiles=true,
ignoreEpisodesWithoutFiles=true
};
}
for(vari=1;i<=seasonCount;i++)
{
varseason=newSeason
@ -107,9 +117,8 @@ namespace PlexRequests.Api
try
{
varpolicy=RetryHandler.RetryAndWaitPolicy((exception,timespan)=>Log.Error(exception,"Exception when calling AddSeries for Sonarr, Retrying {0}",timespan),newTimeSpan[]{