Working on getting the Sonarr component to work correctly.

This commit is contained in:
Shannon Barrett 2016-03-22 14:15:14 -05:00
commit 55addbee0a

View file

@ -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;