From cb8b90ebf3443f3955f293fea8a90235a9beeebe Mon Sep 17 00:00:00 2001 From: bryce <50299051+bryce-seifert@users.noreply.github.com> Date: Thu, 23 Oct 2025 16:24:42 -0700 Subject: [PATCH 1/2] chore: update types to obs-websocket 5.6.3 --- src/types.ts | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) diff --git a/src/types.ts b/src/types.ts index 5f50a25..465d4f7 100644 --- a/src/types.ts +++ b/src/types.ts @@ -491,6 +491,10 @@ export interface OBSEventTypes { * The unversioned kind of input (aka no `_v2` stuff) */ unversionedInputKind: string; + /** + * Bitflag value for the caps that an input supports. See obs_source_info.output_flags in the libobs docs + */ + inputKindCaps: number; /** * The settings configured to the input when it was created */ @@ -1713,6 +1717,62 @@ export interface OBSRequestTypes { */ inputAudioTracks: JsonObject; }; + GetInputDeinterlaceMode: { + /** + * Name of the input + * @defaultValue Unknown + */ + inputName?: string; + /** + * UUID of the input + * @defaultValue Unknown + */ + inputUuid?: string; + }; + SetInputDeinterlaceMode: { + /** + * Name of the input + * @defaultValue Unknown + */ + inputName?: string; + /** + * UUID of the input + * @defaultValue Unknown + */ + inputUuid?: string; + /** + * Deinterlace mode for the input + */ + inputDeinterlaceMode: string; + }; + GetInputDeinterlaceFieldOrder: { + /** + * Name of the input + * @defaultValue Unknown + */ + inputName?: string; + /** + * UUID of the input + * @defaultValue Unknown + */ + inputUuid?: string; + }; + SetInputDeinterlaceFieldOrder: { + /** + * Name of the input + * @defaultValue Unknown + */ + inputName?: string; + /** + * UUID of the input + * @defaultValue Unknown + */ + inputUuid?: string; + /** + * Deinterlace field order for the input + */ + inputDeinterlaceFieldOrder: string; + }; GetInputPropertiesListPropertyItems: { /** * Name of the input @@ -2863,6 +2923,20 @@ export interface OBSResponseTypes { inputAudioTracks: JsonObject; }; SetInputAudioTracks: undefined; + GetInputDeinterlaceMode: { + /** + * Deinterlace mode of the input + */ + inputDeinterlaceMode: string; + }; + SetInputDeinterlaceMode: undefined; + GetInputDeinterlaceFieldOrder: { + /** + * Deinterlace field order of the input + */ + inputDeinterlaceFieldOrder: string; + }; + SetInputDeinterlaceFieldOrder: undefined; GetInputPropertiesListPropertyItems: { /** * Array of items in the list property From 2f1bd8c2876426985e483b0237855f3cc03e7c85 Mon Sep 17 00:00:00 2001 From: bryce <50299051+bryce-seifert@users.noreply.github.com> Date: Thu, 23 Oct 2025 16:27:55 -0700 Subject: [PATCH 2/2] chore: remove old temp fix This is fixed upstream https://github.com/obsproject/obs-websocket/commit/35e3e278bffc1442196543d43089f29c74df53aa --- scripts/build-types.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/scripts/build-types.ts b/scripts/build-types.ts index 2e6701a..56df998 100644 --- a/scripts/build-types.ts +++ b/scripts/build-types.ts @@ -94,13 +94,6 @@ const {body: protocol} = await got(`https://raw.githubusercon responseType: 'json', }); -// fix oopsie in protocol.json (5.0.1) -protocol.requests.forEach(req => { - if (req.requestType === 'GetGroupItemList') { - req.requestType = 'GetGroupSceneItemList'; - } -}); - const ENUMS: Record = {}; protocol.enums.forEach(({enumType, enumIdentifiers}) => { ENUMS[enumType] = enumIdentifiers;