Timeline.delete_track#
- Timeline.delete_track(track_type: TrackType, track_index: int) bool [source]#
Deletes track of trackType (“video”, “subtitle”, “audio”) and given trackIndex.
- Parameters:
track_type (TrackType) – track type
track_index (int) – track index.1 <= track_index <= get_track_count(track_type).
- Returns:
True if successful, False otherwise.
- Return type: