package cue_sheet_maker

  1. Overview
  2. Docs
type t
val create_empty_sheet : file:(string * CueFileFormat.t) -> t

Create an cue sheet representation with just the file name and its format

val string_of_cue_sheet : ?sum:bool -> t -> string

String representation of a cue sheet

if ~sum all the indexes of tracks will be set by adding the offset time of previous tracks. Use ~sum if you set for each track its length

val add_catalog : string -> t -> t

Add a catalog to the sheet. If the catalog already exist, the old value is replaced

val add_cd_text_file : string -> t -> t

Add a cd text file to the sheet. If the cd text file already exist, the old value is replaced

val add_arranger : string -> t -> t

Add an arraanger to the sheet. If the arranger already exist, the old value is replaced

val add_composer : string -> t -> t

Add a composer to the sheet. If the composer already exist, the old value is replaced

val add_disc_id : string -> t -> t

Add a disc id to the sheet. If the disc id already exist, the old value is replaced

val add_genre : string -> t -> t

Add a genre to the sheet. If the genre already exist, the old value is replaced

val add_message : string -> t -> t

Add a message to the sheet. If the message already exist, the old value is replaced

val add_performer : string -> t -> t

Add a performer to the sheet. If the performer already exist, the old value is replaced

val add_songwriter : string -> t -> t

Add a songwritter to the sheet. If the songwritter already exist, the old value is replaced

val add_title : string -> t -> t

Add a title to the sheet. If the title already exist, the old value is replaced

val add_toc_info : string -> t -> t

Add a toc info to the sheet. If the toc info already exist, the old value is replaced

val add_toc_info2 : string -> t -> t

Add a toc info 2 to the sheet. If the toc info 2 already exist, the old value is replaced

val add_size_info : string -> t -> t

Add a size info to the sheet. If the size info talog already exist, the old value is replaced

val add_rem : (string * string) -> t -> t

Add a rem to the sheet. If the rem key already exist, the old value is replaced. All key are set uppercase

val add_track : CueTrack.t -> t -> t

Add a track to the sheet. If the index of the track already exist, the old value is replaced

val export : ?sum:bool -> string -> t -> (unit, exn) Stdlib.result

Write the string representation of a cue sheet to the file output

if ~sum all the indexes of tracks will be set by adding the offset time of previous tracks. Use ~sum if you set for each track its length

See string_of_cue_sheet

  • returns

    unit if sucess or exn if an error occured with the file handling

OCaml

Innovation. Community. Security.