mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-06 05:01:13 -07:00
fix(Sonarr): 🐛 Fixed an issue where some seasons were not being monitored correctly in sonarr
#4506
This commit is contained in:
parent
cb8a0ff632
commit
60cfd41f68
2 changed files with 4 additions and 1 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
@ -190,7 +190,8 @@ jobs:
|
|||
if: contains(github.ref, 'develop')
|
||||
with:
|
||||
prerelease: true
|
||||
body: ${{ needs.versioning.outputs.changelog }}
|
||||
generate_release_notes: true
|
||||
# body: ${{ needs.versioning.outputs.changelog }}
|
||||
name: ${{ needs.versioning.outputs.tag }}
|
||||
tag_name: ${{ needs.versioning.outputs.tag }}
|
||||
files: |
|
||||
|
|
|
@ -357,6 +357,8 @@ namespace Ombi.Core.Senders
|
|||
episodesToUpdate.Add(sonarrEp);
|
||||
}
|
||||
}
|
||||
|
||||
existingSeason = result.seasons.FirstOrDefault(x => x.seasonNumber == season.SeasonNumber);
|
||||
var sonarrEpisodeList = sonarrEpList.Where(x => x.seasonNumber == season.SeasonNumber).ToList();
|
||||
var sonarrEpCount = sonarrEpisodeList.Count;
|
||||
var ourRequestCount = season.Episodes.Count;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue