Skip to content

Commit

Permalink
Fixed the issue where we were marking the whole season as wanted in S…
Browse files Browse the repository at this point in the history
…onarr rather than the individual episode #2629
tidusjar committed Nov 14, 2018

Verified

This commit was signed with the committer’s verified signature.
nickvergessen Joas Schilling
1 parent b56b681 commit 3de88be
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Ombi.Core/Senders/TvSender.cs
Original file line number Diff line number Diff line change
@@ -355,7 +355,7 @@ private static List<Season> GetSeasonsToCreate(ChildRequests model)
var sea = new Season
{
seasonNumber = i,
monitored = model.SeasonRequests.Any(x => x.SeasonNumber == index && x.SeasonNumber != 0)
monitored = false
};
seasonsToUpdate.Add(sea);
}
2 changes: 1 addition & 1 deletion src/Ombi.Schedule/Processor/ChangeLogProcessor.cs
Original file line number Diff line number Diff line change
@@ -174,7 +174,7 @@ private async Task GetGitubRelease(Release release, string releaseTag)
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;

0 comments on commit 3de88be

Please sign in to comment.