Timeline.get_track_name#

Timeline.get_track_name(track_type: TrackType, track_index: int) str[source]#

Returns the track name for track indicated by trackType (“audio”, “video” or “subtitle”) and trackIndex.

Parameters:
  • track_type (TrackTpye) – Track type.

  • track_index (int) – 1 <= trackIndex <= GetTrackCount(trackType)

Returns:

track name.

Return type:

str