mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Fixed the issue where we were marking the whole season as wanted in Sonarr rather than the individual episode #2629
This commit is contained in:
parent
b56b68191f
commit
3de88be16c
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue