Function lofty::read_from_path
source · pub fn read_from_path<P>(path: P) -> Result<TaggedFile>where
P: AsRef<Path>,Expand description
Read a TaggedFile from a path
NOTE: This will determine the FileType from the extension
Errors
See:
Examples
use lofty::read_from_path;
let parsed_file = read_from_path(path)?;