|
|
@ -21,15 +21,10 @@ namespace MediaBrowser.Api.HttpHandlers
|
|
|
|
Name = p.Name,
|
|
|
|
Name = p.Name,
|
|
|
|
Enabled = p.Enabled,
|
|
|
|
Enabled = p.Enabled,
|
|
|
|
DownloadToUI = p.DownloadToUI,
|
|
|
|
DownloadToUI = p.DownloadToUI,
|
|
|
|
Version = p.Version
|
|
|
|
Version = p.Version.ToString()
|
|
|
|
};
|
|
|
|
};
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
if (QueryString["uionly"] == "1")
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
plugins = plugins.Where(p => p.DownloadToUI);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return Task.FromResult<IEnumerable<PluginInfo>>(plugins);
|
|
|
|
return Task.FromResult<IEnumerable<PluginInfo>>(plugins);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|