From d52bde990285abf610172483cb0e4c4755f2c6c8 Mon Sep 17 00:00:00 2001 From: James Crosby Date: Thu, 22 Aug 2024 16:04:01 +0100 Subject: [PATCH] Expose raw flag on media list, so a separate metadata request is not required. --- .../sdk_wireless_camera_control/open_gopro/models/media_list.py | 1 + 1 file changed, 1 insertion(+) diff --git a/demos/python/sdk_wireless_camera_control/open_gopro/models/media_list.py b/demos/python/sdk_wireless_camera_control/open_gopro/models/media_list.py index 3077b226..762045f3 100644 --- a/demos/python/sdk_wireless_camera_control/open_gopro/models/media_list.py +++ b/demos/python/sdk_wireless_camera_control/open_gopro/models/media_list.py @@ -119,6 +119,7 @@ class MediaItem(CustomBaseModel): low_res_video_size: Optional[str] = Field(alias="glrv", default=None) #: Low resolution video size lrv_file_size: Optional[str] = Field(alias="ls", default=None) #: Low resolution file size session_id: Optional[str] = Field(alias="id", default=None) # Media list session identifier + raw: Optional[str] = Field(default=None) #: 1 if photo has raw version, 0 (or omitted) otherwise class GroupedMediaItem(MediaItem):