Skip to main content

write_tags

Function write_tags 

Source
pub fn write_tags(track_path: &Path, edits: &TrackEdits) -> Result<(), String>
Expand description

Write edits back into the audio file’s primary tag. Empty string fields and None numbers remove the corresponding tag entry. Creates a primary tag of the format’s default type if the file has none. This rewrites the file in place — there’s no undo.