mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 21:33:15 -07:00
Working on getting the Sonarr component to work correctly.
This commit is contained in:
parent
c9d2b8fc13
commit
55addbee0a
1 changed files with 17 additions and 14 deletions
|
@ -64,23 +64,26 @@ namespace PlexRequests.Api
|
||||||
};
|
};
|
||||||
|
|
||||||
var options = new SonarrAddSeries();
|
var options = new SonarrAddSeries();
|
||||||
if (episodes)
|
if (seasons.Length == 0)
|
||||||
{
|
{
|
||||||
options.addOptions = new AddOptions
|
if (episodes)
|
||||||
{
|
{
|
||||||
ignoreEpisodesWithFiles = true,
|
options.addOptions = new AddOptions
|
||||||
ignoreEpisodesWithoutFiles = true,
|
{
|
||||||
searchForMissingEpisodes = false
|
ignoreEpisodesWithFiles = true,
|
||||||
};
|
ignoreEpisodesWithoutFiles = true,
|
||||||
}
|
searchForMissingEpisodes = false
|
||||||
else
|
};
|
||||||
{
|
}
|
||||||
options.addOptions = new AddOptions
|
else
|
||||||
{
|
{
|
||||||
ignoreEpisodesWithFiles = false,
|
options.addOptions = new AddOptions
|
||||||
searchForMissingEpisodes = true,
|
{
|
||||||
ignoreEpisodesWithoutFiles = false
|
ignoreEpisodesWithFiles = false,
|
||||||
};
|
searchForMissingEpisodes = true,
|
||||||
|
ignoreEpisodesWithoutFiles = false
|
||||||
|
};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
options.seasonFolder = seasonFolders;
|
options.seasonFolder = seasonFolders;
|
||||||
options.title = title;
|
options.title = title;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue