diff --git a/sdk/developer.scrypted.app b/sdk/developer.scrypted.app index 41227e437..285ba01d8 160000 --- a/sdk/developer.scrypted.app +++ b/sdk/developer.scrypted.app @@ -1 +1 @@ -Subproject commit 41227e437db567273386cbd496a8e4d0901508bc +Subproject commit 285ba01d8d7d4e309cc229a08126614e1994b354 diff --git a/sdk/types/scrypted_python/scrypted_sdk/types.py b/sdk/types/scrypted_python/scrypted_sdk/types.py index 462ca2004..e753270e4 100644 --- a/sdk/types/scrypted_python/scrypted_sdk/types.py +++ b/sdk/types/scrypted_python/scrypted_sdk/types.py @@ -183,6 +183,7 @@ class ScryptedInterface(str, Enum): VideoClips = "VideoClips" VideoFrameGenerator = "VideoFrameGenerator" VideoRecorder = "VideoRecorder" + VideoRecorderManagement = "VideoRecorderManagement" class ScryptedMimeTypes(str, Enum): @@ -380,6 +381,12 @@ class ColorRgb(TypedDict): g: float r: float +class DeleteRecordingStreamOptions(TypedDict): + + destination: MediaStreamDestination + duration: float + startTime: float + class Device(TypedDict): """Device objects are created by DeviceProviders when new devices are discover and synced to Scrypted via the DeviceManager.""" @@ -1422,6 +1429,12 @@ class VideoRecorder: pass +class VideoRecorderManagement: + + async def deleteRecordingStream(self, options: DeleteRecordingStreamOptions) -> None: + pass + + class Logger: """Logger is exposed via log.* to allow writing to the Scrypted log.""" @@ -1714,6 +1727,7 @@ class ScryptedInterfaceMethods(str, Enum): getRecordingStreamCurrentTime = "getRecordingStreamCurrentTime" getRecordingStreamOptions = "getRecordingStreamOptions" getRecordingStreamThumbnail = "getRecordingStreamThumbnail" + deleteRecordingStream = "deleteRecordingStream" ptzCommand = "ptzCommand" getRecordedEvents = "getRecordedEvents" getVideoClip = "getVideoClip" @@ -2488,6 +2502,13 @@ ScryptedInterfaceDescriptors = { ], "properties": [] }, + "VideoRecorderManagement": { + "name": "VideoRecorderManagement", + "methods": [ + "deleteRecordingStream" + ], + "properties": [] + }, "PanTiltZoom": { "name": "PanTiltZoom", "methods": [ diff --git a/sdk/types/src/types.input.ts b/sdk/types/src/types.input.ts index 2ddac4d1e..a7de7d41d 100644 --- a/sdk/types/src/types.input.ts +++ b/sdk/types/src/types.input.ts @@ -1953,6 +1953,7 @@ export enum ScryptedInterface { Display = "Display", VideoCamera = "VideoCamera", VideoRecorder = "VideoRecorder", + VideoRecorderManagement = "VideoRecorderManagement", PanTiltZoom = "PanTiltZoom", EventRecorder = "EventRecorder", VideoClips = "VideoClips",