mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 17:59:14 +00:00
Adding seasons to series will also unmonitor season 0
This commit is contained in:
parent
feda4a9b67
commit
6057bf187d
2 changed files with 5 additions and 1 deletions
|
@ -43,6 +43,11 @@ private void ConvertSeasons(IDbConnection conn, IDbTransaction tran)
|
||||||
int seasonNumber = seasonReader.GetInt32(0);
|
int seasonNumber = seasonReader.GetInt32(0);
|
||||||
bool monitored = seasonReader.GetBoolean(1);
|
bool monitored = seasonReader.GetBoolean(1);
|
||||||
|
|
||||||
|
if (seasonNumber == 0)
|
||||||
|
{
|
||||||
|
monitored = false;
|
||||||
|
}
|
||||||
|
|
||||||
seasons.Add(new { seasonNumber, monitored });
|
seasons.Add(new { seasonNumber, monitored });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -71,7 +71,6 @@ public void StartServer()
|
||||||
}
|
}
|
||||||
|
|
||||||
throw ex.InnerException;
|
throw ex.InnerException;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue