Fixed the issue where we were marking the whole season as wanted in Sonarr rather than the individual episode #2629

pull/2655/head
TidusJar 6 years ago
parent b56b68191f
commit 3de88be16c

@ -355,7 +355,7 @@ namespace Ombi.Core.Senders
var sea = new Season
{
seasonNumber = i,
monitored = model.SeasonRequests.Any(x => x.SeasonNumber == index && x.SeasonNumber != 0)
monitored = false
};
seasonsToUpdate.Add(sea);
}

@ -174,7 +174,7 @@ namespace Ombi.Schedule.Processor
var client = new GitHubClient(Octokit.ProductHeaderValue.Parse("OmbiV3"));
var releases = await client.Repository.Release.GetAll("tidusjar", "ombi");
var latest = releases.FirstOrDefault(x => x.TagName == releaseTag);
var latest = releases.FirstOrDefault(x => x.TagName.Equals(releaseTag, StringComparison.InvariantCultureIgnoreCase));
if (latest.Name.Contains("V2", CompareOptions.IgnoreCase))
{
latest = null;

Loading…
Cancel
Save