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