@@ -1100,6 +1100,14 @@ def set_t_bar_position(self, pos, release=None):
1100
1100
payload = {"position" : pos , "release" : release }
1101
1101
self .send ("SetTBarPosition" , payload )
1102
1102
1103
+ def get_source_filter_kind_list (self ):
1104
+ """
1105
+ Gets an array of all available source filter kinds.
1106
+
1107
+
1108
+ """
1109
+ return self .send ("GetSourceFilterKindList" )
1110
+
1103
1111
def get_source_filter_list (self , name ):
1104
1112
"""
1105
1113
Gets a list of all of a source's filters.
@@ -1311,6 +1319,23 @@ def get_scene_item_id(self, scene_name, source_name, offset=None):
1311
1319
}
1312
1320
return self .send ("GetSceneItemId" , payload )
1313
1321
1322
+ def get_scene_item_source (self , scene_name , scene_item_id ):
1323
+ """
1324
+ Gets the source associated with a scene item.
1325
+
1326
+ :param scene_item_id: Numeric ID of the scene item (>= 0)
1327
+ :type scene_item_id: int
1328
+ :param scene_name: Name of the scene the item is in.
1329
+ :type scene_name: str
1330
+
1331
+
1332
+ """
1333
+ payload = {
1334
+ "sceneItemId" : scene_item_id ,
1335
+ "sceneName" : scene_name ,
1336
+ }
1337
+ return self .send ("GetSceneItemSource" , payload )
1338
+
1314
1339
def create_scene_item (self , scene_name , source_name , enabled = None ):
1315
1340
"""
1316
1341
Creates a new scene item using a source.
@@ -1826,6 +1851,28 @@ def resume_record(self):
1826
1851
"""
1827
1852
self .send ("ResumeRecord" )
1828
1853
1854
+ def split_record_file (self ):
1855
+ """
1856
+ Splits the current file being recorded into a new file.
1857
+
1858
+
1859
+ """
1860
+ self .send ("SplitRecordFile" )
1861
+
1862
+ def create_record_chapter (self , chapter_name = None ):
1863
+ """
1864
+ Adds a new chapter marker to the file currently being recorded.
1865
+
1866
+ Note: As of OBS 30.2.0, the only file format supporting this feature is Hybrid MP4.
1867
+
1868
+ :param chapter_name: Name of the new chapter
1869
+ :type chapter_name: str
1870
+
1871
+
1872
+ """
1873
+ payload = {"chapterName" : chapter_name }
1874
+ self .send ("CreateRecordChapter" , payload )
1875
+
1829
1876
def get_media_input_status (self , name ):
1830
1877
"""
1831
1878
Gets the status of a media input.
0 commit comments