Skip to main content

nth_track_id

Function nth_track_id 

Source
pub fn nth_track_id(
    tracks: &[TrackInfo],
    kind: &str,
    external: Option<bool>,
    position: usize,
) -> Option<i64>
Expand description

The mpv id of the position-th track of kind (optionally only external or only embedded ones), in track-list order.

TRACES: UR-020, UR-021 | DR-023, DR-024 | UT-275