aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/PackageController.cs
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2020-11-21 17:18:19 -0500
committerGitHub <noreply@github.com>2020-11-21 17:18:19 -0500
commitf6c842e7b318b7dca0c69c6e9859723835ff645a (patch)
tree7fcf5fff1fb8eb29fdfb4cba1f6a9b2ee2826011 /Jellyfin.Api/Controllers/PackageController.cs
parent509a4d090031c1fc417b287df8be2660dbfcdd57 (diff)
parent14fc7e6408aa35c7a87470f3cd2fc87971f7c442 (diff)
Merge pull request #4513 from BaronGreenback/LatestPluginSelected
Multi-repository plugins
Diffstat (limited to 'Jellyfin.Api/Controllers/PackageController.cs')
-rw-r--r--Jellyfin.Api/Controllers/PackageController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/PackageController.cs b/Jellyfin.Api/Controllers/PackageController.cs
index 1f797d6bc..83b359766 100644
--- a/Jellyfin.Api/Controllers/PackageController.cs
+++ b/Jellyfin.Api/Controllers/PackageController.cs
@@ -99,7 +99,7 @@ namespace Jellyfin.Api.Controllers
var packages = await _installationManager.GetAvailablePackages().ConfigureAwait(false);
if (!string.IsNullOrEmpty(repositoryUrl))
{
- packages = packages.Where(p => p.repositoryUrl.Equals(repositoryUrl, StringComparison.OrdinalIgnoreCase))
+ packages = packages.Where(p => p.versions.Where(q => q.repositoryUrl.Equals(repositoryUrl, StringComparison.OrdinalIgnoreCase)).Any())
.ToList();
}