From ebb9e53ada156249ed8e8cfd1de74097d3eb49d7 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 2 Aug 2022 16:05:44 +0200 Subject: Add plugin hook on transcoding resolutions building --- shared/models/plugins/server/server-hook.model.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'shared/models') diff --git a/shared/models/plugins/server/server-hook.model.ts b/shared/models/plugins/server/server-hook.model.ts index a8e31f576..08da95177 100644 --- a/shared/models/plugins/server/server-hook.model.ts +++ b/shared/models/plugins/server/server-hook.model.ts @@ -93,7 +93,10 @@ export const serverFilterHookObject = { 'filter:html.embed.video-playlist.allowed.result': true, 'filter:job-queue.process.params': true, - 'filter:job-queue.process.result': true + 'filter:job-queue.process.result': true, + + 'filter:transcoding.manual.lower-resolutions-to-transcode.result': true, + 'filter:transcoding.auto.lower-resolutions-to-transcode.result': true } export type ServerFilterHookName = keyof typeof serverFilterHookObject -- cgit v1.2.3