from_mp3_file

Function from_mp3_file 

Source
pub fn from_mp3_file<P: AsRef<Path>>(path: P) -> Result<Vec<Chapter>, String>
Expand description

Reads chapters from MP3 file’s ID3 tag frames.

§Example:

let chapters = chapters::from_mp3_file(path).expect("Failed to parse chapters");