package metadata

  1. Overview
  2. Docs

Module Make.ID3v2Source

Sourcemodule R : sig ... end
Sourceval read_size : synch_safe:bool -> R.t -> int
Sourceval read_size_v2 : R.t -> int
Sourceval unterminate : int -> string -> string

Remove trailing nulls.

Sourceval next_substring : int -> ?offset:??? -> string -> int

Find the index of the substring after the first null-terminated substring.

Sourceval normalize_id : string -> string
Sourceval make_recode : (?source:??? -> string -> string) option -> int -> string -> string
Sourceval parse : ?recode:??? -> R.t -> (string * string) list

Parse ID3v2 tags.

Sourceval parse_file : ?recode:??? -> string -> (string * string) list
Sourceval dump : R.t -> string

Dump ID3v2 header.

Sourceval dump_file : string -> string
Sourcetype apic = {
  1. mime : string;
  2. picture_type : int;
  3. description : string;
  4. data : string;
}

APIC data.

Sourcetype pic = {
  1. pic_format : string;
  2. pic_type : int;
  3. pic_description : string;
  4. pic_data : string;
}
Sourceval parse_apic : ?recode:??? -> string -> apic

Parse APIC data.

Sourceval parse_pic : ?recode:??? -> string -> pic