File: basic.ml

package info (click to toggle)
ocaml-metadata 0.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 592 kB
  • sloc: ml: 1,770; makefile: 31; sh: 5
file content (5 lines) | stat: -rw-r--r-- 164 bytes parent folder | download
1
2
3
4
5
(** Basic usage of the library. *)

let () =
  let metadata = Metadata.parse_file "test.mp3" in
  List.iter (fun (k, v) -> Printf.printf "- %s: %s\n" k v) metadata