aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Filters/WebsocketModelFilter.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-10-01 09:39:57 -0600
committercrobibero <cody@robibe.ro>2020-10-01 09:39:57 -0600
commit4a3e0062f9e4c353a79f5cba74a0499aa68565c8 (patch)
tree5d89177c7e2bb81f7ffa3cb0b5e3645481321414 /Jellyfin.Server/Filters/WebsocketModelFilter.cs
parent5ee6f4920497ec9f4d6c305e9d0828d21074a773 (diff)
Add missing PlaystateRequest and remove additional GroupUpdate types
Diffstat (limited to 'Jellyfin.Server/Filters/WebsocketModelFilter.cs')
-rw-r--r--Jellyfin.Server/Filters/WebsocketModelFilter.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/Jellyfin.Server/Filters/WebsocketModelFilter.cs b/Jellyfin.Server/Filters/WebsocketModelFilter.cs
index 90fca5583..81dfdfba7 100644
--- a/Jellyfin.Server/Filters/WebsocketModelFilter.cs
+++ b/Jellyfin.Server/Filters/WebsocketModelFilter.cs
@@ -19,13 +19,12 @@ namespace Jellyfin.Server.Filters
context.SchemaGenerator.GenerateSchema(typeof(LibraryUpdateInfo), context.SchemaRepository);
context.SchemaGenerator.GenerateSchema(typeof(IPlugin), context.SchemaRepository);
context.SchemaGenerator.GenerateSchema(typeof(PlayRequest), context.SchemaRepository);
+ context.SchemaGenerator.GenerateSchema(typeof(PlaystateRequest), context.SchemaRepository);
context.SchemaGenerator.GenerateSchema(typeof(TimerEventInfo), context.SchemaRepository);
context.SchemaGenerator.GenerateSchema(typeof(SendCommand), context.SchemaRepository);
context.SchemaGenerator.GenerateSchema(typeof(GeneralCommandType), context.SchemaRepository);
- context.SchemaGenerator.GenerateSchema(typeof(GroupUpdate<string>), context.SchemaRepository);
- context.SchemaGenerator.GenerateSchema(typeof(GroupUpdate<PlayRequest>), context.SchemaRepository);
- context.SchemaGenerator.GenerateSchema(typeof(GroupUpdate<long>), context.SchemaRepository);
+ context.SchemaGenerator.GenerateSchema(typeof(GroupUpdate<>), context.SchemaRepository);
}
}
}