|
|
@ -120,13 +120,11 @@ namespace NzbDrone.Core.ImportLists.Radarr
|
|
|
|
|
|
|
|
|
|
|
|
if (action == "getRootFolders")
|
|
|
|
if (action == "getRootFolders")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Settings.Validate().Filter("ApiKey").ThrowOnError();
|
|
|
|
var remoteRootFolders = _radarrV3Proxy.GetRootFolders(Settings);
|
|
|
|
|
|
|
|
|
|
|
|
var remoteRootfolders = _radarrV3Proxy.GetRootFolders(Settings);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return new
|
|
|
|
return new
|
|
|
|
{
|
|
|
|
{
|
|
|
|
options = remoteRootfolders.OrderBy(d => d.Path, StringComparer.InvariantCultureIgnoreCase)
|
|
|
|
options = remoteRootFolders.OrderBy(d => d.Path, StringComparer.InvariantCultureIgnoreCase)
|
|
|
|
.Select(d => new
|
|
|
|
.Select(d => new
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Value = d.Path,
|
|
|
|
Value = d.Path,
|
|
|
|