diff options
| author | Bond-009 <bond.009@outlook.com> | 2020-09-29 18:24:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-29 18:24:11 +0200 |
| commit | cbf9be9416825814ab8166e715e5b6a937537c94 (patch) | |
| tree | 2a1961274f6bb8f34b22ae1ab3b413646f494f49 /Emby.Server.Implementations/Updates/InstallationManager.cs | |
| parent | 1f44785441448e597e2c08a4a3a6f279e95b75bf (diff) | |
| parent | b7022e8dc17a50012418e0cb7b3066fb842758dd (diff) | |
Merge pull request #3577 from crobibero/package-install-repo
Specify plugin repo on plugin installation
Diffstat (limited to 'Emby.Server.Implementations/Updates/InstallationManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Updates/InstallationManager.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Updates/InstallationManager.cs b/Emby.Server.Implementations/Updates/InstallationManager.cs index 8a6181be6..003cf3c74 100644 --- a/Emby.Server.Implementations/Updates/InstallationManager.cs +++ b/Emby.Server.Implementations/Updates/InstallationManager.cs @@ -155,7 +155,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; |
