Merge pull request #3244 from jellyfin/custom-repos

Initial implementation for custom plugin repositories
This commit is contained in:
dkanada
2020-06-22 22:08:43 +09:00
committed by GitHub
10 changed files with 128 additions and 35 deletions

View File

@@ -40,6 +40,14 @@ namespace MediaBrowser.Common.Updates
/// </summary>
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>