|
|
@ -180,12 +180,7 @@ namespace Ombi.Core.Senders
|
|
|
|
|
|
|
|
|
|
|
|
// Are we using v3 sonarr?
|
|
|
|
// Are we using v3 sonarr?
|
|
|
|
var sonarrV3 = s.V3;
|
|
|
|
var sonarrV3 = s.V3;
|
|
|
|
var languageProfileId = 0;
|
|
|
|
var languageProfileId = s.LanguageProfile;
|
|
|
|
if (sonarrV3)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
languageProfileId = s.LanguageProfile;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try
|
|
|
|
try
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -216,6 +211,11 @@ namespace Ombi.Core.Senders
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (sonarrV3)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
newSeries.languageProfileId = languageProfileId;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Montitor the correct seasons,
|
|
|
|
// Montitor the correct seasons,
|
|
|
|
// If we have that season in the model then it's monitored!
|
|
|
|
// If we have that season in the model then it's monitored!
|
|
|
|
var seasonsToAdd = GetSeasonsToCreate(model);
|
|
|
|
var seasonsToAdd = GetSeasonsToCreate(model);
|
|
|
|