specify plugin repo on install

This commit is contained in:
crobibero
2020-07-17 09:08:29 -06:00
parent 7e53bc5ec5
commit 2b5d515de7
3 changed files with 26 additions and 1 deletions

View File

@@ -161,7 +161,12 @@ namespace Emby.Server.Implementations.Updates
var result = new List<PackageInfo>();
foreach (RepositoryInfo repository in _config.Configuration.PluginRepositories)
{
result.AddRange(await GetPackages(repository.Url, cancellationToken).ConfigureAwait(true));
foreach (var package in await GetPackages(repository.Url, cancellationToken).ConfigureAwait(true))
{
package.repositoryName = repository.Name;
package.repositoryUrl = repository.Url;
result.Add(package);
}
}
return result;