package otaglibc
Module OtaglibcSource
Ocaml bindings to taglib C API.
This bindings don't expose taglib complex properties but provide some functions to handle pictures.
taglib file
Audioproperties type
Picture type
from_filename creates a taglib file from filename. Returns None if the file type cannot be determined, the file cannot be opened or is not valid.
from_filename_with_type is like from_filename but takes the filetype has parameter instead of guessing it.
with_open filename f is file |> from_filename |> Option.map (fun taglib -> f taglib)
with_open_with_type filename filetype f is Option.map f (from_filename_with_type file type')
set_properties taglib key values clears all properties associated with key before setting values for key.
add_picture taglib picture adds picture associated with the complex property PICTURE
remove_pictures taglib removes all values associated with the complex property PICTURE