aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Services/ServiceExec.cs
diff options
context:
space:
mode:
authorDavid <daullmer@gmail.com>2020-07-22 11:02:44 +0200
committerDavid <daullmer@gmail.com>2020-07-22 11:02:44 +0200
commit90039e1ad32dba8dca3b98901d2dcec1c82aeea2 (patch)
treecafee5bd19816e5242c48acaa7e8c31b8a907278 /Emby.Server.Implementations/Services/ServiceExec.cs
parenteae665a9c410540bdbf3880e340fa1a7fb19be92 (diff)
parent5b57c81ee14ce585161b9ac331e6e3528826b815 (diff)
Merge remote-tracking branch 'remotes/jellyfin/api-migration' into api-audio
# Conflicts: # Emby.Server.Implementations/ApplicationHost.cs # Jellyfin.Api/Helpers/TranscodingJobHelper.cs
Diffstat (limited to 'Emby.Server.Implementations/Services/ServiceExec.cs')
-rw-r--r--Emby.Server.Implementations/Services/ServiceExec.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Services/ServiceExec.cs b/Emby.Server.Implementations/Services/ServiceExec.cs
index 606f2a240..cbc4b754d 100644
--- a/Emby.Server.Implementations/Services/ServiceExec.cs
+++ b/Emby.Server.Implementations/Services/ServiceExec.cs
@@ -42,11 +42,15 @@ namespace Emby.Server.Implementations.Services
}
if (mi.GetParameters().Length != 1)
+ {
continue;
+ }
var actionName = mi.Name;
if (!AllVerbs.Contains(actionName, StringComparer.OrdinalIgnoreCase))
+ {
continue;
+ }
list.Add(mi);
}
@@ -63,7 +67,10 @@ namespace Emby.Server.Implementations.Services
{
foreach (var actionCtx in actions)
{
- if (execMap.ContainsKey(actionCtx.Id)) continue;
+ if (execMap.ContainsKey(actionCtx.Id))
+ {
+ continue;
+ }
execMap[actionCtx.Id] = actionCtx;
}