mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
A better fix for #587
This commit is contained in:
parent
512d2131bd
commit
ac51b39636
2 changed files with 10 additions and 1 deletions
|
@ -151,6 +151,15 @@ namespace PlexRequests.UI.Helpers
|
|||
await Task.Delay(TimeSpan.FromSeconds(1));
|
||||
|
||||
series = await GetSonarrSeries(sonarrSettings, model.ProviderId);
|
||||
|
||||
|
||||
// Due to the bug above, we need to make sure all seasons are not monitored
|
||||
foreach (var s in series.seasons)
|
||||
{
|
||||
s.monitored = false;
|
||||
}
|
||||
|
||||
SonarrApi.UpdateSeries(series, sonarrSettings.ApiKey, sonarrSettings.FullUri);
|
||||
}
|
||||
|
||||
if (first ?? false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue