mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-10 15:32:37 -07:00
Finished reworking the Sonarr Integration. Seems to be working as expected, faster and most stable. It's Not A Toomah!
This commit is contained in:
parent
858171e92a
commit
4836ab7e6c
3 changed files with 14 additions and 15 deletions
|
@ -1120,7 +1120,8 @@ namespace Ombi.UI.Modules
|
|||
RequestedUsers = new List<string> { Username },
|
||||
Issues = IssueState.None,
|
||||
ImdbId = showInfo.externals?.imdb ?? string.Empty,
|
||||
TvDbId = showId.ToString()
|
||||
TvDbId = showId.ToString(),
|
||||
ProviderId = showId
|
||||
};
|
||||
|
||||
var totalSeasons = showInfo.Season.GroupBy(x => x.SeasonNumber);
|
||||
|
@ -1886,8 +1887,8 @@ namespace Ombi.UI.Modules
|
|||
{
|
||||
model.Approved = true;
|
||||
var s = await sonarrSettings;
|
||||
//var sender = new TvSenderV2(SonarrApi, SickrageApi, Cache);
|
||||
var sender = new TvSenderOld(SonarrApi, SickrageApi, Cache);
|
||||
var sender = new TvSenderV2(SonarrApi, SickrageApi, Cache);
|
||||
//var sender = new TvSenderOld(SonarrApi, SickrageApi, Cache);
|
||||
if (s.Enabled)
|
||||
{
|
||||
var result = await sender.SendToSonarr(s, model);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue