mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
Finished the emby wizard #865
This commit is contained in:
parent
7294f942d9
commit
1480e980e8
32 changed files with 606 additions and 1398 deletions
|
@ -164,11 +164,24 @@ namespace Ombi.Core.Tv
|
|||
|
||||
for (var i = 1; i <= model.SeasonCount; i++)
|
||||
{
|
||||
var season = new Season
|
||||
Season season;
|
||||
if (model.Episodes.Any(x => x.SeasonNumber == i))
|
||||
{
|
||||
seasonNumber = i,
|
||||
monitored = false // Do not monitor any seasons
|
||||
};
|
||||
season = new Season
|
||||
{
|
||||
seasonNumber = i,
|
||||
monitored = true // Do not monitor any seasons
|
||||
};
|
||||
}
|
||||
else
|
||||
{
|
||||
season = new Season
|
||||
{
|
||||
seasonNumber = i,
|
||||
monitored = false // Do not monitor any seasons
|
||||
};
|
||||
|
||||
}
|
||||
seriesToAdd.seasons.Add(season);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue