Working on getting the Sonarr component to work correctly.

pull/83/head
Shannon Barrett 9 years ago
parent c9d2b8fc13
commit 55addbee0a

@ -64,6 +64,8 @@ namespace PlexRequests.Api
}; };
var options = new SonarrAddSeries(); var options = new SonarrAddSeries();
if (seasons.Length == 0)
{
if (episodes) if (episodes)
{ {
options.addOptions = new AddOptions options.addOptions = new AddOptions
@ -82,6 +84,7 @@ namespace PlexRequests.Api
ignoreEpisodesWithoutFiles = false ignoreEpisodesWithoutFiles = false
}; };
} }
}
options.seasonFolder = seasonFolders; options.seasonFolder = seasonFolders;
options.title = title; options.title = title;
options.qualityProfileId = qualityId; options.qualityProfileId = qualityId;

Loading…
Cancel
Save