aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Updates/InstallationManager.cs
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2019-12-12 15:40:22 +0900
committerGitHub <noreply@github.com>2019-12-12 15:40:22 +0900
commit96a5dda9ffe714e170e97bb93d72d68ed55791bb (patch)
tree7ee8e3c7e6321bb1d56db579e1c8f68126c4d778 /Emby.Server.Implementations/Updates/InstallationManager.cs
parent9744f5aee343a62f09ca71957aecfaa7d0a46842 (diff)
parentec70f3ac75dad10b076a475bbec6d71ded9881a6 (diff)
Merge pull request #2109 from Bond-009/plugin
Fix plugin installation and correct api behaviour
Diffstat (limited to 'Emby.Server.Implementations/Updates/InstallationManager.cs')
-rw-r--r--Emby.Server.Implementations/Updates/InstallationManager.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Updates/InstallationManager.cs b/Emby.Server.Implementations/Updates/InstallationManager.cs
index 09a5a0dca..2705e0628 100644
--- a/Emby.Server.Implementations/Updates/InstallationManager.cs
+++ b/Emby.Server.Implementations/Updates/InstallationManager.cs
@@ -141,8 +141,7 @@ namespace Emby.Server.Implementations.Updates
if (guid != Guid.Empty)
{
- var strGuid = guid.ToString("N", CultureInfo.InvariantCulture);
- availablePackages = availablePackages.Where(x => x.guid.Equals(strGuid, StringComparison.OrdinalIgnoreCase));
+ availablePackages = availablePackages.Where(x => Guid.Parse(x.guid) == guid);
}
return availablePackages;