aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Updates
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2020-06-04 23:57:57 +0900
committerdkanada <dkanada@users.noreply.github.com>2020-06-04 23:57:57 +0900
commitb7f4b8e2b5a61e3784b3e5dc68c1123bddbff264 (patch)
tree52973ae8430ceeb62bb877a0fd6680d518d3b6b8 /MediaBrowser.Common/Updates
parent836741f2aa6d2140051a50f746602e4b8c63a231 (diff)
initial implementation for custom plugin repositories
Diffstat (limited to 'MediaBrowser.Common/Updates')
-rw-r--r--MediaBrowser.Common/Updates/IInstallationManager.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/MediaBrowser.Common/Updates/IInstallationManager.cs b/MediaBrowser.Common/Updates/IInstallationManager.cs
index 965ffe0ec2..a5025aee96 100644
--- a/MediaBrowser.Common/Updates/IInstallationManager.cs
+++ b/MediaBrowser.Common/Updates/IInstallationManager.cs
@@ -41,6 +41,14 @@ namespace MediaBrowser.Common.Updates
IEnumerable<InstallationInfo> CompletedInstallations { get; }
/// <summary>
+ /// Parses a plugin manifest at the supplied URL.
+ /// </summary>
+ /// <param name="manifest">The URL to query.</param>
+ /// <param name="cancellationToken">The cancellation token.</param>
+ /// <returns>Task{IReadOnlyList{PackageInfo}}.</returns>
+ Task<IEnumerable<PackageInfo>> GetPackages(string manifest, CancellationToken cancellationToken = default);
+
+ /// <summary>
/// Gets all available packages.
/// </summary>
/// <param name="cancellationToken">The cancellation token.</param>